Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Tue, May 22, 2012 at 5:05 PM, Matthew Bloch <matthew at bytemark.co.uk> wrote:
> I'm not using drbdadm and the helper, my "pairvm" script manages DRBD
> for VMs using this command to attach the disc:
>
> drbd.setup("disk", drbd_backing_device, drbd_meta_device, 0)
>
> and these commands to connect the network, pretty unambitious stuff I
> assume:
>
> drbd.setup("net", *(drbd_net_args + extra_options))
> drbd.setup("syncer", "-r", "20M")
> def drbd_net_args
> [
> "#{Global.ips['here_drbd']}:#{drbd_port}",
> "#{Global.ips['there_drbd']}:#{drbd_port}",
> "B",
> "--after-sb-0pri", "discard-zero-changes",
> "--after-sb-1pri", "consensus",
> "--after-sb-2pri", "disconnect",
> "--ping-timeout", "50"
> ]
> end
>
> NB these just translate to "drbdsetup /dev/drbdX net ..." with the IPs
> and ports automatically assigned by the script.
"drbdsetup /dev/drbdX show" to a pastebin please?
Cheers,
Florian
--
Need help with High Availability?
http://www.hastexo.com/now