create

This command creates a new server instance.

Syntax

zosadmin create     [--newdir=] [--upgrade=] [--profile=] [--id=] [--grid=] [--user=] [--passwd=] [--rmiport=] [--rmihost=] [--httpport=]       [--adminport=] [--agentport=] [--auditurl=] [--audituser=] [--auditpasswd=] [--cert=] [--key=] [--<hostname>=]

Arguments

hostname

Specify the hostname to use for this server. The default is the system hostname.

Options

-N, --newdir=

The location where the new Orchestrator Server should be installed.

-G, --upgrade

Switch theupgrade behavior for snapshot handling.

-e, --profile=

Create a new instance based on named profile (the default is server).

-i, --id=

Select by kernel ID.

-g, --grid=

Select by grid name.

-u, --user=

Username used in accessing secure remote sites.

-p, --password=

Password used in accessing secure remote sites.

-P, rmiport=

Select by RMI port.

-H, --rmihost=

Select or specify the RMI host (can be different from server host).

-W=, --httpport=

Specify the http port used for the User Portal (the default is 80).

-M=, --adminport=

Specify the http port used for Administrative Information Portal (default 8001).

-A=, --agentport=

Specify the communication port for agent connections (default 8100).

-X=, --auditurl=

Specify the connection URL to a PostgreSQL database (for example, jdbc:postgresql://localhost/matrix_db).

-Y=, --audituser=

Specify the audit database user.

-Z=, --auditpasswd=

Specify the audit database password.

-k=, --cert=

Specify the .pem file containing the new server’s TLS certificate.

-K=, --key=

Specify the .pem file containing the new server’s TLS key.

-v, --verbose

Turns on verbose output during this operation.

-V, --debug

Turns on debug output during this operation.

-h, --help

Displays a help message for this operation.

Examples

Example 1

To create a new server instance in the install directory (default), use the following command:

zosadmin create

Example 2

To create a new server instance using host name myhost.mydomain.com, use the following command:

zosadmin create myhost.mydomain.com  

Example 3

To create a new server instance in the /zos/myserver/ directory, use the following command:

zosadmin create --newdir=/zos/myserver  

Example 4

To create a new upgraded server instance in an existing directory, use the following command:

zosadmin create --newdir=/zos/myserver --upgrade  

IMPORTANT:This command removes previous serve instance data from the directory!