10-08-2009 02:49 AM
Hi Guys,
I'm new to Veritas as well as to this forum.
I was playing around with Veritas SF 5.0 but not able to finish the clustering part.
here is the description.
have installed Veritas Storage Foundation with Cluster with 2 nodes.
Basic clustering (IP failure) is happening - so thought about going to the next step , that is sharing of disks.
and i'm having some trouble there.
What i did
1. Allocated a 10 Gb disk from the SAN - Both systems can see the disk
2. On System A - created diskgroup and created volume inside it (no entry in vfstab but did an mkfs )
3. On System A - Created a cluster group by adding both System A and System B in Systemlist.
4. On System A - Created a rsource group for disk group
5. On System A - Created a resource group for mount
6. On System A - modified the mount resource by adding above created volume.
7. On System A - modified the mount resource by adding FsckOpt %-y
8. On System A - enabled the resouces
But when i make the group online , on System B it is going to faulty state complaining about the mount_resource
Am i taking correct steps ?
please advice..
thanks in advance ..
jj
Solved! Go to Solution.
10-08-2009 08:58 AM
10-08-2009 03:01 AM
10-08-2009 04:02 AM
Mount point , yes i have created.
About mounting file system on System B, no i'm not yet successful in that.
1. How we can make the disk offline on System A ?
#vxdisk offline EMC_CLARiiON0_1
VxVM vxdisk ERROR V-5-1-534 Device EMC_CLARiiON0_1: Device is in use
2.If i try to import the diskgroup on System B , -( since it is still under System A's control)
#vxdg import Diskgrp
VxVM vxdg ERROR V-5-1-10978 Disk group Diskgrp: import failed:
Disk is in use by another host
thanks,
JJ
10-08-2009 04:22 AM
10-08-2009 08:18 AM
Hi tried the above steps, and i can mount the volume on System B
here is main.cf from SystemA
iadps4 #cat /etc/VRTSvcs/conf/config/main.cf
include "types.cf"
cluster Veritas-Cluster (
UserNames = { admin = bIJbIDiFJeJJhRJdIG }
ClusterAddress = "153.71.79.21"
Administrators = { admin }
)
system iadps4 (
)
system iadps5 (
)
group ClusterService (
SystemList = { iadps4 = 0, iadps5 = 1 }
AutoStartList = { iadps4, iadps5 }
OnlineRetryLimit = 3
OnlineRetryInterval = 120
)
IP webip (
Device = bge0
Address = "153.71.79.21"
NetMask = "255.255.254.0"
)
NIC csgnic (
Device = bge0
)
VRTSWebApp VCSweb (
Critical = 0
AppName = cmc
InstallDir = "/opt/VRTSweb/VERITAS"
TimeForOnline = 5
RestartLimit = 3
)
VCSweb requires webip
webip requires csgnic
// resource dependency tree
//
// group ClusterService
// {
// VRTSWebApp VCSweb
// {
// IP webip
// {
// NIC csgnic
// }
// }
// }
group clustergroup (
SystemList = { iadps4 = 0, iadps5 = 1 }
AutoStartList = { iadps4 }
)
DiskGroup Disk_Resource (
DiskGroup = Diskgrp
)
Mount Mount_Resource (
MountPoint = "/VERImnt"
BlockDevice = "/dev/vx/dsk/Diskgrp/vol1"
FsckOpt = "-y%-n"
)
Mount_Resource requires Disk_Resource
// resource dependency tree
//
// group clustergroup
// {
// Mount Mount_Resource
// {
// DiskGroup Disk_Resource
// }
// }
iadps4 #
When i tried to bring them online, this is what i'm getting.
iadps4 #hagrp -online clustergroup -sys iadps4
VCS WARNING V-16-1-10162 Group clustergroup has not been fully probed on system iadps4
iadps4 #
iadps4 #hagrp -online clustergroup -sys iadps5
VCS WARNING V-16-1-10157 Group clustergroup is faulted on iadps5; clear faults first with hares -clear
10-08-2009 08:42 AM
Logs..
I just looked into the log file and found the following
From Mount_A.log
2009/10/08 11:12:31 VCS ERROR V-16-10001-5566 Mount:Mount_Resource:monitor:Invalid FSType () is specified.
From engine_A.log
2009/10/08 10:46:33 VCS WARNING V-16-10001-1038 (iadps4) DiskGroup:Disk_Resource:monitor:Disk attribute 'autoimport' is set to 'yes' for the disk group Diskgrp. Setting it to 'no'.
2009/10/08 10:56:34 VCS NOTICE V-16-1-10233 Clearing Restart attribute for group clustergroup on all nodes
2009/10/08 11:00:36 VCS ERROR V-16-2-13067 (iadps5) Agent is calling clean for resource(Disk_Resource) because the resource became OFFLINE unexpectedly, on its own.
2009/10/08 11:00:38 VCS ERROR V-16-1-10205 Group clustergroup is faulted on system iadps5
2009/10/08 11:00:38 VCS NOTICE V-16-1-10446 Group clustergroup is offline on system iadps5
10-08-2009 08:58 AM
10-08-2009 11:15 PM
Good,
i configured Mount resource with FSType and now it is online.
Failover is also happening perfectly for the vxfx volume.
Thanks so much for the help.
One more doubt, now the volume is Active-Passive, ie i can access it only fomr one machine.
I can make it active-Active , right ?
is it some ocnfigurations or ..
Thanks,
jj
10-09-2009 04:13 AM
10-09-2009 04:28 AM
Oh..ok.
Now i will look into Oracel RAC, since that is what i have to do.
Thanks g_lee for the great support..
Much appretiated.
jj
10-09-2009 05:11 AM
04-30-2010 11:06 AM