N1 Provisioning Server 3.1, Blades Edition, Installation Guide

Uninstalling N1 Provisioning Server Software

You might need to uninstall N1 Provisioning Server software in the following situations:

You can uninstall the software on an I-Fabric that contains live server farms. However, if you have pending farm modification requests, you are prompted to confirm if you want to proceed with the uninstall process.

Farm modification requests include the following actions:


Caution – Caution –

If you proceed, all farm modification requests are terminated and all associated data is lost, including all information about active farms.


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

Before You Begin

To prevent new farm modification requests from being submitted while you are uninstalling N1 Provisioning Server, make certain all N1 Provisioning Server users are logged off before uninstalling N1 Provisioning Server software.

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

    • If you are uninstalling N1 Provisioning Server, Blades Edition version 3.0, insert the N1 Provisioning Server 3.0 Update 1 CD-ROM 1 of 2 into the DVD/CD-ROM drive.

    • If you are uninstalling N1 Provisioning Server, Blades Edition version 3.1, insert the N1 Provisioning Server 3.1 DVD-ROM into the DVD/CD-ROM drive.

  2. Type /cdrom/cdrom/uninstall_PS to start the uninstall process.

    The following message is displayed.


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

    The following messages are displayed.


    Beginning uninstall process...
    Checking for pending requests in progress ...done!
    
    Stopping all Provisioning Server services ...done!
    • If the installation or upgrade process was not near completion when it exited, the following message might be displayed:


      Do you want to revert blades to factory settings [y/n]?

      Type y to revert to factory settings or type 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 then displayed:


      Stopping database...done!
      
      Removing N1 PS software packages...done!
            
      
      Restoring system state...done!
      
      Please check the following files to restore any changes made by N1 PS
      software:
      
      /etc/nsswitch.conf
      /etc/resolv.conf
      /etc/defaultdomain
      /etc/system
      /etc/dfs/dfstab
      /etc/inetd.conf
      
      Unconfiguring Network Interface cards....done!
      Deleting FTP account...done!
      
      
      Deleting additional files/directories used by PS/IS software...
      Do you want to delete the images directory - '/images' [y/n]?

      Go to Step 5.

    • If the installation or upgrade process was near completion when it exited, the following messages might be displayed.


      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/dfs/dfstab
      /etc/inetd.conf
      
      Unconfiguring Network Interface cards....done!
      Deleting FTP account...done!
      
      
      Deleting additional files/directories used by PS/IS software...
      Do you want to delete the images directory - '/images' [y/n]?
  4. 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
    /etc/rc3.d/S60tsprdb
    • If your Infrastructure Database is Oracle, the following messages are displayed:


      /oracle_data1
      /oracle_data2
      /oracle_data3
    • If your Infrastructure Database is Postgres, the following messages are displayed:


      /postgres_data
      /postgres_log

    You are prompted to confirm deletion of the files:


    Is it okay to delete[y/n]? y
  5. Type y to delete the listed directories or type n to retain the listed directories.

    If you type n, 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.


    done!
    
    
    PS/IS logs are backed up in /var/tmp/N1PS_backup directory.

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!