Administering hot-relocation

Modifying the behavior of hot-relocation

395

If the system goes down after the new subdisks are created on the destination disk, but before all the data has been moved, re-execute vxunreloc when the system has been rebooted.

Caution: Do not modify the string UNRELOC in the comment field of a subdisk record.

Modifying the behavior of hot-relocation

Hot-relocation is turned on as long as the vxrelocd process is running. You should normally leave hot-relocation turned on so that you can take advantage of this feature if a failure occurs. However, if you choose to disable hot-relocation (perhaps because you do not want the free space on your disks to be used for relocation), you can prevent vxrelocd from starting at system startup time by editing the startup file that invokes vxrelocd:

/sbin/init.d/vxvm-recover.

You can alter the behavior of vxrelocd as follows:

To prevent vxrelocd starting, comment out the entry that invokes it in the startup file:

#nohup vxrelocd root &

By default, vxrelocd sends electronic mail to root when failures are detected and relocation actions are performed. You can instruct vxrelocd to notify additional users by adding the appropriate user names as shown here:

nohup vxrelocd root user1 user2 &

To reduce the impact of recovery on system performance, you can instruct vxrelocd to increase the delay between the recovery of each region of the volume, as shown in the following example:

nohup vxrelocd -o slow[=IOdelay] root &

where the optional IOdelay value indicates the desired delay in milliseconds. The default value for the delay is 250 milliseconds.

After making changes to the way vxrelocd is invoked in the startup file, reboot the system so that the changes go into effect.

You can also stop hot-relocation at any time by killing the vxrelocd process (this should not be done while a hot-relocation attempt is in progress).

When executing vxrelocd manually, either include /etc/vx/bin in your PATH or specify vxrelocd’s absolute pathname, for example:

#PATH=/etc/vx/bin:$PATH

#export PATH

#nohup vxrelocd root &

Page 394
Image 394
HP Veritas Volume Manager 5.0 -UX 11i v3 manual Modifying the behavior of hot-relocation, # nohup vxrelocd root