Quote:
Originally Posted by
nanz143
Hi, Earlier we used to reboot servers based on adhoc request, never checked anything on it pre-reboot., But now i need to reboot regularly but most of the info is not available, I need to know want to make sure that server to be rebooted without any issues, so I want to do few prechecks which will tell me that server is good to be rebooted. I have given few points up to my knowledge. please add up other points and procedure 1. How to see what apps are running them. -- ps -ef will give all running, is there any other way. 2. How to see what MQ's / DB's/ SANconnections are connected to them. 3. what prechecks/ post checks like all SAN connections, DB connections etc... on server side to be made so that the server reboot is done properly Please suggest me. Thanks in Advance !!
Hello nanz143,
It completly depends on either you are root or you are from a application team. As per my knowledge most of teams they will have their own user accounts they will be super users of their application but they wouldn't have any
root access over server(Again it depends on team's work and their project requirement). So if you are
root then you can check what ever is currently running on server by
ps -ef and can contact application teams for their checkes before and after reboot activity(So that in case after activity if they found any issues you can sort it out.). If you are
root you should certainly do some checks before activity and after activity. Some of them are as follows.
1- You can make sure all the
root owned services eg.
sendmail etc should be up and running if they were running before your activity.
2- Make sure about all the
mount points all are there before and after reboot. Sometimes if our
/etc/fstab (incase of Linux) is not proper so we may loose mount points after reboot.
3- One more check you can make a check for all the mount points permissions, not often but sometimes I have seen the permissions issues, means they may change to root.
4- Coordinate with different applications teams before and after reboot(who ever has their services or using the server for their application) and make sure All is Well from their side too.
5- Add more points according to your project requirement too.
Hope this helps, you can search this forum and can get lots of suggestions on how to set up monitoring for different checks easily. Kindly let me know if you have any queries.
Thanks,
R. Singh