Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
hi all, i have a problem in sync'ing 2 hosts. actually they dont even when i see in the status, that all goes fine! for maintenance reasons i had to move my xen from host xen001 to host xen002. after stopping xen001 and starting xen002 i realized, that i had a 2 month old disk replication. after stopping drbd and doing the "dd bs=4M if=/dev/vgmain/lv_server01 | ssh -p 2222 root at 10.255.255.2 'dd bs=4M of=/dev/vgmain/lv_server01'" i had again the latest copy onto the xen002 L any glue in that? thanks a lot, walter. (ping works between hosts) *** root at srv-ldeb-xen001:~# ping 10.255.255.2 PING 10.255.255.2 (10.255.255.2) 56(84) bytes of data. 64 bytes from 10.255.255.2: icmp_req=1 ttl=64 time=0.166 ms root at srv-ldeb-xen002:~# ping 10.255.255.1 PING 10.255.255.1 (10.255.255.1) 56(84) bytes of data. 64 bytes from 10.255.255.1: icmp_req=1 ttl=64 time=0.169 ms *** (drbd status) *** root at srv-ldeb-xen001:~# /etc/init.d/drbd status drbd driver loaded OK; device status: version: 8.3.11 (api:88/proto:86-96) srcversion: 0D2B62DEDB020A425130935 m:res cs ro ds p mounted fstype 0:server01 Connected Primary/Secondary UpToDate/UpToDate C 1:server02 Connected Primary/Secondary UpToDate/UpToDate C 2:server03 Connected Primary/Secondary UpToDate/UpToDate C 3:server04 Connected Primary/Secondary UpToDate/UpToDate C 4:server05_1 Connected Primary/Secondary UpToDate/UpToDate C 5:server05_2 Connected Primary/Secondary UpToDate/UpToDate C 6:server06 Connected Primary/Secondary UpToDate/UpToDate C root at srv-ldeb-xen001:~# *** (lvm and drbd install script) *** lvcreate -L 10GB -n lv_drbd-meta vgmain lvcreate -L 100GB -n lv_server01 vgmain lvcreate -L 50GB -n lv_server02 vgmain lvcreate -L 100GB -n lv_server03 vgmain lvcreate -L 100GB -n lv_server04 vgmain lvcreate -L 50GB -n lv_server05_1 vgmain lvcreate -L 1.15TB -n lv_server05_2 vgmain lvcreate -L 50GB -n lv_server06 vgmain drbdadm -f create-md server01 drbdadm -f create-md server02 drbdadm -f create-md server03 drbdadm -f create-md server04 drbdadm -f create-md server05_1 drbdadm -f create-md server05_2 drbdadm -f create-md server06 /etc/init.d/drbd start drbdadm up server01 drbdadm up server02 drbdadm up server03 drbdadm up server04 drbdadm up server05_1 drbdadm up server06 (only on xen001 host) drbdsetup /dev/drbd0 primary -o drbdsetup /dev/drbd1 primary -o drbdsetup /dev/drbd2 primary -o drbdsetup /dev/drbd3 primary -o drbdsetup /dev/drbd4 primary -o drbdsetup /dev/drbd5 primary -o drbdsetup /dev/drbd6 primary -o *** -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120627/1d41a1a8/attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: global_common.conf Type: application/octet-stream Size: 3248 bytes Desc: not available URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120627/1d41a1a8/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: xen.res Type: application/octet-stream Size: 2094 bytes Desc: not available URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120627/1d41a1a8/attachment-0001.obj>