Hello,
I modified my setup to do:

        # Add resources / constraints:

        cibadmin -o resources -C -x 01_drbd
        cibadmin -o resources -C -x 02_filesystem
        cibadmin -o constraints -C -x 03_constraint_run_on
        cibadmin -o constraints -C -x 04_order_drbd_before_fs0
        cibadmin -o constraints -C -x 05_colocation_drbd_master_on_fs0

        cibadmin -o resources -C -x 06_ip_address
        cibadmin -o resources -C -x 07_pgsql

        cibadmin -o constraints -C -x 08_order_fs0_before_ip0
        cibadmin -o constraints -C -x 09_order_ip0_before_pgsql0
        cibadmin -o constraints -C -x 10_colocation_fs0_ip0
        cibadmin -o constraints -C -x 11_colocation_ip0_pgsql0

        Order:
                DRBD0(Master) => FS0 => IP0 => PGSQL0

        Colocation:

                DRBD0(Master) => FS0
                FS0 => IP0
                FS0 => PGSQL

        # Start resources:

        crm_resource -r ms-drbd0 -v '#default' --meta -p target_role
        crm_resource -r fs0 -v '#default' --meta -p target_role
        crm_resource -r pgsql0 -v '#default' --meta -p target_role

And now it works (maybe that was already the case) when I push over the "fs0"
ressource. The rest follows. But when I try to push the pgsql0 or the ip0
ressource over, it stops everything, doesn't promote drbd master on the other
node and hangs there. I would be really glad if someone could show me my
configuration mistake.

Btw. I was able to get all of this running in two days and I would like to
thank the people who made that possible. Linux-HA is very fine piece of
software. Now that the postgres works more or less I do the tomcats. After that
I do the router, openvpn, apache and nfs server. :-)

        Thomas
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to