tar -C / -xzvpf /var/tmp/batchrun/batchrun_mas.tgz
cd /etc/merce
ci -l Netconfig.sh (if you check in as root, permissions
and ownership will be changed. Please note them down before
checking it in). Remember that a backup copy
of Netconfig.sh is very important as it is the main
configuration file of this system. Do not proceed
further without checking this file into RCS.
check for the ownership and permissions of
/etc/merce/Netconfig.sh.They have to be the orignal noted
down ownership and permissions.
mkdir -p /opt/merce/data/procstat/
chown bin.merce /opt/merce/data/procstat/
chmod +030 /opt/merce/data/procstat
cd /opt/merce/lib/
ci -l FileSendRecvConfig (if you check in as root,
permissions and ownership will be changed. Please notthem
down before checking it in).
Append this line to
/opt/merce/lib/FileSendRecvConfig
q.*.execbatchrun*
CONFIGURATION OF BATCHRUN ON MERCE SLAVE
cd /var/warehouse/merce/mods/batchrun
scp batchrun.tar root@merce-slave:/var/tmp
ssh root@merce-slave
cd /var/tmp
mkdir batchrun
cd /var/tmp/batchrun
mv /var/tmp/batchrun.tar /var/tmp/batchrun
tar -xvf /var/tmp/batchrun/batchrun.tar
tar -C / -xzvpf /var/tmp/batchrun/batchrun_slv.tgz
cd /etc/merce
ci -l Netconfig.sh (if you check in as root, permissions
and ownership will be changed. Please note them down before
checking it in). Remember that a backup copy
of Netconfig.sh is very important as it is the main
configuration file of this system. Do not proceed
further without checking this file into RCS.
check for the ownership and permissions of
/etc/merce/Netconfig.sh.They have to be the orignal noted
down ownership and permissions.
cd /opt/merce/lib/
ci -l FileSendRecvConfig (if you check in as root,
permissions and ownership will be changed. Please notthem
down before checking it in).
Append this line to
/opt/merce/lib/FileSendRecvConfig
q.*.outputbatchrun*
TESTING OF BATCHRUN ON MERCE INSTALLATION
cd /opt/merce/bin
./batchrun -h | less
Read it as you would read a man page. Execute a
sample script. Remember that any script that you
execute will be executed with root privileges. So
take care of knowing what script you are going to
execute.
The output of the script will be obtained in
/opt/merce/data/procstat. The intimation mails will
be sent by default to netsupport@starcomsoftware.com
If you have any doubts in executing batchrun
please consult Saurabh.