Strategy Intelligence Server Universal can be restarted by the Strategy Listener service, which has a built in restart logic that monitors the server for unexpected shutdowns.
For this functionality to be enabled, the following must be true:
- Strategy Intelligence Server must have been registered as a service.
- The Listener service must be running.
- The Restarter option must be selected in the Strategy Service Manager.
To enable this functionality, follow the steps below:
- To ensure that Strategy Intelligence Server has been registered as a service run the following command:
mstrctl -s IntelligenceServer gs
- The service status is returned, as shown below:
<status>
<computer_name>ts-aixp5-1</computer_name>
<login>root</login>
<process_id>1167544</process_id>
<process_creation_time>2010-05-31 20:53:34.000Z</process_creation_time>
<state can_be_paused="0">running</state>
<execution_mode>service</execution_mode>
<version_info>
<file_version>8.1.000.149</file_version>
<file_description>8.1.000.149</file_description>
<company_name>Strategy Incorporated</company_name>
<original_filename>shr.o</original_filename>
<product_name>Strategy Intelligence Server</product_name>
<product_version>8.1.000.149</product_version>
<legal_copyright>Copyright (c) 2000-2005 Strategy Incorporated. All rights reserved.</legal_copyright>
<legal_trademarks>Strategy (r) is a registered trademark of Strategy Incorporated</legal_trademarks>
<build_machine_name>aix_build2</build_machine_name>
</version_info>
<application>
<version>8.1.000.149</version>
<tcp_port_number>31621</tcp_port_number>
</application>
</status>
- If Strategy Intelligence Server has previously been registered as a service, the mode specified in will be 'service'.
Un-registering Intelligence Server as a service and then restarting the server will change the to 'interactive'. In other words, status is only updated once the Intelligence Server is restarted after registering or un-registering Intelligence Server as a service.
- Check that the Strategy Listener service is running. This can be done by running the following command:
mstrctl -s Listener gs
- Again, this will return the status for the Listener service. Additionally, if desired, the Listener service can also be registered so it will start up on machine reboot automatically. This can be done in a similar manner as for Strategy Intelligence Server by using the following command:
mstrctl -s Listener rs
- Ensure that the Re-starter option is enabled, and, if needed, enable it in the Service Manager, as shown below: