BACKGROUND:
When installing the Strategy platform on Linux operating systems, an option is provided to register the processes as services so that they may be started automatically on machine startup and controlled via the operating system's service control functions. Registering services on Linux requires root-level privileges as the service startup scripts will be placed in the /etc/init.d/ folder, so the Strategy installer can only perform the registration when being run as the root user. However, it is possible to manually register the processes as services if the installation is performed as a non-root user following the steps below.
ACTION:
1. Install Strategy products as a non-root user
2. After the installation has completed, copy the desired service scripts from <MSTR_INSTALL>/initd_scripts into the system directory /etc/init.d/. This step will require root-level privileges.
3. Open the script file named Strategy and search for "SVCPREFIX" as shown below:
4. Copy the value of SVCPREFIX and add it to the name of the Strategy service scripts (except for the Strategy script), for example:
mv kafka-zookeeper mstr-amunukun@2018-12-03T11:21:6-kafka-zookeeper
chkconfig --add mstr-amunukun@2018-12-03T11:21:6-kafka-zookeeper
service mstr-amunukun@2018-12-03T11:21:6-kafka-zookeeper status
service Strategy status
service service-name status
service service-name start
service service-name stop
service service-name restart
KB482894