Removing the CP server configuration using the removal script

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

Warning:

Ensure that no SFCFS cluster is using the CP server that will have its CP server configuration removed.

A configuration utility that is part of VRTScps package is used to remove the CP server configuration. When using the configuration utility, a configuration removal script is run and the following tasks are performed:

After running the utility and script, you can then uninstall VCS from the node or cluster.

Note:

The configuration script has to run only once per CP server (which can be on a single node or SFHA cluster), when removing the CP server configuration.

The configuration utility performs the following steps to remove the CP server configuration:

The following procedure describes how 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. The Veritas Coordination Point Server Configuration utility appears with an option menu.

    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. Select option 3 to unconfigure the Coordination Point Server.

  4. A warning appears and prompts you to confirm the action to unconfigure the Coordination Point Server.

    Enter "y" to proceed.

    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
    
  5. After entering "y" to proceed, messages appear informing you of the progress in removing the CP server configuration.

    When the CP server configuration has been unconfigured, a success message appears.

    For an example of the messages from a single node VCS cluster:

    A single node VCS cluster is currently configured.
    Stopping the CP server ...
    
    Removing the CP Server from VCS configuration..
    
    Removing resource dependencies...
    Deleting the resources configured under CPSSG service group...
    Deleting the CPSSG service group...
    
    Successfully unconfigured the Veritas Coordination Point Server.

    For an example of the messages from a CP server on an SFHA cluster:

    A multinode CP Server cluster is currently configured.
    Stopping the CP server ...
    
    Removing the CP Server from VCS configuration..
    
    Removing resource dependencies...
    Deleting the resources configured under CPSSG service group...
    Deleting the CPSSG service group...
    
    Successfully unconfigured the Veritas Coordination Point Server.
  6. You are then prompted to delete the CP server database. Enter "y" to delete the database.

    For example:

    Do you want to delete the CP Server database? (y/n) (Default:n) : 
  7. You are then prompted to delete the CP server configuration file and log files. Enter "y" to delete these files.

    For example:

    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 following hagrp -state command to ensure that the CPSSG resource 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