You can start individual services in IBM® Product Master from
the command \-line.
Before you begin
Before you can start a service, you must:
- Ensure that the service is not already running. See Checking
the status of the system and all services to determine what
services you are currently running.
- Ensure that the machines are listed in the
admin_properties.xml
configuration
file, if you are running services on other machines in a horizontal
clustering environment.
Note: If you start a service with the name of a service that
is already running, the service that is running is first aborted then
restarted.
Procedure
- Ensure that the RMI registry is running.
You
must start the RMI registry before you start any services. To start
the RMI registry, run the svc_control.sh --action=start --svc_name=<rmi
service name>
script.
- Run the shell script of the specified service from the <install
dir>/bin/go directory. For Product Master services,
the svc_control script is useful for displaying
information about the configuration of a service. The
<install
dir>/bin/go/svc_control.sh –action=show_config –svc_name=<svc full
name>
script displays all configuration information that
includes the class path and JVM system properties that are used to
start a service.
- Display a list of the full names for all the services that are
running on your system. Type
svc_control --action=list
.
- Start a service on your system. Type
svc_control --action=start
--svc_name=<full name>
.
Example
In this example, the scheduler service is started and given
the service name sch1.svc_control --action=start --svc_name=sch1_MYHOST
What to do next
You can check the status of the service to ensure that it
is started correctly, see Getting the short status of a service.