This command creates a new server instance.
Enter the command using the syntax shown below. Available options are shown in brackets.
zosadmin create [--newdir=] [--upgrade=] [--profile=] [--id=] [--grid=] [--clusterhost=] [--user=] [--passwd=] [--rmiport=] [--rmihost=] [--httpport=] [--adminport=] [--agentport=] [--auditurl=] [--audituser=] [--auditpasswd=] [--auditdriver=] [--cert=] [--key=] [<hostname>]
Specify the hostname to use for this server. The default is the system hostname.
When you add an option, use the syntax in the command line as shown above (where options are shown in their long form). Short and long options for this command are listed below.
The location where the new Orchestration Server should be installed.
Switch the upgrade behavior for snapshot handling.
Specifically, this command removes everything from the server instance directory except the logs/, dataGrid/, and snapshot/ sub-directories. It then invokes zosadmin upgrade to apply XSL transforms on the /snapshot directory. This last action might be a problem if you want more control over where your snapshot is stored: the --upgrade option assumes that the snapshot exists in the /var/opt/novell/zenworks/zos/server/<snapshot_default_location>.
If you want more control or flexibility over where you store the snapshot, use the zosadmin upgrade command and specify the location of the /snapshot directory.
When you use either this command or the zosadmin upgrade command, you need to follow it with the zosadmin start --upgrade command, optionally specifying the location of the upgraded /snapshot directory to complete the upgrade.
NOTE:We recommend that the zosadmin create --upgrade command be used only by advanced users. For most upgrade scenarios, you should use the config or guiconfig scripts for upgrading. For more information, see Upgrading Orchestration Components
in the NetIQ Cloud Manager Installation Guide.
Quietly accept automatic upgrade of existing agents.
If this parameter appears on the command line, it causes the server to automatically accept agent upgrade requests from old agents. This flag is set by the config and guiconfig scripts if the person doing the upgrade/install checks the
check box while using the configuration tools.Create a new instance based on named profile (the default is server).
Select by kernel ID.
Select by grid name.
Hostname of virtual cluster IP resource (for High Availability configuration).
Username used in accessing secure remote sites.
Password used in accessing secure remote sites.
Select by RMI port.
Select or specify the RMI host (can be different from server host).
Specify the http port used for the Server Portal (the default is 80).
Specify the http port used for Administrative Information Portal (default 8001).
Specify the communication port for agent connections (default 8100).
Specify the communication port for agent TLS connections (default 8101).
Specify the connection URL to a PostgreSQL database (for example, jdbc:postgresql://localhost/zos_db).
Specify the audit database user.
Specify the audit database password.
Specify the audit database driver.
Specify the .pem file containing the new server’s TLS certificate.
Specify the .pem file containing the new server’s TLS key.
Turns on verbose output during this operation.
Turns on debug output during this operation.
Displays a help message for this operation.
To create a new server instance in the install directory (default), use the following command:
zosadmin create
To create a new server instance using host name myhost.mydomain.com, use the following command:
zosadmin create myhost.mydomain.com
To create a new server instance in the /zos/myserver/ directory, use the following command:
zosadmin create --newdir=/zos/myserver
To create a new upgraded server instance in an existing directory (/zos/myserver/), use the following command:
zosadmin create --newdir=/zos/myserver --upgrade
IMPORTANT:This command removes the previous server instance data from the directory.
To create an upgraded server and reuse saved tls certificates, use the following command:
zosadmin create --newdir=/zos/myserver --upgrade --cert=/tls/cert.pem --key=/tls/private.pem