You can set a crontab to automatically restart VIP Enterprise Gateway services running on Linux machines. The crontab periodically checks the status of your VIP Enterprise Gateway services. If a service is not running, the crontab calls the existing .rc scripts to restart it.
If you stop your VIP Enterprise Gateway machine, the crontab continues to check and restart services after you restart your machine.
To set a cron job to restart services in VIP Enterprise Gateway:
crontab -e
<Day of week (0-7)> <Month (1 - 12)> <Day of month (1 - 31)> <Hour (0 - 23)> <Min (0 - 59)> <path to .rc script>/<.rc script> start
The following table lists the VIP Enterprise Gateway services and the appropriate .rc script to use to restart each service. The table also lists the location of the .rc script, relative to the default installation directory (/opt/Symantec/VIP_Enterprise_Gateway
).
Service |
Path |
Script |
VIP Enterprise Gateway console |
|
|
Validation servers |
|
Use the name of your Validation server. For example, if your Validation server is named ULO, use ULO.rc. |
Self Service Portal IdP |
|
|
VIP Manager IdP |
|
|
LDAP Synchronization |
|
|
Attached is a file with example crontab code that checks all VIP Enterprise Gateway services every 30 minutes, and restarts any services that are not running. The example crontan code makes the following assumptions:
Note: When creating your crontab, use the correct values for your installation.
/opt/Symantec/VIP_Enterprise_Gateway
).