Siebel System 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.

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:

    cd \SIEBSRVR_ROOT\bin

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

  2. Execute the srvrmgr program by using flags to specify the parameters that you want:

    srvrmgr flags

    For a list of srvrmgr flags, see Table 22.

  3. After the Siebel Server Manager has started, the prompt changes to:

    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 21 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 21 on a UNIX server, you would enter:

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

Table 21. Example Parameters for Starting the srvrmgr Program
Siebel Gateway Name Server
Enterprise
Siebel Server
User Name
Password

gateway1

enterprise1

server1

sadmin

sadmin

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

Table 22. 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)

No

/c

-c

"command"

Executes a single command (the command must be bounded within double quotes)

No

/e

-e

entrpr_server

Siebel Enterprise Server name

Yes

/g

-g

gateway_server

Network address of the Siebel Gateway Name Server machine

Yes

/h or /?

-h or -?

 

Prints a help/usage message

No

/i

-i

input_file

Gets commands from the input file

No

/k

-k

delimiter

Use delimiter specified to parse columns in output file

No

/l

-l

language

Language code (default is ENU)

No

/m

-m

 

Compression enabled

No

/o

-o

output_file

Logs information generated in interactive mode to the specified output file. The types of information logged include, for example, the command issued, command output, type of task, task status, start time, and end time. Use this flag with either the flag that specifies a command to log (c) or the flag that specifies an input file with numerous commands (i).

No

/p

-p

password

Siebel Server administrator password

Yes

/r

-r

 

Encryption for network packets enabled (default is N)

No

/s

-s

siebel_server

Siebel Server name (the default is all servers). Launching srvrmgr using the /s flag connects the program only with that specific Siebel Server. All commands and user authentication are sent only to that Siebel Server. You cannot change the targeted Siebel Server in this mode.

No

/u

-u

username

Siebel Server administrator username

NOTE:  The srvrmgr program expects the database to store user names in upper case format. User names are automatically converted to upper case during the authentication process and login issues result if database user names are stored in lower case.

Yes

/z

-z

server_group_name

Server group name. Launching srvrmgr using the /z flag connects the program to the specified server group and, as a result, all Siebel Servers assigned to the server group.

For details on managing the assignment of Siebel Servers with server groups, see Server Group Management Commands.

No

Siebel System Administration Guide Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices.