In this example, RDAREAs containing an abstract data type (SGMLTEXT type) are moved to a back-end server created on a new server machine. A table that is row-partitioned within a server (TABLE1) is converted to one that is row-partitioned among servers.
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 RDAREA2,RDAREA4,RDAREA6 -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 RDAREA2,RDAREA4,RDAREA6 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 that the following be satisfied:
Use the operating system's rcp or ftp command to transfer the HiRDB file system areas.
rcp /area2 host2:/area2 |
If you cannot use the method described in (a), use the procedure described below to move the HiRDB files.
pdfbkup /area2/rdarea2 /tmp/bk_rdarea2 1 |
pdfmkfs -n 30 -l 10 -k DB /area2 1 |
pdstart |
pdcopy -m /rdarea/mast/mast01 -M r -a -b /pdcopy/backup02 -p /pdcopy/list02 |