How to remove a system from a VCS cluster?



  • Removing a node from a cluster

    On the node to remove backup the current configuration file

    # cp -p /etc/VRTSvcs/conf/config/main.cf /etc/VRTSvcs/conf/config/main.cf.origcopy
    

    Check status of systems and service groups

    # hastatus -summary
    

    Look at the output and see which service groups are running on the system to remove, and switch the failover service groups from the system being removed

    # hagrp -switch groupname -to sweep
    

    Check for dependencies on the system being removed

    # hagrp -dep
    

    If the service groups on the system being removed require other service groups, if it is a parent to another service group on other nodes, unlink it

    # haconf -makerw
    # hagrp -unlink grp_parent_name grp_name
    

    Stop VCS on the system being removed

    # hastop -sys sue
    

    Verify, you should see status of EXITED

    # hastatus -summary
    

    Delete from the cluster

    # hasys -delete sue
    

    Save the configuration

    # haconf -dump -makero
    

    Modify the /etc/llthosts on remaining systems in the cluster, to only include the systems left

    Unconfigure GAB and LLT

    # /sbin/gabconfig -U
    # /sbin/lltconfig -U
    

    Unload the GAB and LLT modules from the kernel

    Remove VCS packages and patches

    Remove the llt and gab files

    # rm /etc/llttab
    # rm /etc/gabtab
    # rm /etc/llthosts
    

Log in to reply
 

© Lightnetics 2024