HP Hitachi Dynamic Link Manager Software Licenses User Manual

Page 166

Advertising
background image

In the following example, the boot disk environment name is zfsBE, and

the root pool name is rpool2.
# lucreate -n zfsBE -p rpool2
When the command terminates normally, the boot disk has been copied

to rpool2.

5

.

Execute the lustatus command to check the copied ZFS boot disk

environment.

# lustatus

Boot Environment Is Active Active Can Copy

Name Complete Now On Reboot Delete Status

---------------------------------------------------------------

s10s_u9wos_14a yes yes yes no -

zfsBE yes no no yes -

6

.

Execute the following commands to allow the system to boot in the ZFS

boot disk environment.
# luactivate boot-environment-name
# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/
bootblk LU-SCSI-device-(raw-device)
Note that the SCSI device specified for the installboot command must

be a raw device.
In the following example, the boot disk environment name is zfsBE, and

the SCSI device name for the LU is c2t50060E8010253334d0.
# luactivate zfsBE
# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/
bootblk /dev/rdsk/c2t50060E8010253334d0s0

7

.

Execute the init command and restart the host.
# init 6
Do not use the reboot command to restart the host.

8

.

Execute the zpool export command to export the root pool from the

pre-migration local boot disk environment.
# zpool export pre-migration-root-pool
In the following example, the pre-migration root pool name is rpool.
# zpool export rpool

Settings required after restarting the host:

When the pre-migration environment is a ZFS boot disk environment:
The lucreate command executed in step 4 does not copy the /export

or /export/home directory.
If you want to copy the data under these directories, copy the /export

and /export/home directories to the post-migration environment. If you

are unfamiliar with the copy procedure, contact the company with which

you have a contract for Oracle Support Services.

When the pre-migration environment is an UFS boot disk environment:
The lucreate command cannot copy UFS file systems other than the pre-

migration root file system (including a swap file system) to the post-

3-100

Creating an HDLM Environment

Hitachi Dynamic Link Manager (for Solaris) User Guide

Advertising
This manual is related to the following products: