Sun Cluster Software Installation Guide for Solaris OS

ProcedureHow to Remove Sun Cluster Information From a JumpStart Install Server

Perform this procedure to remove Sun Cluster information from a JumpStart install server that was used to install and configure a cluster. You can remove information for one or more individual nodes or for one or more entire clusters. For more information about the JumpStart feature, see Solaris 10 Installation Guide: Custom JumpStart and Advanced Installations.

  1. Become superuser on the JumpStart install server.

  2. Change to the JumpStart directory that you used to install Sun Cluster software.


    installserver# cd jumpstart-dir
    
  3. Remove from the rules file any entries that were created by the scinstall command that contain the name of a node that you want to remove.

    The Sun Cluster entries reference autostinstall.class or autoscinstall.finish or both. Entries appear similar to the following, where release is the version of Sun Cluster software:


    hostname phys-schost-1  -  autoscinstall.d/release/autoscinstall.class  \ 
    autoscinstall.d/release/autoscinstall.finish
  4. Regenerate the rules.ok file.

    Run the check command that is located in the jumpstart-dir/ directory to regenerate the rules.ok file.


    installserver# ./check
    
  5. Remove from the appropriate clusters/clustername/ directory the symbolic link for each node that you want to remove.

    • To remove the symbolic link for one or more nodes in a cluster, remove the link that is named for each node to remove.


      installserver# rm -f autoscinstall.d/clusters/clustername/nodename
      
    • To remove the symbolic links for an entire cluster, recursively remove the directory that is named for the cluster to remove.


      installserver# rm -rf autoscinstall.d/clusters/clustername
      
    • To remove the symbolic links for all clusters, recursively remove the clusters/ directory.


      installserver# rm -rf autoscinstall.d/clusters
      
  6. Remove from the autoscinstall.d/ directory the node configuration directory that is named for each node that you want to remove.

    If you are removing information for an entire cluster, remove the directory for each node in the cluster.

    • To remove information for one or more nodes in a cluster, recursively remove the directory for each node.


      installserver# rm -rf autoscinstall.d/nodes/nodename
      
    • To remove all entries for all clusters, recursively remove the autoscinstall.d directory.


      installserver# rm -rf autoscinstall.d
      
  7. Remove the .autoscinstall.log.3 file.


    installserver# rm .autoscinstall.log.3
    
  8. (Optional) If you used a flash archive to JumpStart install the cluster, remove the flash archive if you no longer need the file.


    installserver# rm filename.flar
    
Next Steps

If you intend to use custom JumpStart to reinstall a cluster from which you removed information for one or more nodes that were removed from that cluster, you must rerun interactive scinstall to update the cluster node list. See How to Install Solaris and Sun Cluster Software (JumpStart).