In this example, RDAREAs are moved to a back-end server created on a new server machine.
For details about adding a unit, see 11.1 Adding a unit.
pdcopy -m /rdarea/mast/mast01 -M r -a -b /pdcopy/backup01-p /pdcopy/list01 |
pdhold -r RDAREA1,RDAREA2,RDAREA3 -c |
Create a control statements file (/pdmod/move01) containing a move rdarea statement for the pdmod command. The following shows the contents of this control statements file:
move rdarea RDAREA1,RDAREA2,RDAREA3 1 |
pdmod -a /pdmod/move01 |
pdstop |
Use one of the following methods to transfer the HiRDB files of the RDAREAs being moved to the new server machine.
This method requires the following to be satisfied:
Use the operating system's rcp or ftp command to transfer the HiRDB file system areas.
rcp /area1 host2:/area1 |
If you cannot use the method described in (a), use the procedure described below to move the HiRDB files.
pdfbkup /area1/rdarea1 /tmp/bk_rdarea1 1 |
pdfmkfs -n 30 -l 10 -k DB /area1 1 |
pdstart |
pdcopy -m /rdarea/mast/mast01 -M r -a -b /pdcopy/backup02-p /pdcopy/list02 |