Aside from servers, most laptops have PCMCIA slots that support dynamic reconfiguration (DR). This procedure shows how DR is now facilitated by the separation of the network link configuration from the network hardware configuration. You no longer need to reconfigure your network links after you complete DR. Instead, you just transfer the link configurations of the removed NIC to be inherited by the replacement NIC.
Procedures to perform DR vary with the type of system. Make sure that you complete the following first:
Ensure that your system supports DR.
Consult the appropriate manual that describes DR on your system.
To locate current documentation about DR on Sun servers, search for dynamic reconfiguration on http://docs.sun.com
The following procedure refers only to aspects of DR that are specifically related to the use of flexible names for data links. The procedure does not contain the complete steps to perform DR. You must consult the appropriate DR documentation for your system.
Assume the proper role that allows you to perform DR on the system, such as the Primary Administrator role or superuser.
The Primary Administrator role includes the Primary Administrator profile. To create the role and assign the role to a user, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.
(Optional) Display information about physical attributes of data links currently on the system.
# dladm show-phys |
Perform the DR procedures as detailed in your system's documentation to remove a NIC and then insert a replacement NIC.
Consult your system's DR documentation to perform this step.
After you have installed the replacement NIC, proceed to the next step.
Make sure that the replacement NIC is not being referenced by other configurations in the system.
For example, the replacement NIC you install is ce0. If a file /etc/hostname.ce0 exists in the system, remove that file.
Transfer the link configuration of the removed NIC to the replacement NIC.
# dladm rename-link replacementNIC-linkname removedNIC-linkname |
Refers to the default link name of the replacement NIC upon installation. When you insert a NIC into a system for the first time, the NIC's link name is hardware-based, such as bge0 or ce0.
Refers to the customized link name of the NIC that you removed.
Complete the DR process by enabling the new NIC's resources to become available for use by the Solaris release.
For example, you use the cfgadm command to configure the NIC. For more information see the cfgadm(1M) man page.
(Optional) Display link information.
For example, you can use either dladm show-phys or dladm show-link to show information about the data links.
This example shows how a bge card with link name net0 is replaced by a ce card. The link configurations of net0 are transferred from bge to ce after ce is connected to the system.
# dladm show-phys LINK MEDIA STATE SPEED DUPLEX DEVICE subitops1 Ethernet up 100Mb full qfe3 net0 Ethernet up 100Mb full bge0 |
You perform the DR-specific steps such as using cfgadm to disconnect bge and then install ce. Then the procedure continues.
# ls /etc/hostname.* hostname.ce0 # rm /etc/hostname.ce0 # dladm rename-link ce0 net0 # dladm show-phys LINK MEDIA STATE SPEED DUPLEX DEVICE subitops1 Ethernet up 100Mb full qfe3 net0 Ethernet up 100Mb full ce0 |