Removing the CP server configuration using the removal script

This section describes how to remove the CP server configuration from a node or a cluster that hosts the CP server.

Warning:

Ensure that no SFCFSHA cluster (application cluster) uses the CP server that you want to unconfigure.

You can use the CP server configuration utility (configure_cps.pl) to remove the CP server configuration. This utility performs the following tasks when you choose to unconfigure the CP server:

After you run this utility, you can uninstall VCS from the node or the cluster.

Note:

You must run the configuration utility only once per CP server (which can be on a single-node VCS cluster or an SFHA cluster), when you want to remove the CP server configuration.

To remove the CP server configuration

  1. To run the configuration removal script, enter the following command on the node where you want to remove the CP server configuration:
    root@mycps1.symantecexample.com # /opt/VRTScps/bin/configure_cps.pl
  2. Select option 3 from the menu to unconfigure the CP server.
    VERITAS COORDINATION POINT SERVER CONFIGURATION UTILITY
    =======================================================
    
    Select one of the following:
    
    [1] Configure Coordination Point Server on single node VCS system
    
    [2] Configure Coordination Point Server on SFHA cluster
    
    [3] Unconfigure Coordination Point Server
  3. Review the warning message and confirm that you want to unconfigure the CP server.
    WARNING: Unconfiguring Coordination Point Server stops the 
    vxcpserv process. VCS clusters using this server for 
    coordination purpose will have one less coordination point.
    
    Are you sure you want to bring down the cp server? (y/n)
    (Default:n) :y
  4. Review the screen output as the script performs the following steps to remove the CP server configuration:

    • Stops the CP server

    • Removes the CP server from VCS configuration

    • Removes resource dependencies

    • Takes the the CP server service group (CPSSG) offline, if it is online

    • Removes the CPSSG service group from the VCS configuration

  5. Answer y to delete the CP server database.
    Do you want to delete the CP Server database? (y/n) (Default:n) : 
  6. Answer y at the prompt to confirm the deletion of the CP server database.

    Warning: This database won't be available if CP server
    is reconfigured on the cluster. Are you sure you want to
    proceed with the deletion of database? (y/n) (Default:n) :
  7. Answer yto delete the CP server configuration file and log files.
    Do you want to delete the CP Server configuration file
    (/etc/vxcps.conf) and log files (in /var/VRTScps)? (y/n) 
    (Default:n) : y
  8. Run the hagrp -state command to ensure that the CPSSG service group has been removed from the node. For example:
    root@mycps1.symantecexample.com # hagrp -state CPSSG
    
    VCS WARNING V-16-1-40131 Group CPSSG does not exist 
    in the local cluster