Forum Discussion

Abhishekjha's avatar
9 years ago

Can HAD start without I/O fencing?

I want to remove I/O fencing completely and start VCS (in test environment), but every time I fire hastart command, HAD tries to start I/O fencing driver and fails to start HAD. I have removed the registered key, disabled fencing in /etc/vxfenmode file and rebooted the system couple of times but couldn't start HAD.

Please advise.

OS- Solaris 10

VCS 5.1

Thanks,

 

  • Just stop VCS (hastop -all), remove "UseFence = SCSI3" line from main.cf and restart VCS.

    Mike

  • Hi, 

    try:

    1.hastop -all

     Make a backup copy of the main.cf file:
    # cd /etc/VRTSvcs/conf/config
    # cp main.cf main.orig
    2 On one node, use vi or another text editor to edit the main.cf file. To modify
    the list of cluster attributes, remove the UseFence attribute .
    cluster clus1(
    UserNames = { admin = "cDRpdxPmHpzS." }
    Administrators = { admin }
    HacliUserLevel = COMMANDROOT
    CounterInterval = 5
    UseFence = SCSI3  <<<
    )
    3.Save and close the file.
    4. Verify the syntax of the file /etc/VRTSvcs/conf/config/main.cf:
    # hacf -verify /etc/VRTSvcs/conf/config

    5 Using rcp or another utility, copy the VCS configuration file from a node (for
    example, galaxy) to the remaining cluster nodes.
    For example, on each remaining node, enter:
    # rcp galaxy:/etc/VRTSvcs/conf/config/main.cf \
    /etc/VRTSvcs/conf/config

     

    6. hastart on each node.