CFSMount Error
Hi All,
I am using the CFSTypes.cf and CVMTypes.cf file types and am not able to mount the diskgroup named "oracledg" on VCS nodes. I am enclosing the main.cf file used in cluster configuration. Can anyone please help?
I get the following error message:
010/09/17 07:46:02 VCS ERROR V-16-20007-1010 (node1) CVMVolDg:oracle_cvmvoldg:online:online_change_activation: can not change activation of dg oracledg to shared-write
2010/09/17 07:46:02 VCS WARNING V-16-20007-1025 (node1) CVMVolDg:oracle_cvmvoldg:online:Can not set diskgroup oracledg activation to sw
2010/09/17 07:46:02 VCS ERROR V-16-20007-1045 (node1) CVMVolDg:oracle_cvmvoldg:online:Initial check failed
2010/09/17 07:46:03 VCS INFO V-16-2-13716 (node1) Resource(oracle_cvmvoldg): Output of the completed operation (online)
==============================================
VxVM vxdg ERROR V-5-1-3268 activation failed: Disk group oracledg: shared-write: Invalid mode for non-shared disk group
RROR V-16-2-13066 (node2) Agent is calling clean for resource(oracle_cvmvoldg) because the resource is not up even after online completed.
2010/09/17 07:48:01 VCS INFO V-16-2-13716 (node2) Resource(oracle_cvmvoldg): Output of the completed operation (clean)
==============================================
/var/VRTSvcs/lock/oracle_cvmvoldg_oracledg_stat: No such file or directory
==============================================
2010/09/17 07:48:01 VCS INFO V-16-2-13068 (node2) Resource(oracle_cvmvoldg) - clean completed successfully.
2010/09/17 07:48:01 VCS INFO V-16-2-13071 (node2) Resource(oracle_cvmvoldg): reached OnlineRetryLimit(2).
2010/09/17 07:48:02 VCS ERROR V-16-1-10303 Resource oracle_cvmvoldg (Owner: unknown, Group: cfs) is FAULTED (timed out) on sys node2
2010/09/17 07:48:02 VCS NOTICE V-16-1-10300 Initiating Offline of Resource cfs_online_phantom (Owner: unknown, Group: cfs) on System node2
2010/09/17 07:48:04 VCS INFO V-16-1-10305 Resource cfs_online_phantom (Owner: unknown, Group: cfs) is offline on node2 (VCS initiated)
2010/09/17 07:48:04 VCS ERROR V-16-1-10205 Group cfs is faulted on system node2
2010/09/17 07:48:04 VCS NOTICE V-16-1-10446 Group cfs is offline on system node2
2010/09/17 07:48:04 VCS INFO V-16-1-10493 Evaluating node1 as potential target node for group cfs
2010/09/17 07:48:04 VCS INFO V-16-1-50010 Group cfs is online or faulted on system node1
2010/09/17 07:48:04 VCS INFO V-16-1-10493 Evaluating node2 as potential target node for group cfs
2010/09/17 07:48:04 VCS INFO V-16-1-50010 Group cfs is online or faulted on system node2
2010/09/17 07:48:04 VCS ERROR V-16-2-13066 (node1) Agent is calling clean for resource(oracle_cvmvoldg) because the resource is not up even after online completed.
2010/09/17 07:48:05 VCS INFO V-16-6-0 (node2) postoffline:Invoked with arg0=node2, arg1=cfs
2010/09/17 07:48:05 VCS INFO V-16-6-15002 (node2) hatrigger:hatrigger executed /opt/VRTSvcs/bin/triggers/postoffline node2 cfs successfully
2010/09/17 07:48:05 VCS INFO V-16-2-13716 (node1) Resource(oracle_cvmvoldg): Output of the completed operation (clean)
==============================================
/var/VRTSvcs/lock/oracle_cvmvoldg_oracledg_stat: No such file or directory
==============================================
2010/09/17 07:48:05 VCS INFO V-16-2-13068 (node1) Resource(oracle_cvmvoldg) - clean completed successfully.
2010/09/17 07:48:05 VCS INFO V-16-2-13071 (node1) Resource(oracle_cvmvoldg): reached OnlineRetryLimit(2).
2010/09/17 07:48:07 VCS ERROR V-16-1-10303 Resource oracle_cvmvoldg (Owner: unknown, Group: cfs) is FAULTED (timed out) on sys node1
2010/09/17 07:48:07 VCS NOTICE V-16-1-10300 Initiating Offline of Resource cfs_online_phantom (Owner: unknown, Group: cfs) on System node1
2010/09/17 07:48:08 VCS INFO V-16-1-10305 Resource cfs_online_phantom (Owner: unknown, Group: cfs) is offline on node1 (VCS initiated)
2010/09/17 07:48:08 VCS ERROR V-16-1-10205 Group cfs is faulted on system node1
2010/09/17 07:48:08 VCS NOTICE V-16-1-10446 Group cfs is offline on system node1
2010/09/17 07:48:08 VCS INFO V-16-1-10493 Evaluating node1 as potential target node for group cfs
2010/09/17 07:48:08 VCS INFO V-16-1-50010 Group cfs is online or faulted on system node1
2010/09/17 07:48:08 VCS INFO V-16-1-10493 Evaluating node2 as potential target node for group cfs
2010/09/17 07:48:08 VCS INFO V-16-1-50010 Group cfs is online or faulted on system node2
2010/09/17 07:48:10 VCS INFO V-16-6-0 (node1) postoffline:Invoked with arg0=node1, arg1=cfs
2010/09/17 07:48:10 VCS INFO V-16-6-15002 (node1) hatrigger:hatrigger executed /opt/VRTSvcs/bin/triggers/postoffline node1 cfs successfully
Best Regards,
Bruce
Ok..
So,
-- whether disk_0 is a shared disk & visible across the cluster nodes ? You can verify this with serial number of the disk:
# /etc/vx/diag.d/vxdmpinq /dev/vx/rdmp/disk_0
OR
If you run vxdisk -o alldgs list on node 2, you should see disk ora1 imported on second node as well....
-- Secondly, error appearing in engine-A.log says, no such device or address.... that means volume or FS is not ready..
Since you imported the diskgroup manually, did you started the volumes mannually ? can u see if volumes inside diskgroup are enabled active ?
# vxprint -qthg oracledg (all the volumes should be ENABLED ACTIVE), any other state won't work...
To start volumes
# vxvol -g oracledg startall
Once volumes are ENABLED ACTIVE, can you see a filesystem on it ?
# fstyp -v /dev/vx/rdsk/oracledg/oravol
If you see the filesystem, it should be able to mount...
Since you are using cfs commands, I believe you have already added mounts using cfsmntadm... If not then have a look at man page of cfsmntadm..
Gaurav