|
|
Re: Veritas Cluster Server [message #204041 is a reply to message #184004] |
Fri, 17 November 2006 08:01 |
henderd
Messages: 6 Registered: November 2006
|
Junior Member |
|
|
I'll assume you are running active/passive in this case.
What I do is run a test in the crontab line to see if a filesystem is present on the node. If say /u02 is only visible on one node at a time then you would have an entry like this in the crontab:
0 0 1 * * test -d /u02/oradata && /path/to/script/script.sh
So if the direcory /u02/oradata is not there then the script won't run.
You can't test for /u02 as even if the fs is mounted on the other node the /u02 directory will still be there
Means you need both crontabs kept up to date but it works.
HTH
|
|
|