- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- RDIST tool notify option
Operating System - HP-UX
1752633
Members
5899
Online
108788
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 10:02 PM
тАО08-20-2007 10:02 PM
RDIST tool notify option
Dear All,
I am using Rdist to replicate some directories from one AIX server (say ukblx157) to another AIX server (say ukapx063).
Rdist tool has a option called notify which sends mail after successfull completion of the replication activity & it also send mail in case of any error.
The problem with it is that the subject line of the alert mail generated is fixed (e.g. Files updated by rdist from ukblx157 to ukapx063)
I want to know is there any way/option to change this?
Regards,
Vishal
I am using Rdist to replicate some directories from one AIX server (say ukblx157) to another AIX server (say ukapx063).
Rdist tool has a option called notify which sends mail after successfull completion of the replication activity & it also send mail in case of any error.
The problem with it is that the subject line of the alert mail generated is fixed (e.g. Files updated by rdist from ukblx157 to ukapx063)
I want to know is there any way/option to change this?
Regards,
Vishal
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 10:23 PM
тАО08-20-2007 10:23 PM
Re: RDIST tool notify option
http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V40G_HTML/MAN/MAN1/0305____.HTM
u need to change distfile
u need to change distfile
It's kind of fun to do the impossible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2007 01:44 AM
тАО08-21-2007 01:44 AM
Re: RDIST tool notify option
I use rdist - but notify like this:
Root cron:
# Copy prdadm across to the DR site.
05 01 * * * /app/admin/drp/update-binaries.sh
# cat /app/admin/drp/update-binaries.sh
#! /bin/sh
# Keep the DRP copy of the prdadm up-to-date.
# Currently the files are in:
#
# /home/prdadm/DR
#
# See the rdist(1M) distfile for a list of exclusions.
DRPDIR=/app/admin/drp
DRPHOST=svr031
HOST=`/usr/bin/uname -n`
PRD=`cmviewcl |grep prddbci |awk '{print $5}'`
if [ "$HOST" = "$PRD" ]
then
mount | grep /home > /dev/null 2>&1
if [ $? -eq 0 ]
then
for vg in `ls -d /dev/vg6* |awk -F/ '{print $3}'`
do
/usr/sbin/vgexport -p -s -v -m /home/prdadm/DR/$vg.map /dev/$vg
done
cp -p /etc/cmcluster/PRDDBCI/prddbci.cntl /home/prdadm/DR/
cp -p /etc/cmcluster/PRDDBCI/prddbci.cntl.full /home/prdadm/DR/
cp -p /etc/cmcluster/PRDDBCI/prddbci.cntl.mountonly /home/prdadm/DR/
( su - prdadm -c "rdist -f $DRPDIR/distfile prdadm"; ) 2>&1 |\
tee $DRPDIR/drp.log 2>&1 |\
mailx -s "prdadm DRP rdist output" sysadm
fi
fi
# cat /app/admin/drp/distfile
PRDDR = ( svr031 )
#
# File systems to be copied over to the DR host.
# Don't use -R in install - so as not to remove files on destination host
PRDADM = /home/prdadm
prdadm: ( ${PRDADM} ) -> ( ${PRDDR} )
install -w ;
Rgds...Geoff
Root cron:
# Copy prdadm across to the DR site.
05 01 * * * /app/admin/drp/update-binaries.sh
# cat /app/admin/drp/update-binaries.sh
#! /bin/sh
# Keep the DRP copy of the prdadm up-to-date.
# Currently the files are in:
#
# /home/prdadm/DR
#
# See the rdist(1M) distfile for a list of exclusions.
DRPDIR=/app/admin/drp
DRPHOST=svr031
HOST=`/usr/bin/uname -n`
PRD=`cmviewcl |grep prddbci |awk '{print $5}'`
if [ "$HOST" = "$PRD" ]
then
mount | grep /home > /dev/null 2>&1
if [ $? -eq 0 ]
then
for vg in `ls -d /dev/vg6* |awk -F/ '{print $3}'`
do
/usr/sbin/vgexport -p -s -v -m /home/prdadm/DR/$vg.map /dev/$vg
done
cp -p /etc/cmcluster/PRDDBCI/prddbci.cntl /home/prdadm/DR/
cp -p /etc/cmcluster/PRDDBCI/prddbci.cntl.full /home/prdadm/DR/
cp -p /etc/cmcluster/PRDDBCI/prddbci.cntl.mountonly /home/prdadm/DR/
( su - prdadm -c "rdist -f $DRPDIR/distfile prdadm"; ) 2>&1 |\
tee $DRPDIR/drp.log 2>&1 |\
mailx -s "prdadm DRP rdist output" sysadm
fi
fi
# cat /app/admin/drp/distfile
PRDDR = ( svr031 )
#
# File systems to be copied over to the DR host.
# Don't use -R in install - so as not to remove files on destination host
PRDADM = /home/prdadm
prdadm: ( ${PRDADM} ) -> ( ${PRDDR} )
install -w ;
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP