Zone Config /etc/zones/zone_name.xml sync across all VCS nodes.
Helo VCS Folks:
Currently VCS doesn't do any zone config files syncing across the VCS nodes but since VCS has already communication setup with all nodes over LLT/GAB, I would say syncing the /etc/zones/zone_name.xml consistency across all the VCS nodes within Cluster would add a great value. The initial setup would still be manual but afterwards, VCS should sync the consistency of those zone config files. Here is the scenario which would elaborate it more clearly what I mean by Zone config Sync:
Lets say I have 5 node Cluster, Node1 being Passive and None2, Node3, Node4, Node5 are Active nodes. I created a zone called zone1 on Node1 and put the Service Group with all resources into VCS. I marked the Node2 as the active node for this zone1. I exported the config file of running zone zone1 on Node1 using zonecfg export -f zone1.zcf and then copied this file to Node2 and ran zonecfg -z zone_name -f zone1.zcf to create empty configuration of zone1. Now I ran hagrp -switch to switch the zone1 from Node1 to Node2, it works fine, we are all good. Just to clarify here that I am keeping the zone path on SAN which is zoned to all VCS nodes and therefore when the zone is installed once, I don't need to re-install it on other nodes, just importing the DG would bring up the volumes/File System of zonepath and zone can be booted as long as the /etc/zones/index has entry for the zone and zone.xml file exists under /etc/zones.
I can provide more info if above explanation are not clear. Thank you very much in advance in looking into my request/idea.
Thanks
Amindra
Comments
you are right.....vcs should
you are right.....vcs should keep eye on zone cfg........
Thanks
Lingesh
Hi Amindra,
Thank you for your suggestion. Keeping the zone.xml files in sync accross nodes sounds like a good idea. Let me dig into this a bit more and get back to you.
Thanks,
-Kyle
Is there any news about this
Is there any news about this feature?
It is really very desired feature.
This works only for failover
This works only for failover zones not for parallel zones. The following workaround may help you. You can keep the zone.xml file on a shared disk and create a link to it from /etc/zones/zone.xml.
example:
bash-3.00# ls -l /etc/zones/local-zone.xml
lrwxrwxrwx 1 root root 15 Jan 15 13:42 /etc/zones/local-zone.xml -> /zones/local-zone/local-zone.xml
Venkata Reddy Chappavarapu, Manager, Storage & Availability Management Group, Symantec Corporation
Nirmala Naresh This is ideas
Nirmala Naresh
This is ideas area - if you have a question/issue you should use forum - so for instance for your VCS question use:
https://www-secure.symantec.com/connect/storage-management/forums/cluster-server
Mike
UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows
If this post has helped you, please vote or mark as solution
if main.cf is
if main.cf is missing/correpted, then what is the status of cluster,is it effected to service group?
what is the o/p of #hastat -sum?
how can i recall dat file? i want complete processs
main.cf
If main.cf is corrupted...definately it will affect service group
If a main.cf files corrupted use the following command to verify it.
#/opt/VRTSvcs/bin/hacf -verify /etc/VRTSvcs/conf/config/main.cf
If the file is completely missing you have to restore it from backup.......VCS always take backup of main.cf whenever you are changing the configuration of cluster.(I never seen problem like main.cf missing )
Would you like to reply?
Login or Register to post your comment.