N1 Provisioning Server 3.1, Blades Edition, Installation Guide

ProcedureTo Uninstall the N1 Provisioning Server After the Installation or Upgrade Completes

Steps
  1. Login as root (su — root) on the control plane server.

  2. Type /opt/terraspring/sbin/uninstall_PS

    The following message is displayed.


    Do you want to uninstall the N1 software [y/n]?
  3. Type y to uninstall the Provisioning Server software.

    The following messages are displayed.


    Beginning uninstall process...
    Checking for pending requests in progress ...done!
    
    Stopping all Provisioning Server services ...done!
    
    Do you want to revert blades to factory settings [y/n]?
  4. Type y to revert to factory settings or n to retain the current settings.

    • If you type y to revert the server blades to the factory setting, the message Unconfiguring hardware...done! is displayed.

    • If you type n , the server blades are not reverted to factory settings, and the message is not displayed.

    The following messages are displayed.


    Stopping database...done!
    
    Removing N1 PS software packages...done!
          
    
    Restoring system state...done!
    
    You may retrieve the pre-PS-install version of the following files 
    from /var/tmp/SystemState_before_PS_install.tar If the archive does 
    not contain some file, it implies that the file was created during 
    PS software installation.
    
    /etc/nsswitch.conf
    /etc/resolv.conf
    /etc/defaultdomain
    /etc/system
    /etc/inetd.conf
    /kernel/drv/skge.conf
    
    Unconfiguring Network Interface cards....
  5. If interface devices are configured, you are prompted to authorize the removal of these interface devices. For example:


    Is it okay to unplumb interface skge1000 [y/n]
  6. If you are uninstalling an PS/IS combined server and ftp was selected as the image server protocol, the following message is displayed.


    Deleting FTP account...done!

    The following messages are then displayed.


    Deleting additional files/directories used by PS/IS software...
    Do you want to delete the images directory - '/images' [y/n]?
  7. Type y to delete the /images directory containing the Solaris Operating System image and disk snapshots. Type n to retain the directory.

    The following messages are displayed.


    The following files/directories will be deleted.
    /etc/opt/terraspring
    /etc/opt/ipf
    /etc/named.conf
    /opt/terraspring
    /var/opt/terraspring
    /tftpboot/terraspring
    /var/tmp/n1_install_lock
    /etc/rc3.d/S60tsprdb
    /oracle_data1
    /oracle_data2
    /oracle_data3
    Is it okay to delete[y/n]? y
  8. Type y to delete the listed directories or n to retain the listed directories.

    If you type n to retain the listed directories, the following message is displayed.


    WARNING:You may have to manually delete the PS/IS
    related directories/files before reinstalling the software.

    Uninstall then finishes and the following messages are displayed.


    PS/IS logs are backed up in /var/tmp/N1PS_backup directory.
    
    Please delete the following empty directory - /opt/terraspring
    
    done!