Registering Additional CoreServers, CoreServer loadbalancer, and JBoss as Windows Services
Use the following procedures to register additional coreServers, CoreServer loadbalancer, and JBoss as Windows services.
|
The same user who installed Servigistics InService should be used to start all services.
|
Registering CoreServer as a Windows Service
1. Navigate to the following location: /SW/System/Core
2. Run the following command, replacing the path variables with values appropriate for your system:
CoreServer.exe -i -n D:\ptc\InService\InS_SW\Config\System\Config\Core\serverCfg.xml -ENIGMA_HOME <Enigma Home path> -ENIGMA_BIN_HOME <Enigma Bin Home path> -ENIGMA_CONFIG_HOME <Enigma Bin Home path> -ENIGMA_DATA_HOME <Enigma Data Home path> -ENIGMA_LOG_HOME <Enigma Log Home path> -ENIGMA_WORK_HOME <Enigma Work Home path>
For example:
CoreServer.exe -i -n D:\ptc\InService\InS_SW\Config\System\Config\Core\serverCfg.xml -ENIGMA_HOME D:\ptc\InService\InS_SW\SW -ENIGMA_BIN_HOME D:\ptc\InService\InS_SW\SW -ENIGMA_CONFIG_HOME D:\ptc\InService\InS_SW\Config -ENIGMA_DATA_HOME //ppdcsv-slm02d/Shared_Data/InS_Data/Data -ENIGMA_LOG_HOME D:\ptc\InService\InS_SW\Log -ENIGMA_WORK_HOME \\ppdcsv-slm02d\Shared_Data\InS_Data\Work\System\Work\Core\ppdcsv-slm03d
3. If there are multiple CoreServers, use the following command to create separate Windows services for additional coreServers and ServerCFG.xml files, replacing the path variables with values appropriate for your system:
CoreServer.exe -i –n01 D:\ptc\InService\InS_SW\Config\System\Config\Core\serverCfg01.xml -ENIGMA_HOME <Enigma Home path> -ENIGMA_BIN_HOME <Enigma Bin Home path> -ENIGMA_CONFIG_HOME <Enigma Bin Home path>-ENIGMA_DATA_HOME <Enigma Data Home path> -ENIGMA_LOG_HOME <Enigma Log Home path> -ENIGMA_WORK_HOME <Enigma Work Home path>
Registering Core CMI as a Windows Service
1. Navigate to the following location: /SW/System/Core
2. Run the following command, replacing the path variables with values appropriate for your system:
CoreServer.exe -i -nCMI D:\ptc\InService\InS_SW\Config\System\Config\Core\serverCMICfg.xml -ENIGMA_HOME <Enigma Home path> -ENIGMA_BIN_HOME <Enigma Bin Home path> -ENIGMA_CONFIG_HOME <Enigma Bin Home path> -ENIGMA_DATA_HOME <Enigma Data Home path> -ENIGMA_LOG_HOME <Enigma Log Home path> -ENIGMA_WORK_HOME <Enigma Work Home path>
Registering CoreServer loadbalancer as a Windows Service
1. Open the loadbalancer.bat file.
2. Set the following parameters:
◦ INSTALL_AS_SERVICE=1
◦ UNINSTALL_SERVICE=0
3. Run loadbalancer.bat from a command prompt.
Registering JBoss as a Windows Service
1. Navigate to the following location: /SW/System/Wildfly/bin/service
2. Run the following command:
service.bat install /envPath {Path for SW directory } /serviceName "JBoss Server"