Creates one or more group objects. See Section C.1.10, “Group Object”.
tarantella object new_group { --nameobj
[ --descriptiontext
] [ --memberobj
... ] [ --ldapusersuser_dn
... ] [ --ldapgroupsgroup_dn
... ] [ --ldapsearchsearch_string
... ] } | --filefile
The following table shows the available options for this command.
Option | Description | More Information |
---|---|---|
| The name of the group object. | |
| A text description of the object. | |
| Member of the group object. | |
| Assigns the application to the specified LDAP users. | |
| Assigns the application to the specified LDAP groups. | |
| Assigns the application to the users that match the LDAP search criteria. | |
| A file containing a batch of commands to configure application server load balancing. |
To batch-create multiple objects, use the
--file
option. Use the other
options to create a single object.
The following example creates a new group object with common name
WinHosts
, belonging to the organization object
appservers
. The group's members are the
application server objects for the application servers rome,
brussels, and berlin.
$ tarantella object new_group \ --name "o=appservers/cn=WinHosts" \ --member "o=appservers/ou=Sales/cn=rome" \ "o=appservers/cn=brussels" \ "o=appservers/ou=Marketing/cn=berlin"
The following example creates three group objects using a batch
script defined as a “here-document”. The groups have
no members. You can use Section D.29, “tarantella object add_member” to
add members later from the command line. You can alternatively
store the batch script in a file, and reference it using
--file
filename
.
$ tarantella object new_group --file - <<EOF --name "o=appservers/cn=WinHosts" --name "o=appservers/cn=UNIXHosts" --name "o=applications/cn=Applications" EOF