Dynamic Reconfiguration/Alternate Pathing/IP Multi-Pathing
For Enterprise X500 Servers
Author:  John Fragalla, Technical Account Manager
July 18, 2001


Document

Dynamic Reconfiguration/Alternate Pathing Setup
This setup will only take one reboot.

Applications Setup
Install Alternate Pathing 2.2 for Solaris 7 Only (bundled with Solaris on Supplement CD), IP Multi-Pathing should be used for Solaris 8.
Install Sun Management Center 3.0 (optional).  Included in Solaris 8 Media Kit or download from http://www.sun.com/solaris/sunmanagementcenter/

Dynamic Reconfiguration Setup
OS : Solaris 2.7 5/99 or higher

Boot Prom Version: 3.2.29
            You may need to download patch 103346-29 to update the prom version.

Install recommended pathes for Solaris 7 or Solaris 8 from http://sunsolve.sun.com

Modify the /etc/system file:
set pln:pln_enable_detach_suspend=1
set soc:soc_enable_detach_suspend=1
set kernel_cage_enable=1

IP Multi-Pathing Setup for Networking for Solaris 8 Systems Only
http://www.sun.com/blueprints/0201/Multipathing.pdf

Alternate Pathing Setup for Networking For Solaris 7 Systems Only
- Software version: Alternate Pathing 2.2
- Alternate pathing database to store Alternate pathing data: A dedicated disk slice(s) at least 300Kbytes.
                You might need to change your filesystem layout to accommodate for this disk slice.
                         command:     #apdb -c raw-disk-slice (-f)
                      example:      #apdb -c /dev/rdsk/c0t0d0s6 -f
- Alternate pathing your primary network interface to a backup network interface. This will create a meta network path group.
                         command:     #apnet -c -p primary-network-interface -a backup-network-interface
                                            #apdb -C
                      example:      #apnet -c -p hme0 -a hme1
- To check your alternate pathing configuration
                        command:     #apconfig -N
- Rename /etc/hostname.primary-network-interface to /etc/hostname.m primary-network-interface
                            example:      #mv /etc/hostname.hme0 /etc/hostname.mhme0

Boot Prom Setup
- Issue a command to bring down your system to the boot prom:
                        command:     #init 0
- Turn off memory interleaving
                        command:     ok setenv memory-interleave min
                        command:     ok boot

[return to top]


Alternate Pathing Commands for Networking for Solaris 7 Systems Only

In order to dynamically reconfigure a S-Bus board with a primary network interface, you have to redirect the network traffic to the back-up network interface.
                        command:     #apconfig -P mprimary-network-interface-abackup-network-interface
                            example:       #apconfig -P mhme0 -a hme1
 

To switch the network traffic back to your primary network interface, issue this command:
                        command:     #apconfig -P mprimary-network-interface-aprimary-network-interface
                            example:     #apconfig -P mhme0 -a hme0

[return to top]


Dynamic Reconfiguration Commands

CPU/Memory Boards

In order to Detach a CPU/Memory board, following the directions below:

  1. Perform a command to check the components that could be dynamically reconfigurable: command    #cfgadm
  2. Unconfigure the memory:    command    #cfgadm -c unconfigure ac#:bank#
  3. Unconfigure the CPU/Memory board:    command    #cfgadm -c unconfigure sysctrl0:slot#
  4. Disconnect the CPU/Memory board:    command    #cfgadm -c disconnect sysctrl0:slot#
  5. Perform a command to check that the CPU/Memory board dynamically detached successfully:    command    #cfgadm
        Example:
    1. #cfgadm
    2. #cfgadm -c unconfigure ac1:bank0
    3. #cfgadm -c unconfigure ac1:bank1    (optional, if memory are on both banks)
    4. #cfgadm -c unconfigure sysctrl0:slot2
    5. #cfgadm -c disconnect sysctrl0:slot2
    6. #cfgadm


In order to Attach a CPU/Memory board, following the directions below:

  1. Perform a command to check the components that could be dynamically configurable: command    #cfgadm
  2. Connect the CPU/Memory board:    command    #cfgadm -f -c connect sysctrl0:slot#
  3. Configure the CPU/Memory board:    command    #cfgadm -f -c configure sysctrl0:slot#
  4. Configure the memory for that board:    command    #cfgadm -f -c configure ac#:bank#
  5. Perform a command to check that the CPU/Memory board dynamically attached successfuly:    command    #cfgadm
        Example:
    1. #cfgadm
    2. #cfgadm -f -c connect sysctrl0:slot2
    3. #cfgadm -f -c configure sysctrl0:slot2
    4. #cfgadm -f -c configure ac1:bank0
    5. #cfgadm -f -c configure ac1:bank1 (optional, if memory are on both banks)
    6. #cfgadm


[return to top]
 

I/O Boards

In order to Detach an I/O board, following the directions below:

  1. Perform a command to check the components that could be dynamically reconfigurable: command    #cfgadm
  2. Unconfigure the I/O board:    command    #cfgadm -c unconfigure sysctrl0:slot#
  3. Disconnect the I/O board:    command    #cfgadm -c disconnect sysctrl0:slot#
  4. Perform a command to check that the I/O board dynamically detached successfully: command    #cfgadm
        Example:
    1. #cfgadm
    2. #cfgadm -c unconfigure sysctrl0:slot3
    3. #cfgadm -c disconnect sysctrl0:slot3
    4. #cfgadm
In order to Attach an I/O board, following the directions below:
  1. Perform a command to check the components that could be dynamically configurable: command    #cfgadm
  2. Connect the I/O board:    command    #cfgadm -f -c connect sysctrl0:slot#
  3. Configure the I/O board:    command    #cfgadm -f -c configure sysctrl0:slot#
  4. Perform a command to check that the I/O board dynamically attached successfuly: command    #cfgadm
        Example:
    1. #cfgadm
    2. #cfgadm -f -c connect sysctrl0:slot3
    3. #cfgadm -f -c configure sysctrl0:slot3
    4. #cfgadm


[return to top]


Author

John Fragalla
Technical Account Manager
Western Education
Sun Microsystems, Inc.
email:  john.fragalla@sun.com

[return to top]