Contact Support

Installing and Managing Services

Installing and Managing Services

After the installation, you need to install the Flix services manually for each VM. For each VM you have, repeat the following steps:

1.   Open a shell with root access to the VM.
2.   Copy the flix_master_service script from the Flix install folder to the init.d folder using the following command:

sudo cp FLIX_ROOT/flixApp/apps/linux/services/flix_master_service /etc/init.d/

Note:  FLIX_ROOT is the installation location specified in the step, and OS is the Operating System you’re currently on.

3.   Navigate to the init.d folder using this command:

cd /etc/init.d/

4.   Add the flix_master_service script to the chkconfig using this command:

sudo chkconfig --add flix_master_service

5.   Turn the chkconfig on for the flix_master_service script using this command:

sudo chkconfig flix_master_service on

6.   You can now start the services for this VM using this command:

sudo ./flix_master_service start

Note:  For more information on the available commands for the Flix service files, refer to the Managing Services Using the Service Files section.

If one or more services fail to start, which is indicated by a [Failed] flag, see the Accessing the Logs On the Servers section for more details.

Note:  See the Status Page section to check the status of each service and restarting them.

Managing Services Using the Service Files

The service files installed in the /etc/init.d folder can be used to stop, start, and restart specific services, which you can't do using the Flix Manager's Service Controller. To use the service files, you need to have a shell with root access to the server on which the services are running, for instance, flix001. To manage the services, do the following:

To query the help for the service file and display which commands can be used, use the following command line:

/etc/init.d/flix_master_service help

If you don't know which service runs on which VM, use the following command line to return the current configuration:

/etc/init.d/flix_master_service --getProcConfig

To query the status of all the services running on the current server, use the following command line:

/etc/init.d/flix_master_service status

To start the File service running on port 35901, use the following command line:

/etc/init.d/flix_master_service -a start -s file_35901

To stop the Nuke service running on port 35910, use the following command line:

/etc/init.d/flix_master_service -a stop -s nuke_35910