Siebel System Administration Guide > Using the Siebel Server Manager Command-Line Interface >
Best Practices Using the Command-Line Interface
Review the following information as recommendations of best practice when using the Server Manager command-line interface.
- Target specific Siebel Servers without using the /s flag:
- Use the
for server siebel_server_name directive in individual commands. Specifying the name of a specific Siebel Server targets the command to only that Siebel Server.
- Use a partial name with the % wildcard character to target the command to all Siebel Servers with names matching the pattern. Only patterns that start or end with the wildcard character are matched; wildcards in the middle of the string are not. For example, the command:
list components for server WF%
lists components for all Siebel Servers with a name beginning with WF.
- Launch srvrmgr using the /s flag for frequent list operations. Parse the resulting data per Siebel Server. Aggregate the list data for the enterprise externally to the srvrmgr process. This method improves performance by keeping srvrmgr from serializing the operations.
- Specify only the columns with data you are actually using with the
show clause. For further information on the show clause, see List Command Configuration.
- Use the /i option to open a single long-running srvrmgr session and send it commands rather than using the /c option. You can also execute commands conditionally from a script using the /i option.
- When using srvrmgr commands from a file or script, use the command
sleep to configure wait periods (in seconds) before the next srvrmgr command. For example, after starting the Siebel Server, use the sleep command to wait until the Siebel Server and its component are running before issuing the next command.
- Use the
read command during an active srvrmgr session to dynamically input srvrmgr commands from a file.
- Specify a value for the parameter TaskTag when starting a new task. This text appears in the
list tasks command if you include the TK_TASKTAG column. For example, enter:
list tasks show TK_TASKTAG
|