Pre-work
i) Set up zfs
replication isci zone lun and nfs shares
ii) Make sure
zone root zpool has different name on source and destination system
iii) Add same
IB IP as zfs-sa at source to zfs-sa at destination
iv) Set up
key authentication to zfs-sa at destination
v) Create script at source to periodically save zone configs
v) Create script at source to periodically save zone configs
1. Snap ZFS
pool
2. Snap zfs
project/shares
3. Share
zpool lun
On DR:
a. Create a project
to put your clones under
b. List the
snapshots on the zpool lun
c. Create
the clone off the appropriate snap
4. Share zfs
projects/shares
Do
this in the GUI, for each project:
-
click on Shares
-
underneath Shares click on Projects
-
underneath Projects click on Replica
-
move the mouse over the relevant project and a pencil and trash bin icon will
show on the right, click on the pencil
-
Click on Replication
-
below Replication should be a bunch of icons
-
click on the + icon ("Clone most recently received project snapshot")
- You might get an error at this point. Just
try again and again.
-
When you get to the screen asking for new project name, use the current project
name and add "_DR" and click on Continue.
Or in an actual DR situation:
Instead of the + icon, you break
replication. Afterwards you will need to reverse replication before
failing back.
5. Import
zpool
On destination server:
cfgadm -alv
devfsadm -Cv
zpool import -R /
zones
6. Recreate
zone
Configure
zones
Attach zones
Boot zones
No comments:
Post a Comment
Note: only a member of this blog may post a comment.