HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail activation when mcsg nodes fail over
Operating System - HP-UX
1834696
Members
2393
Online
110069
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
03-05-2003 10:36 PM
03-05-2003 10:36 PM
Hi All,
Need a big favour, I have two machines here now with service guard configured. How do i configure the sendmail to send a mail to a particular person through exchange server. eg a email sent to my account joyce@hp.com when the nodes fail over.
How do i write the script as well as activate/configure the sendmail for this.
Thanks
Joyce
Need a big favour, I have two machines here now with service guard configured. How do i configure the sendmail to send a mail to a particular person through exchange server. eg a email sent to my account joyce@hp.com when the nodes fail over.
How do i write the script as well as activate/configure the sendmail for this.
Thanks
Joyce
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 11:41 PM
03-05-2003 11:41 PM
Solution
Hi Joyce,
How about:
configure your sendmail config files (sendmail.cf, etc) to be on a shared LV, say /var/opt/sendmail. Then create a symlink:
/etc/mail -> /var/opt/sendmail
That way your sendmail config is independent of the node that the cluster is running on.
Then in the control.sh, add a line in the start section to mail you:
echo "Node $(hostname) starting cluster at $(date)" | mailx -s "Cluster Start" joyce@hp.com
rgds, Robin
How about:
configure your sendmail config files (sendmail.cf, etc) to be on a shared LV, say /var/opt/sendmail. Then create a symlink:
/etc/mail -> /var/opt/sendmail
That way your sendmail config is independent of the node that the cluster is running on.
Then in the control.sh, add a line in the start section to mail you:
echo "Node $(hostname) starting cluster at $(date)" | mailx -s "Cluster Start" joyce@hp.com
rgds, Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 11:43 PM
03-05-2003 11:43 PM
Re: sendmail activation when mcsg nodes fail over
hi
1. if you have an exchange server, point the DS (smarthost) entry in your sendmail.cf to the exchange server. restart sendmail and see that you are able to send mails with the command
cat /etc/hosts | mailx -s "Test" joyce@hp.com
2. write a cron job to run cmviewcl and and if the node is down, send a mail to the user. also write it as flag somewhere so that it doesn't keep on sending mails as long as the node is down. and once the node comes up, delete the flag. dont know an easier way of identifying a node switch over.
3. if you want to be indicated whenever there is a package switch over, add it on to the package control script, in the customer defined run and halt functions.
hth
-balaji
1. if you have an exchange server, point the DS (smarthost) entry in your sendmail.cf to the exchange server. restart sendmail and see that you are able to send mails with the command
cat /etc/hosts | mailx -s "Test" joyce@hp.com
2. write a cron job to run cmviewcl and and if the node is down, send a mail to the user. also write it as flag somewhere so that it doesn't keep on sending mails as long as the node is down. and once the node comes up, delete the flag. dont know an easier way of identifying a node switch over.
3. if you want to be indicated whenever there is a package switch over, add it on to the package control script, in the customer defined run and halt functions.
hth
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP