B.3.9 possyncimages.pl
The possyncimages.pl script must be run on a Branch Server to download or
update the images from the Administration Server. It uses RSYNC and requires that
the RSYNC service is properly configured and running on the Administration Server.
This script can be run manually, but depending on your system requirements, you can
create a cron job that runs the script every night to keep the images up to date.
Function
possyncimages.pl reads the /etc/SLEPOS/branchserver.confconfigu-
ration file and uses the definitions POS_REMOTE_SYNC_COMMANDS and
POS_LOCAL_SYNC_COMMANDS from that file. POS_REMOTE_SYNC_COMMANDS
contains a list of RSYNC commands that obtain the data from the Administration
Server. These commands are executed first.
On success, the commands in the POS_LOCAL_SYNC_COMMANDS directory are exe-
cuted to update the final destination of the images.
Usage
Run possyncimages.pl on a Branch Server or set up a cron job. A crontab line
for nightly run at 1 am might look like this:
0 1 * * * /usr/sbin/possyncimages.pl
Files
/etc/SLEPOS/branchserver.conf
Point of Service Scripts
217
Need help?
Do you have a question about the LINUX ENTERPRISE 11 - SUBSCRIPTION MANAGEMENT TOOL GUIDE 10-02-2009 and is the answer not in the manual?
Questions and answers