Professional Documents
Culture Documents
/bin/ksh
# set -x
. /nsr/scripts/.profile
. /root/.profile
echo "Backup clients with savepnpc as backup command have a dependency on the
groups they belong to. Currently we have five clients that use savepnpc. Below is
the list of those clients and the groups they should belong to. If their backups
are run as part of any other group, then those backups are NOT valid. If you are
configuring any new clients with savepnpc, then please inform Praveen Tummala to
update the list.
This script is now checking whether savepnpc clients are indeed assigned to the
groups that they should belong to. If there are any descrepencies, then please
investigate why those descrepencies happened and fix. Contact Praveen Tummala if
you have any questions.
"
for i in mv3lenco01prv-dmz.smrc.sidra.org mv3lmlnm01prv-dmz.smrc.sidra.org
mv3lmlnm01tev-dmz.smrc.sidra.org mv3lmlnm01trv-dmz.smrc.sidra.org
do
EXPECTED_GROUP1="MV3_FS_NWCL_018_D;"
EXPECTED_GROUP2="MV3_FS_NWCL_018_M;"
EXPECTED_GROUP3="MV3_FS_NWCL_018_Y;"
done
for i in mv3wexaa01prvc2-bkp.smrc.sidra.org
do
EXPECTED_GROUP1="MV3_FS_NWCL_020_D;"
EXPECTED_GROUP2="MV3_FS_NWCL_020_M;"
EXPECTED_GROUP3="MV3_FS_NWCL_020_Y;"
done