Topology
/agave_all_container/Ubuntu11.goldimage-flat.vmdk and test.txt \
---(adonis cluster) ----LAN/WAN ---(haley cluster) ---ctr
---/agave_all_container
Commands:
1. Create Protection domain (adonis)
ncli pd create name=file_pd_test
2. Create Remote Site:(adonis) vstore-map is same as container-map
ncli> remote-site create name=haley address-list
\="10.3.176.158,10.3.176.170,10.3.176.182"
\vstore-map="agave_all_container:agave_all_container" enable-proxy=true
3. Create Remote site in haley
ncli> remote-site create name=adonis address-list
\="10.3.100.145,10.3.100.146,10.3.100.147,10.3.100.148"
\vstore-map="agave_all_container:agave_all_container" enable-proxy=true
4. Configure files to be protected ( in adonis)
ncli> pd protect name=file_pd_test files=
\"/agave_all_container/Ubuntu11.goldimage-flat.vmdk"
Protection Domain : file_pd_test
Active : true
Marked For Removal : false
Remote Sites :
Next Snapshot Time : -
Virtual Machine(s) : 0
NFS Files : 1
NFS File Name :
\/agave_all_container/Ubuntu11.goldimage-flat.vmdk
Consistency Group : Ubuntu11.goldimage-flat
ncli> pd protect name=file_pd_test files="/agave_all_container/test.txt"
Protection Domain : file_pd_test
Active : true
Marked For Removal : false
Remote Sites :
Next Snapshot Time : -
Virtual Machine(s) : 0
NFS Files : 2
NFS File Name : /agave_all_container/
\Ubuntu11.goldimage-flat.vmdk
Consistency Group : Ubuntu11.goldimage-flat
NFS File Name : /agave_all_container/test.txt
Consistency Group : test
5. To make an immediate snapshot ( in adonis)
ncli> pd add-one-time-snapshot name="file_pd_test" remote-sites=haley
Action Id : 14649
Start Time : 06/10/2013 14:06:45 PDT
Remote Sites : haley
Snapshot retention (secs) : Forever
6. ncli> pd list-snapshots
ID : 14653
Protection Domain : file_pd_test
Create Time : 06/10/2013 14:06:45 PDT
Expiry Time : 06/28/2081 17:20:52 PDT
Virtual Machine(s) : 0
Replicated To Site(s) : haley
Verifying on Haley:
root@NTNX-QTFCE521601498-1-CVM:10.3.100.145:
\/tmp/mnt/.snapshot/89/401-1370887974745103-14689# ls
Ubuntu11.goldimage-flat.vmdk
After the copy over : http://haley-c1:2020 and http://adonis-c1:2020 (to verify)
On haley:
nutanix@Haley-0-A-CVM:10.3.176.158:~$ ncli pd ls
Protection Domain : pd_test
Active : false
Marked For Removal : false
Remote Sites :
Next Snapshot Time : -
Virtual Machine(s) : 0
NFS Files : 0
Protection Domain : partha
Active : true
Marked For Removal : false
Remote Sites :
Next Snapshot Time : -
Virtual Machine(s) : 0
NFS Files : 0
Protection Domain : file_pd_test
Active : false
Marked For Removal : false
Remote Sites :
Next Snapshot Time : -
Virtual Machine(s) : 0
NFS Files : 0
ncli> pd activate name=file_pd_test
Request to activate the protection domain file_pd_test is successful
ncli> pd ls
Protection Domain : pd_test
Active : false
Marked For Removal : false
Remote Sites :
Next Snapshot Time : -
Virtual Machine(s) : 0
NFS Files : 0
Protection Domain : partha
Active : true
Marked For Removal : false
Remote Sites :
Next Snapshot Time : -
Virtual Machine(s) : 0
NFS Files : 0
Protection Domain : file_pd_test
Active : true
Marked For Removal : false
Remote Sites :
Next Snapshot Time : -
Virtual Machine(s) : 0
NFS Files : 2
NFS File Name :
\/agave_all_container/Ubuntu11.goldimage-flat.vmdk
Consistency Group : Ubuntu11.goldimage-flat
NFS File Name : /agave_all_container/test.txt
Consistency Group : test
[root@Haley-0-A-CVM test]# ls
test.txt Ubuntu11.goldimage-flat.vmdk
thank you for the blog visit us forSAN Solutions in Dubai
ReplyDelete