T
Reaction score
0

Joined
Last seen

Profile posts Latest activity Postings About

  • F
    /etc/ocfs2/cluster.conf

    cluster:
    node_count = 2
    name = proxmox
    node:
    ip_port = 7777
    ip_address = 192.168.0.2
    number = 0
    name = proxmox1
    cluster = proxmox
    node:
    ip_port = 7777
    ip_address = 192.168.0.3
    number = 1
    name = proxmox2
    cluster = proxmox
    F
    /etc/drbd.conf

    global {
    usage-count yes;
    }
    common {
    syncer { rate 50M; }
    }
    resource r0 {
    protocol C;
    handlers {
    local-io-error "echo o > /proc/sysrq-trigger ; halt -f";
    outdate-peer "/usr/lib/heartbeat/drbd-peer-outdater -t 5";
    }
    startup {
    degr-wfc-timeout 120; # 2 minutes.
    become-primary-on both;
    }
    disk {
    on-io-error detach;
    }
    net {
    allow-two-primaries;
    after-sb-0pri discard-zero-changes;
    after-sb-1pri discard-secondary;
    after-sb-2pri disconnect;
    rr-conflict disconnect;
    }
    syncer {
    rate 110M;
    al-extents 257;
    }
    on proxmox1 {
    device /dev/drbd0;
    disk /dev/pve/data;
    address 192.168.0.2:7788;
    meta-disk /dev/pve/metadata [0];
    }
    on proxmox2 {
    device /dev/drbd0;
    disk /dev/pve/data;
    address 192.168.0.3:7788;
    meta-disk /dev/pve/metadata [0];
    }
    }
    F
    I am sorry for the very late reply, but I don't login very often. If you are sill interested:

    I have installed ocfs2 from debian reps. Look for configs in the next message.

    Please keep in mind, that it is very important in which order services start up or shut down (for example drbd should shut down after ocfs2). I did some modifications in this regard.

    proxmox1:/etc/rc6.d# ls

    /etc/rc6.d# ls
    K09apache2 K21pvetunnel K99pvebanner S35networking
    K11atd K22pvemirror README S36ifupdown
    K11cron K23ntp S02ocfs2 S40umountfs
    K20nfs-common K25hwclock.sh S06o2cb S50lvm2
    K20openbsd-inetd K25qemu-server S19drbd S60umountroot
    K20postfix K63mountoverflowtmp S20sendsigs S90reboot
    K20rsync K80apcupsd S30urandom
    K20vz K90rsyslog S31umountnfs.sh
    K21pvedaemon K91bacula-fd S32portmap

    Alex.
  • Loading…
  • Loading…
  • Loading…

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!