Perform the following steps with super user/root privileges:
For VIP Enterprise Gateway Service:
- Copy vipegconsole.rc from <VRSN_MAUTH_HOME>/server/bin to /etc/init.d.
- Make the script executable by using the following command. This is optional, as the rc files have execute permissions, by default, when created:
chmod
+x /etc/init.d/
vipegconsole
.rc
- Create a start script symlink in the run level rc directory for the required services.rc files.
$ ln -s /etc/init.d/
vipegconsole
.
rc
/etc/rc.d/rc5.d/S999vipegconsole
Note: The run level of the Linux machine should be checked using the command: who --r
- Place the start script symlink in that particular run level rc directory.
- Set VRSN_MAUTH_HOME environment variable, by adding the below lines in vipegconsole.rc file,
VRSN_MAUTH_HOME=<InstallDir>
(For example, if it is default installation, the directory is:/opt/Symantec/VIP_Enterprise_Gateway)
export VRSN_MAUTH_HOME
- Test start/stop of the service manually by calling function one of the following functions:
/etc/init.d/
vipegconsole
.
rc
start
/etc/init.d/
vipegconsole
.
rc
stop
- If the manual tests succeed, the configuration for autostart of services on reboot is considered complete.
For Validation Service:
- Copy <valServer>.rc from <VRSN_MAUTH_HOME>/Validation/servers/<valServer>/logs/ to /etc/init.d.
- Make the script executable by using the following command. This is optional, as the rc files have execute permissions, by default, when created:
chmod +x /etc/init.d/<valServer>.rc
- Create a start script symlink in the run level rc directory for the required services'.rc files.
$ ln -s /etc/init.d/<valServer>.
rc
/etc/rc.d/rc5.d/S999<valServer>
Note: The run level of the Linux machine should be checked using the command: who --r
- Place the start script symlink in that particular run level rc directory.
- Test start/stop of the service manually by calling function one of the following functions:
/etc/init.d/<valServer>.rc start
/etc/init.d/<valServer>.rc stop
- If the manual tests succeed, the configuration for autostart of services on reboot is considered complete.
For SSP IDP Service:
- Copy SSP.rc from <VRSN_MAUTH_HOME>/IDP/services/SSP/logs to /etc/init.d.
- Make the script executable by using the following command. This is optional, as the rc files have execute permissions, by default, when created:
chmod
+x /etc/init.d/SSP.rc
- Create a start script symlink in the run level rc directory for the required services'.rc files.
$ ln -s /etc/init.d/SSP.rc /etc/rc.d/rc5.d/S999SSP
Note: The run level of the Linux machine should be checked using the command: who --r
- Place the start script symlink in that particular run level rc directory.
- Test start/stop of the service manually by calling function one of the following functions:
/etc/init.d/SSP.
rc
start
/etc/init.d/SSP.rc stop
- If the manual tests succeed, the configuration for autostart of services on reboot is considered complete.
For VIPMGR IDP Service:
- Copy VIPMGR.rc from <VRSN_MAUTH_HOME>/IDP/services/VIPMGR/logs to /etc/init.d.
- Make the script executable by using the following command. This is optional, as the rc files have execute permissions, by default, when created:
chmod
+x /etc/init.d/VIPMGR.rc
- Create a start script symlink in the run level rc directory for the required services'.rc files.
$ ln -s /etc/init.d/VIPMGR.rc /etc/rc.d/rc5.d/S999VIPMGR
Note: The run level of the Linux machine should be checked using the command: who --r
- Place the start script symlink in that particular run level rc directory.
- Test start/stop of the service manually by calling function one of the following functions:
/etc/init.d/VIPMGR.
rc
start
/etc/init.d/VIPMGR.rc stop
- If the manual tests succeed, the configuration for autostart of services on reboot is considered complete.
For LDapSync Service:
- For LDapSync service, copy ldapService.rc from <VRSN_MAUTH_HOME>/LdapSync/services/ldapSync/logs to /etc/init.d.
- Make the script executable by using the following command. This is optional, as the rc files have execute permissions, by default, when created:
chmod
+x /etc/init.d/ldapService.rc
- Create a start script symlink in the run level rc directory for the required services'.rc files.
$ ln -s /etc/init.d/ldapService.rc /etc/rc.d/rc5.d/S999ldapService
Note: The run level of the Linux machine should be checked using the command: who --r
- Place the start script symlink in that particular run level rc directory.
- Test start/stop of the service manually by calling function one of the following functions:
/etc/init.d/ldapService.
rc
start
/etc/init.d/ldapService.
rc
stop
- If the manual tests succeed, the configuration for autostart of services on reboot is considered complete.
Additional Configurations for RHEL 7.x
If you have an instance of RHEL 7.x, you must edit the respective script for each service.
Edit the file /etc/init.d/<script_name> and add the following lines:
#!/bin/bash (Note: this line may already exist)
# chkconfig: 2345 11 89
# description: <Starts the appropriate Service>
After you update script as mentioned above, you must additionally run the below command to each script:
'/sbin/chkconfig --add /etc/init.d/<script_name>'