Solaris Cluster · Kernel Zone Administration
This document explains the complete process of replacing or expanding a disk assigned to a Solaris Kernel Zone running inside a Solaris Cluster environment. The procedure includes SAN rescan, DID device verification, ZFS pool replacement and cluster synchronization.
Disk replacement activity normally begins with a formal Change Management (CM) request raised by the requesting application or infrastructure team.
Log in to the Solaris Cluster global zone and identify all running Kernel Zones using the zoneadm list -icv command.
The command displays all configured Solaris zones along with their operational state.
In an active-active or active-passive cluster setup:
Identify the Kernel Zone where disk replacement activity needs to be performed.
Log in to the target Kernel Zone and identify the filesystem, mountpoint and ZFS pool associated with the disk that needs to be replaced or expanded.
Example output:
Carefully note the following details before continuing:
After the storage team presents the new LUN, perform a SAN rescan on the Solaris Cluster node to discover newly attached storage devices.
The SAN rescan process performs the following operations:
Verify newly detected disks using:
Compare old and newly presented disks carefully.
Cross-check the DID device assignment in the Kernel Zone configuration.
Add the newly discovered DID device to the target Kernel Zone using zonecfg .
Example configuration:
Apply the updated zone configuration:
After applying the configuration, log in to the Kernel Zone and verify that the new disk is visible.
Inside the Kernel Zone, replace the old disk with the newly added disk in the ZFS pool.
Example:
The replacement process triggers resilvering, where ZFS copies data from the old disk to the new disk.
Continue monitoring the pool status until resilvering completes and the pool state returns to ONLINE.
Once resilvering completes successfully, remove the old DID device from the Kernel Zone configuration.
Example:
Apply the updated zone configuration:
Offline and remove the old disk from the Solaris Cluster node after confirming that it is no longer used by the Kernel Zone or ZFS pool.
These commands refresh Solaris Cluster device mappings and remove stale references to the old disk.
Synchronize updated Kernel Zone XML configuration files across all cluster nodes to maintain consistency.
This ensures failover nodes contain the same Kernel Zone device configuration and DID mappings.
The Kernel Zone is now operating with the newly assigned disk and the previous disk has been completely removed from Solaris Cluster configuration and ZFS pool membership.
/dev/rdsk instead of block devices while offlining storage devices.