Testing Siebel Business Applications > Keywords Reference > Keywords Supporting Tools and Server Configuration >

ServerConfig


You use the ServerConfig keyword to configure and start the Siebel server.

Signature

The ServerConfig keyword supports the following signatures:

ServerConfig(Restart)

ServerConfig(commandsFile.txt)

where:

  • Server is the server machine where the Siebel Server is running. The machine details are available in the Server section of the INI file.
  • commandsFile.txt is the text file containing the list of commands to be executed in the Server Manager.

NOTE:  If you use the Launch keyword after the ServerConfig keyword, then ClearBrowser must be used in the Launch after ServerConfig.

Test Harness Folder Structure

All Perl files and command (cmd.txt) files related to the ServerConfig keyword must be placed in serverConfig folder on the Test Harness machine.

The Exefiles folder must be placed on the Test Harness machine.

Actions

ServerConfig is a composite keyword, which includes the following:

  1. Start server manager.
  2. Command to be executed.
  3. Stop the World Wide Web publishing service.
  4. Stop the gateway server.
  5. Stop the Siebel Server.
  6. Start the gateway server.
  7. Start the Siebel Server.
  8. Start the World Wide Web publishing service

The following procedure shows you how to start the server.

To start the server

  1. Stop the World Wide Web publishing service.
  2. Stop the gateway server.
  3. Stop the Siebel Server.
  4. Start the gateway server.
  5. Start the Siebel Server.
  6. Start the World Wide Web publishing service.

INI File Structure

An example of the INI file structure is as follows:

[SERVER] - WINDOWS

SERVER_MACHINE=machine name

SERVER_LOGIN=ORADEV\\userid|password

SERVER_OS_TYPE=WINDOWS

SERVER_DB_TYPE=MSSQL

SERVER_DB_NAME=db name

DBSERVER_AND_PORT=dbservername,portnumber

DB_TABLE_OWNER=XYZ

DBSERVER_LOGIN=user1|user2

CLIENT_MACHINE=machine name

ENTSERVER_AND_PORT=servername:port

SERVER_PATH = C:\\build\\ses\\siebsrvr\\BIN

[PERLPATH]

PERL_PATH= \\\\servername\\install\\PERL_UTILS\\Perl1\\bin\\perl.exe

Examples

The following table describes how to use the InvokePerl keyword when configuring Siebel Tools and Siebel Server.

Target Object
Inputs
Closing Action
Comments

 

Restart

 

Start the Server.

 

cmd.txt

 

Connect to the server manager and execute the commands in the cmd.txt file.

 

Restart|cmd.txt

 

Connect to the server manager and execute the commands in the cmd.txt file and start the Server.

Testing Siebel Business Applications Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices.