Sun Cluster Data Service for DHCP Guide for Solaris OS

ProcedureHow to Upgrade Sun Cluster HA for DHCP

Steps
  1. Save the Sun Cluster DHCP resource definitions.


    # scrgadm -pvv -j resource > file1
    
  2. Disable the Sun Cluster DHCP resource.


    # scswitch -n -j resource
    
  3. Remove the Sun Cluster DHCP resource.


    # scrgadm -r -j resource
    
  4. Configure and register the Sun Cluster DHCP resource.

    1. Go to the directory that contains the dhcp_config file and the dhcp_register file.


      # cd /opt/SUNWscdhc/util
      
    2. Edit the dhcp_config file.


      # vi dhcp_config
      
    3. Run the dhcp_register file.


      # ./dhcp_register
      
  5. Save the Sun Cluster DHCP resource definitions.


    # scrgadm -pvv -j resource > file2
    
  6. Compare the updated definitions to the definitions that you saved before you updated the resource.

    Comparing these definitions enables you to determine if any existing extension properties have changed, for example, time-out values.


    # diff file1 file2
    
  7. Amend any resource properties that were reset.


    # scrgadm -c -j resource -x|y resource
    
  8. Bring online the Sun Cluster DHCP resource.


    # scswitch -e -j resource