Configure Replication Pairs on Global Zone with Exported Devices
Configure Replication pairs on Global zone with File System
De-configure Replication Pairs from Global zone
You can replicate data on non-global zones using exported device from global zone.
You can use the following steps to create cxbf devices and configure for replication at the destination computer.
Note that, this procedure is required only if the file system type is not snap supported using native snap mechanism (for example, if the File System type is UFS, then there is no native snap support).
For example:
Non-Global zone name = zone3
Non-Global zone Device = c1t500A098199FAB9F7d193s2
Global zone device = /dev/dsk/c1t500A098199FAB9F7d193s2
Mount point for replication: /oracle_data is mounted on /tank/5G3/zone3/root/ c1t500A098199FAB9F7d193s2
unmount /oracle_data
./create_cxbf /dev/dsk/c1t500A098199FAB9F7d193s2
For example::
james# cvsnap
cvsnap> show
No of bf devices 1
c1t500A098199FAB9F7d193s2
cvsnap>
zonecfg -z zone3
zonecfg zone3> add device
zonecfg zone3> set match=/dev/cxbf/dsk/c1t500A098199FAB9F7d193s2
zonecfg zone3:device> end
zonecfg zone3> commit
zonecfg zone3> exit
mount -F ufs /dev/cxbf/dsk/c1t500A098199FAB9F7d193s2 /nonglobalzonedata
/tank/5G3/zone3/root/nonglobalzonedata on /tank/5G3/zone3/root/dev/cxbf/dsk/c1t500A098199FAB9F7d193s2
/tank/5G3/one3/root/localzonedata -> /testodata/cdrdest
Use this procedure when the non-global zone’s file system is shared from global zone as lofs file system. The file system on global zone should be residing on the snap supported device or snap supported volume manager.
/tank/5G3/one3/root/localzonedata -> /testodata/cdrdest
You can de-configure replication pairs from global zone as follows:
opt/calypso/Base/cdrp –q | grep <mountpoint>
File System Device......... /dev/cxbf/dsk/c1t500A098199FAB9F7d193s2
Mounted under.............. /tank/5G3/zone3/root/localzonedata
CDR Monitoring............. DISABLED
umount <mouintpoint>
./delete_cxbf c1t500A098199FAB9F7d193s2
james # cvsnap
cvsnap> show
No bf devices found!
cvsnap>