Siebel Server Administration Guide > Using the Siebel Server Manager Command-Line Interface >

Starting the Siebel Server Manager Command-Line Interface


This chapter describes how to use the Siebel Server Manager command-line interface, which is available on both the Windows and UNIX environments.

The command-line interface of the Siebel Server Manager is the srvrmgr program.

NOTE:  The srvredit and srvrupg programs are not supported in 6.x and later releases. The functionality that existed in these programs has been added to the Siebel Server Manager GUI and command-line interfaces.

To start the srvrmgr program

  1. For Windows servers only: at the DOS prompt, change to the \bin subdirectory within the Siebel Server root directory:
  2. cd \siebel_server_root\bin

    NOTE:  Only perform this step if this Siebel Server is Windows-based.

  3. Execute the srvrmgr program by using flags to specify desired parameters:
  4. srvrmgr flags

    For a list of srvrmgr flags, see Table 11.

    NOTE:  You cannot use the Uniform Naming Convention (UNC) in the Siebel Server Manager command when specifying the path and machine names.

  5. After the Siebel Server Manager has started, the prompt changes to:
  6. srvrmgr:server_name>

    The server_name parameter appears in the prompt only if you executed the srvrmgr program by specifying a Siebel Server using the -s flag, or after specifying a Siebel Server using the set server command.

For example, to start the srvrmgr program using the parameters specified in Table 10 on a Windows server, you would enter:

srvrmgr /g gateway1 /e enterprise1 /s server1 /u sadmin /p sadmin

To start the srvrmgr program using the parameters specified in Table 10 on a UNIX server, you would enter:

srvrmgr -g gateway1 -e enterprise1 -s server1 -u sadmin -p sadmin

Table 10.  Example Parameters for Starting the srvrmgr Program
Siebel Gateway
Enterprise
Siebel Server
User Name
Password
gateway1
enterprise1
server1
sadmin
sadmin

Table 11 lists the command-line flags available for the srvrmgr program.

Table 11.  Command-Line Flags for srvrmgr 
Windows Flag
UNIX Flag
Parameter
Description
Required
/b
-b
 
Batch mode (use with /i to indicate exit when an error is encountered)
N
/c
-c
"command"
Executes a single command (the command must be bounded within double quotes)
N
/e
-e
entrpr_server
Siebel Enterprise Server name
Y
/g
-g
gateway_server
Network address of the Siebel Gateway machine
Y
/h or /?
-h or -?
 
Prints a help/usage message
N
/i
-i
input_file
Gets commands from the input file
N
/k
-k
delimiter
Use delimiter specified to parse columns in output file
N
/l
-l
language
Language code (default is ENU)
N
/m
-m
 
Compression enabled
N
/o
-o
output_file
Logs information of server process (such as type of task, task number, task status, start and end time) to the specified file
N
/p
-p
password
Siebel Server administrator password
Y
/r
-r
 
Encryption for network packets enabled (default is N)
N
/s
-s
siebel_server
Siebel Server name (the default is all servers)
N
/u
-u
username
Siebel Server administrator username
Y


 Siebel Server Administration Guide 
 Published: 23 June 2003