Sun Cluster Quick Start Guide for Solaris OS

ProcedureHow to Install the Solaris Operating System

This procedure describes how to install the Solaris 10 OS to meet Sun Cluster software installation requirements.


Note –

If your system comes with the Solaris OS preinstalled but does not meet Sun Cluster software installation requirements, perform this procedure to reinstall Solaris software to meet installation requirements.


Before You Begin

Have the following available:

  1. Add all public hostnames and logical addresses for the cluster to the naming service.


    Note –

    The IP addresses in this step are for example only and are not valid for use on the public network. Substitute your own IP addresses when you perform this step.



    192.168.10.1      phys-sun
    192.168.10.2      phys-moon
    192.168.10.3      apache-lh
    192.168.10.4      nfs-lh
    192.168.10.5      oracle-lh
    192.168.10.6      admincon
    
    192.168.11.1      phys-sun-11
    192.168.11.2      phys-moon-11
    192.168.11.3      se3510fc
    192.168.11.4      admincon-11

    For more information about naming services, see System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP).

  2. From the administrative console, start the cconsole(1M) utility.


    admincon# cconsole &
    

    Use the cconsole utility to communicate with each individual cluster node or use the master window to send commands to both nodes simultaneously.

  3. Insert the Solaris 10 11/06 DVD-ROM in the DVD-ROM drive of phys-sun.

  4. Access the console window for phys-sun.

  5. Boot phys-sun.

    • If the system is new, turn on the system.

    • If the system is currently running, shut down the system.


      phys-sun# init 0
      

    The ok prompt is displayed.

  6. Disable automatic reboot.


    ok setenv auto-boot? false
    

    Disabling automatic reboot prevents continuous boot cycling.

  7. Create an alias for each disk.

    The assignment of aliases to the disks enables you to access and boot from the second disk if you cannot boot from the default disk.

    1. Display the disks and choose the boot disk.


      ok show-disks
      …
          Enter selection, q to quit: X
      
    2. Assign the alias name rootdisk to the disk that you chose.


      ok nvalias rootdisk Control-Y
      

      The Control-Y keystroke combination enters the disk name that you chose from the show-disks menu.

    3. Save the disk alias.


      ok nvstore
      
    4. Repeat the preceding steps to identify and assign the alias name backup_root to the alternate boot disk.

    5. Set the boot-device environment variable to the aliases for the default boot disk and backup boot disk.


      ok setenv boot-device rootdisk backup_root
      

    For more information, see OpenBoot 4.x Command Reference Manual.

  8. Start the Solaris installation program.


    ok boot cdrom
    
  9. Follow the prompts.

    • Make the following installation choices:

      Prompt 

      Value 

      Solaris Software Group 

      Entire Plus OEM Support 

      Partitions 

      Manual formatting 

      Root password 

      Same password on both nodes 

      Automatic reboot 

      No 

      Enable network services for remote clients 

      Yes 

    • Set the following partition sizes and file-system names, if not already set:

      Slice 

      Size 

      File System Name 

      remaining free space 

      /

      2 Gbyte 

      swap 

      512 Mbyte 

      /globaldevices

      2 Gbyte 

      /var

      32 Mbyte 

      for Solaris Volume Manager use 

  10. Return to Step 3 and repeat these steps on phys-moon.

  11. On both nodes, download, install, and configure Sun Update Connection.

    See http://www.sun.com/service/sunupdate/gettingstarted.html for details. Documentation for Sun Update Connection is available at http://docs.sun.com/app/docs/coll/1320.2.

  12. On both nodes, download and apply any Solaris 10 patches by using Sun Update Connection.