Forum Discussion

shiv124's avatar
shiv124
Level 4
13 years ago

hastart

I have a 5 node cluster.The cluster service (HAD) was stopped on all nodes due to some maintaiance issues.Now i need to start VCS on all NOdes.   Whatz the best way to do this.What r the points i...
  • mikebounds's avatar
    13 years ago

    Just to clarify futher, gabconfig should show you:

    GAB Port Memberships
    ====================================
    Port a gen 4a1c0001 membership 01234

    This is saying that gab (port a) is loaded on nodes 0, 1, 2, 3 & 4 which means communication is working between all 5 nodes.

    There is a possiblity that the VCS configuration (main.cf) is not the same on all nodes if configuration was not closed when VCS was shutdown - if you are not sure about this, then you should verify this by comparing using something like "cksum /etc/VRTSvcs/conf/conf/main.cf" to check all nodes have the same main.cf  If any are different then you will have to compare these (manually, or copy different files to one node and use diff or sdiff) to check which you want to start VCS with.  So then run "hastart" on the node that has the config you want (which can be any node if all configs are the same which is the norm).

    When you run hastart on the other nodes, they read main.cf from memory of the first node, so there is no need to copy main.cf to other nodes, if one node does have a different config.

    Service groups may have been frozen when VCS was shutdown, so when VCS has been started on all nodes run "hastatus -sum" to verify all service groups are "ONLINE" on at least one node and if any are shown as frozen, then you can use "hagrp -unfreeze -persistent grp_name"

    Mike