Server health Checks pre & post Rebooting

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Server health Checks pre & post Rebooting
# 1  
Old 11-10-2014
Server health Checks pre & post Rebooting

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 !!
# 2  
Old 11-10-2014
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

Last edited by RavinderSingh13; 11-10-2014 at 01:20 AM.. Reason: Added one more point
This User Gave Thanks to RavinderSingh13 For This Post:
# 3  
Old 11-10-2014
Thanks Singh, I am not from app team, so will check with for application team for their apps.
I have root access, so will need to do pre-checks on server like as you said, send mail,mount points. can you help me if there are any other important things.

Also I dint understand this can you give some light here.. Sometimes if our
Code:
/etc/fstab

(incase of Linux) is not proper so we may loose mount points after reboot.
# 4  
Old 11-10-2014
Quote:
Originally Posted by nanz143
Thanks Singh, I am not from app team, so will check with for application team for their apps.
I have root access, so will need to do pre-checks on server like as you said, send mail,mount points. can you help me if there are any other important things.

Also I dint understand this can you give some light here.. Sometimes if our
Code:
/etc/fstab

(incase of Linux) is not proper so we may loose mount points after reboot.
Hello nanz143,

I mean to say here /etc/fstab the file is read by the mount command, which happens automatically at boot time to determine the overall file system structure, and thereafter when a user executes the mount command to modify that structure. So if we will miss a mount points entry in the file mounts which ever are NOT present in it will not come up automatically after reboot.

Hope this helps.

Thanks,
R. Singh
This User Gave Thanks to RavinderSingh13 For This Post:
# 5  
Old 11-10-2014
Thanks singh...
# 6  
Old 11-11-2014
Go for a monitoring system!
Like the free Xymon or Nagios.
In the monitoring system, you watch your critical processes, disks, DB-specific tests, ...
It will inform you if anything important is missing or wrong - always, not only after a system reboot.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Network connectivity Pre checks

Hello All, We are running multiple codes in prod all having different sources of databases in other servers. Many times due to network issue connectivity and DB issue the jobs got failed and to recover them become very brainstorming . I planning to create one script that can pre check if all the... (0 Replies)
Discussion started by: looney
0 Replies

2. Red Hat

Server rebooting unexpectedly

hi, I have been working on Solaris am very new to linux. My concern is as it goes....our server is getting rebooted automatically and I am not able to understand anything from the var log messages. Could anybody help me out in troubleshooting the issue. 2.6.18-128.el5 #1 x86_64 GNU/Linux is... (1 Reply)
Discussion started by: EmbedUX
1 Replies

3. Solaris

Monitor server's health

Dear all, There wasn't any monitoring on our server except on the filesystem. Therefore, I was wondering anything i should do on a daily basis to check on the server's status, health, hardware, or any other thing as a disaster prevention? Also, what command i should use to do that? ... (2 Replies)
Discussion started by: beginningDBA
2 Replies

4. AIX

Pre-checks

AIX Guys!!! What pre-checks would you do on a 5.3 server before TL/SP/APAR installation? Bala (2 Replies)
Discussion started by: balaji_prk
2 Replies

5. Solaris

sun server health check

do anybody has a procedure for daily weekley monthly health check for SUN server with solaris OS?? (5 Replies)
Discussion started by: mm00123
5 Replies

6. UNIX for Dummies Questions & Answers

Backup Tapes Health checks

Hi all gurus Is there any command to perform the tapes health checks? thanks in adv jiajin (1 Reply)
Discussion started by: lijiajin
1 Replies

7. Infrastructure Monitoring

visual representation of server health

HI all, I want to make a webpage showing the status of services running on a server. for example email, http , etc. That way users can see that server status for themselfs. Maybe even show the status of each virtual domain running on the server. Any way to do this without buying some product? ... (4 Replies)
Discussion started by: mcraul
4 Replies

8. UNIX for Dummies Questions & Answers

health checks

Hello Anyone please help me with a health check script on HP-UX. (1 Reply)
Discussion started by: mahlathini
1 Replies

9. UNIX for Dummies Questions & Answers

Server rebooting frequently

O/P of the uname -a Server Server 4.0 3.0 3516 Pentium IV(TM)-ISA/PCI Server is getting rebooted frequetly... I don't know what is the problem in server ... Any help why the server is getting rebooted frequetly. Can i check what is the problem like in log files (5 Replies)
Discussion started by: srikanthus2002
5 Replies
Login or Register to Ask a Question