Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello Everyone, I was wondering what kind of op starts you have that ensure an as smooth as possible connecting or DRBD, and mounting of filesystems? I am usering: node mydrbd1 \ attributes standby="off" node mydrbd2 \ attributes standby="off" primitive ip1 ocf:heartbeat:IPaddr2 \ params ip="192.168.2.5" cidr_netmask=24 \ nic="eth1" primitive drbd_mysql ocf:linbit:drbd \ params drbd_resource="r0.res" \ op start interval="15" timeout="60" \ op stop interval="0" timeout="120" ms ms_drbd_mysql drbd_mysql \ meta master-max="1" master-node-max="1" \ clone-max="2" clone-node-max="1" \ notify="true" primitive fs_mysql ocf:heartbeat:Filesystem \ params device="/dev/drbd0" directory="/service" fstype="ext3" \ op start interval="15" timeout="60" \ op stop interval="0" timeout="120" \ meta target-role="Started" group HAServices ip1 fs_mysql \ meta target-role="Started" colocation mysql_on_drbd \ inf: ms_drbd_mysql:Master HAServices property $id="cib-bootstrap-options" \ no-quorum-policy="ignore" \ stonith-enabled="false" \ expected-quorum-votes="2" \ dc-version="1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c" \ cluster-recheck-interval="0" \ cluster-infrastructure="openais" rsc_defaults $id="rsc-options" \ resource-stickiness="100" Sep 22 19:08:29 mydrbd1 attrd: [7402]: notice: attrd_trigger_update: Sending flush op to all hosts for: master-drbd_mysql:1 (1000) Sep 22 19:08:29 mydrbd1 attrd: [7402]: notice: attrd_perform_update: Sent update 8: master-drbd_mysql:1=1000 Sep 22 19:08:30 mydrbd1 lrmd: [7401]: info: RA output: (drbd_mysql:1:start:stdout) Sep 22 19:08:30 mydrbd1 crmd: [7404]: info: process_lrm_event: LRM operation drbd_mysql:1_start_0 (call=6, rc=0, cib-update=13, confirmed=true) ok Sep 22 19:08:30 mydrbd1 lrmd: [7401]: info: RA output: (fs_mysql:start:stderr) FATAL: Module scsi_hostadapter not found. Sep 22 19:08:30 mydrbd1 lrmd: [7401]: info: RA output: (fs_mysql:start:stderr) /dev/drbd0: Wrong medium type Sep 22 19:08:30 mydrbd1 lrmd: [7401]: info: RA output: (fs_mysql:start:stderr) mount: block device /dev/drbd0 is write-protected, mounting read-only Sep 22 19:08:30 mydrbd1 lrmd: [7401]: info: RA output: (fs_mysql:start:stderr) Sep 22 19:08:30 mydrbd1 lrmd: [7401]: info: RA output: (fs_mysql:start:stderr) mount: Wrong medium type Sep 22 19:08:30 mydrbd1 lrmd: [7401]: info: RA output: (fs_mysql:start:stderr) Also, how do I stop pacemaker from trying to run the fs_mysql on mydrbd1 which is a slave? Failed actions: fs_mysql_start_0 (node=mydrbd1, call=7, rc=1, status=complete): unknown error Finally, I am unclear how to set a node as master or slave. I would actually like mydrbd1 to be the master. Thanks in Advance, Nick.