Creates one or more application server or dynamic application server objects. See Section C.1.3, “Application Server Object” and Section C.1.13, “Dynamic Application Server Object”.
For an application server object, use the following syntax:
tarantella object new_host { --nameobj
[ --addressaddress
] [ --descriptiontext
] [ --ntdomaindom
] [ --available true|false ] [ --auth trytta|nevertrytta|default ] [ --locationlocation
] [ --hostlocalell_tt
] [ --maxcountcount
] [ --userassignspec
] } | --filefile
For a dynamic application server object, use the following syntax:
tarantella object new_host { --nameobj
--dynamic [ --descriptiontext
] [ --auth trytta|nevertrytta|default ] [ --vsbclassclassname
] [ --vsbparamsparams
] } | --filefile
The following table shows the available options for this command.
Option | Description | More Information |
---|---|---|
| The names of objects you want to add assigned applications links for. | |
| Network address of the application server. | |
| Create a dynamic application server. | |
| A text description of the object. | |
| The Windows domain used for application server authentication. | |
| Specifies whether applications can run on this application server. | |
| Specifies the policy for authenticating users on the application server, if no password is already cached for that server. | |
| String describing the location of the application server. Used for load balancing. | |
| Default language setting for the application server. | |
| Fully-qualified class name for the virtual server broker (VSB). Dynamic application servers only. | |
| Parameters passed to the VSB. Dynamic application servers only. | |
| Maximum number of application sessions that can be run concurrently on the application server | |
| Specifies the users that can run applications on the application server | |
| A file containing a batch of commands to add assigned applications links. |
Make sure you quote any object names containing spaces, for
example, "o=Example"
.
The following example creates a new application server object with
common name paris
, belonging to the
organizational unit object Finance
, which must
already exist.
$ tarantella object new_host \ --name "o=appservers/ou=Finance/cn=paris" \ --address paris.example.com \ --auth default \ --location Europe-north
The following example creates a new dynamic application server
object MyBroker
that uses the User-defined
SGD broker.
$ tarantella object new_host --dynamic \ --name "o=appservers/cn=MyBroker" \ --vsbclass com.sun.sgd.vsbim.UserDefinedSGDBroker
The following example creates a new dynamic application server
object MyVDIBroker
that uses the VDI broker. A
list of preferredhosts
is configured for the
broker.
$ tarantella object new_host --dynamic \ --name "o=appservers/cn=MyVDIBroker" \ --vsbclass com.oracle.sgd.vsbim.OracleVDIVirtualServerBroker \ --vsbparams "preferredhosts=\"https://vdihost1.com:1802/client,https://vdihost2.com:1802/client, https://vdihost3.com:1802/client\""
The following example creates three application server objects
using a batch script defined as a “here-document”.
Alternatively, you can store the batch script in a file, and
reference it using --file
filename
.
$ tarantella object new_host --file - <<EOF --name "o=appservers/ou=Finance/cn=paris" --address paris.example.com --name "o=appservers/cn=brussels" --address brussels.example.com --name "o=appservers/ou=IT/cn=london" --address london.example.com EOF