Руководство Разработчика для Cisco Cisco Workload Automation 6.3

Скачать
Страница из 64
11
Introduction
Command Line Interface
cd /d C:\Program Files\TIDAL\TESCmdLine\bin
Press the E
NTER
 key and your prompt becomes the following:
C:\Program Files\TIDAL\TESCmdLine\bin>
3.
Enter 
SACmd and then the command and press the E
NTER
 key. The command executes and you are returned to the 
prompt.
C:\Program Files\TIDAL\TESCmdLine\bin>
For example,
C:\Program Files\TIDAL\TESCmdLine\bin\>SACmd status -i 8
Multiple Command Mode
Using the multiple command mode, you can enter CWA commands without typing 
SACmd each time. 
To enter multiple command mode:
1.
Open a command prompt window by selecting 
Start>Programs>Accessories>Command Prompt
.
2.
Change directories by entering the following (if you used the default location for files during installation) after the 
C:\> prompt:
cd /d C:\Program Files\TIDAL\TESCmdLine\bin
Press the 
Enter
 key and your prompt becomes the following: 
C:\Program Files\TIDAL\TESCmdLine\bin>
3.
Type 
SACmd and press the E
NTER
 key again.
The prompt changes to 
SACmd> and remains SACmd> until you exit. You are now in program’s multiple command 
mode. You can enter CWA commands without preceding them with 
SACmd. For example, entering a command from 
this mode looks like this:
SACmd>status -i 8
To exit, enter 
EXIT
 
and press the
 
E
NTER
 
key.
Command Line Interface
Note: 
Verify the Master and Client Manager are up and running before using the Command Line program.
Note: 
Before using sacmd <command>, you can set -persist to save the given URL, user and password in an encrypted 
file in the user's home directory, so that next time saCmd is started, the URL, user and password will not have to be 
specified. For further information on on command arguments, refer to the help by running sacmd -help from the bin 
directory of the Command Line Program home.
Note: 
Once you have entered a SACmd session, you can enter help for an understanding of available commands. For 
example, SACmd>help.
To start the CWA command line interface:
1.
Enter 
SACmd at an MSDOS command prompt.
The general format for using 
SACmd is as follows:
SACmd command -option1 Argument1 -option2 “Argument 2”