|Oracle® Communications Service Broker System Administrator's Guide
Part Number E29444-01
|PDF · Mobi · ePub|
This chapter describes how to start and stop Processing and Signaling Servers.
After you add a server to a domain, you can start the server. If a domain contains several servers, you need to start each server individually.
To start a Processing Server or a Signaling Server:
Log in to the physical server where your server software is installed.
Change the directory to:
Oracle_home is the Oracle home directory you defined when you installed the product.
./start.sh Server Domain_URI
Server is the server name given when you configured your domain.
Domain_URI is the URI to the domain configuration. Always include initial.zip
If your domain configuration is accessed using the Domain Web server, use the scheme http:// or https:// depending on the security settings.
If your domain configuration is accessed using a shared file system, use the scheme file://.
The following is an example of how the domain configuration is accessed using the Domain Web server:
./start.sh proc_srv_1 https://somewebserver.com:9000/initial.zip
The following is an example of how the domain configuration is accessed using a shared file system:
./start.sh proc_srv_1 file://some_directory/mydomain/initial.zip
In both cases the name of the server is proc_srv_1.
If you are using HTTPS, you are prompted for the keystore password.
To stop a server, you can use one of the following methods:
Using Java MBeans (see "Stopping a Server with Java MBeans")
Using the Scripting Engine (see "Stopping a Server with the Scripting Engine")
Using ManagementAgentMBean, you can stop a server.
To stop a server:
Invoke the following operation of ManagementAgentMBean:
See "ManagementAgentMBean" for more information about this MBean.
You can use the Scripting Engine to invoke the shutdown() operation of ManagementAgentMBean that stops a specified server.
Example 10-1 shows a sample code that stops a server.
<player host="localhost" port="10003" registryPort="10103"> <mbean name="oracle:type=oracle.axia.api.management.agent.ManagementAgentMBean"> <operation name="shutdown"/> </mbean> </player>
See "Using the Scripting Engine to Configure a Domain" for more information on the Scripting Engine.