Sun Cluster Quick Start Guide for Solaris OS

ProcedureHow to Configure the Operating System

This procedure describes how to modify certain system settings to support the Quick Start configuration.

  1. On both nodes, enable Solaris multipathing functionality.


    phys-X# /usr/sbin/stmsboot -e
    
    -e

    Enables Solaris I/O multipathing

    For more information, see the stmsboot(1M) man page.

  2. On both nodes, update the /etc/inet/ipnodes file with all public hostnames and logical addresses for the cluster.

    Except for the loghost entries, these entries are the same on both nodes.


    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.



    phys-X# vi /etc/inet/ipnodes
    
    • On phys-sun, add the following entries:


      127.0.0.1         localhost
      192.168.10.1      phys-sun  loghost
      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-11
      192.168.11.4      admincon-11
    • On phys-moon, add the following entries:


      127.0.0.1         localhost
      192.168.10.1      phys-sun
      192.168.10.2      phys-moon  loghost
      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-11
      192.168.11.4      admincon-11
  3. On both nodes, ensure that the following kernel parameters are set to at least the minimum values that Oracle requires.

    1. Display the settings for the default project.


      phys-X# prctl -i project default
      
    2. If no kernel parameters are set, or if any kernel parameters are not set to the minimum required value for Oracle as shown in the following table, set the parameter.


      phys-X# projmod -s -K "parameter=(priv,value,deny)" default
      

      Oracle Kernel Parameter 

      Minimum Required Value 

      process.max-sem-nsems

      256 

      project.max-sem-ids

      100 

      project.max-shm-ids

      100 

      project.max-shm-memory

      4294967295 

    3. Verify the new settings.


      phys-X# prctl -i project default
      

    These settings are the minimum required values to support the Oracle software in a Sun Cluster Quick Start configuration. For more information about these parameters, see the Oracle10g Installation Guide.

  4. On both nodes, add the following entries to the /etc/system file.


    phys-X# vi /etc/system
    set ce:ce_taskq_disable=1
    exclude:lofs
    • The first entry supports ce adapters for the private interconnect.

    • The second entry disables the loopback file system (LOFS), which must be disabled when Sun Cluster HA for NFS is configured on a highly available local file system. For more information and alternatives to disabling LOFS when Sun Cluster HA for NFS is configured, see the information about loopback file systems in Solaris OS Feature Restrictions in Sun Cluster Software Installation Guide for Solaris OS.

    These changes take effect at the next system reboot.

  5. On both nodes, set NFS version 3 as the default version.

    1. Add the following entry to the /etc/default/nfs file.


      NFS_SERVER_VERSMAX=3
    2. Disable the NFS service.


      phys-X# svcadm disable network/nfs/server
      
    3. Re-enable the NFS service.


      phys-X# svcadm enable network/nfs/server
      
  6. On both nodes, update the /devices and /dev entries.


    phys-X# devfsadm -C
    
  7. On both nodes, confirm that the storage array is visible.


    phys-X# luxadm probe