1837245 Members
4638 Online
110115 Solutions
New Discussion

Re: Make sure connection

 
SOLVED
Go to solution
haeman
Frequent Advisor

Make sure connection

We have two servers , one is mount to another server , I am worry if the server is unstable , the connection ( mount ) will be broken , or when the server is rebooted , the connection will also be broken , can advise how can I make sure the mount is establish , for example , if found they are not connected then mount it back automatically and send me notify mail , can advise want can i do ? thx
3 REPLIES 3
Aashique
Honored Contributor

Re: Make sure connection

Hi,
you can create a script which will check the link status of two servers.using ping you can check the status.if pins status is ok that it will mount.use IF-else condition.

Thanks & Regards

Aashique
Yogeeraj_1
Honored Contributor
Solution

Re: Make sure connection

hi,

you can schedule a monitoring script that runs at a predefined interval and explicitly mount the file system.

In case, it is already mounted you will get the following message:

mount: : is already mounted on


which you can just ignore.

hope this helps!
kind regards
yogeeraj

No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Dennis Handly
Acclaimed Contributor

Re: Make sure connection

>Yogeeraj: you can schedule a monitoring script that runs at a predefined interval and explicitly mount the file system.

Would using the automounter be easier? Or is the filesystem always in use?