2.2 Getting Started with the zosadmin Command

All zosadmin commands begin with zosadmin on the command line. The general format for a zosadmin command is zosadmin followed by the command name, followed by command line parameters, if needed:

zosadmin [standard_options] command [command_options_and_arguments]

Before you use the zosadmin CLI, make sure that your path is correctly pointing to the PlateSpin Orchestrate /bin directory.

This section includes the following information:

2.2.1 Logging In

Login is required to operate on a running server. The commands start, list, init, and create do not require a login. Use the following syntax to log in:

>zosadmin login -user=username Orhestrator_Server_name
Please enter current password for 'username': *******
Logged into Orchestrate_grid_name> on Orchestrate_Server_name

The login should now be complete.

Login information is stored in the /home directory, so further zosadmin commands use the saved login information. To operate on a different PlateSpin Orchestrate Server, run zosadmin login to log in to the new Orchestrate Server.

2.2.2 Checking Login Status

Enter the following command and parameter to retrieve the status of the current login:

>zosadmin login -c
Currently logged into testgrid on server 'tszen5'

2.2.3 Logging Out

Enter the following command to log out of the Orchestrate Server:

>zosadmin logout
Logged out from testgrid