InfoScale™ 9.0 Dynamic Multi-Pathing Administrator's Guide - Solaris
- Understanding DMP
- How DMP works
- Disk device naming in DMP
- Setting up DMP to manage native devices
- Using Dynamic Multi-Pathing (DMP) devices with Oracle Automatic Storage Management (ASM)
- Administering DMP
- Managing DMP devices for the ZFS root pool
- Administering DMP using the vxdmpadm utility
- Gathering and displaying I/O statistics
- Specifying the I/O policy
- Administering disks
- Discovering and configuring newly added disk devices
- About discovering disks and dynamically adding disk arrays
- How to administer the Device Discovery Layer
- Changing the disk device naming scheme
- Dynamic Reconfiguration of devices
- About the DMPDR utility
- Reconfiguring a LUN online that is under DMP control using the Dynamic Reconfiguration tool
- Manually reconfiguring a LUN online that is under DMP control
- Event monitoring
- Performance monitoring and tuning
- Appendix A. DMP troubleshooting
- Appendix B. Reference
Cloning the boot environment with DMP
When the ZFS root pool is on DMP, you can use the beadm create command to create a clone of the boot environment.
See the Oracle website for more details.
If you intend to use multiple boot environments (BEs) in a root pool under DMP control, create the new BEs after you enable the dmp_native_support tunable parameter.
If multiple boot environments (BEs) exist in a root pool before you enable the dmp_native_support tunable parameter, then only the current BE is bootable after you enable dmp_native_support tunable parameter. To boot using another inactive BE, you must disable the dmp_native_support tunable parameter.
To clone the boot environment in the existing root pool
- To clone the boot environment in the existing root pool, run the following command.
# beadm create newBE
- Activate the new boot environment.
# beadm activate newBE
- Reboot the system using any of the new paths to boot from the new BE.
To clone the boot environment in a new pool
- Create the new zpool using a DMP device.
# zpool create new_rpool hitachi_vsp0_058s0
- Run the following command to apply the DMP-related configuration changes:
# bootadm update-archive
- Clone the boot environment in the new zpool.
# beadm create -p new_rpool newBE
- Install the bootblock on the DMP device using one of the following commands:
# installboot -F zfs - /platform/`uname -i`/lib/fs/zfs/bootblk \ /dev/rdsk/hitachi_vsp0_058s0
# sync
OR
# bootadm install-bootloader -fv -P new_rpool
OR
# zpool set bootfs=rpool/ROOT/solaris new_rpool
- Activate the new boot environment.
# beadm activate newBE
- Add the physical names of paths of the DMP device to the boot-device variable.
- Re-create the swap volume.
For example:
# zfs create -V 4g new_rpool/swap
- Update the
/etc/vfstab
entry for the new swap device with following entry:/dev/dsk/new_rpool/swap - - swap - no - -
- Re-create and set the dump volume.
# zfs create -V 4g new_rpool/dump
# dumpadm -d /dev/dsk/new_rpool/dump
- Reboot the system using any of the new paths to boot from the new BE.
To delete the clone of the boot environment
- To delete the boot environment, run the following command.
# beadm delete newBE