Operating System - HP-UX
1832094 Members
3007 Online
110038 Solutions
New Discussion

mounting file system in exclusive mode in cluster

 
Neeraj Bajpai
Advisor

mounting file system in exclusive mode in cluster

Hi all

I had a problem in oracle database, it crashed and now need recovery. But my database in HP
cluster (two node HPUX 11.x) so when oracle got the ora-01113 and ora-01110 error it umonted all the file system and i am not able to do the recovery.

So I would like to confirm the following commands and procedure is ok or not ?

1. Taking out all the file system from the cluseter mode.
# vgchange -c n

2. Activate the volume gruop in non-cluster mode
# vgchange -a y

3. mount all the file system and do the recovery

4. umount and deactivate the volume group
# vchange -a n

5. run the cluster for including the volume in the cluster mode again.
# cmruncl

6. include all volume in the cluster mode
# vchange -c y

7. stop and start the cluster again.


thanks in advance for your valuable time.
5 REPLIES 5
Sanjiv Sharma_1
Honored Contributor

Re: mounting file system in exclusive mode in cluster

Hi Neeraj,

The steps seems to be ok.
You can go ahead.
Everything is possible
A. Clay Stephenson
Acclaimed Contributor

Re: mounting file system in exclusive mode in cluster

That will work but there should be no need to do anything except a vgchange -a e and then manually mount the filesystems.
If it ain't broke, I can fix that.
SS_6
Valued Contributor

Re: mounting file system in exclusive mode in cluster

A.clay is right for exclusive mode activation. You can also touch debug file in /etc/cmcluster directory. Start the cluster and it will mount the file systems(as per standard cluster configuration)but will not invoke any start/stop script. This is also good for troubleshooting. Remove debug file at the last.
By providing solutions I am helping myself
Printaporn_1
Esteemed Contributor

Re: mounting file system in exclusive mode in cluster

Hi,

as more convenient you better use service guard to start the package cause you will get complete file system and right mount point.
make copy of /etc/cmcluster//control.sh as it backup.
remove custom script to start database just let the control script mount file system for you.
then start recovery.

HTH.
enjoy any little thing in my life
Neeraj Bajpai
Advisor

Re: mounting file system in exclusive mode in cluster

thanks to all of you.
It is ok now..