<head>
<style>
@-ms-viewport {
width: device-width;
}
</style>
</head>
<body><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td style="max-width: 100%; height: auto;"><!-- RS-STRIP-BEGIN image-74-84327@rs.bitco.co.za--><img src="cid:image-74-84327@rs.bitco.co.za" class="rocketseed-strip" usemap="#imgmap201741175652" border="0" beacon_priority="0" style="max-width: 100%; height: auto;"><map id="imgmap201741175652" name="imgmap201741175652">
<area shape="rect" alt="" coords="216,99,475,149" href="https://www.bitco.co.za/step-up-promotion/" target=""></map><!-- RS-STRIP-END image-74-84327@rs.bitco.co.za--></td></tr></tbody></table><table border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td style="max-width: 100%; height: auto;" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="max-width: 100%; height: auto;"><br>Hi
<br />
<br />
I am having endless problems with ocf::heartbeat:VirtualDomain when
<br />
failing over to second node. The virtualdomain goes into a stopped state
<br />
<br />
virtdom_compact        (ocf::heartbeat:VirtualDomain):        Stopped
<br />
<br />
* virtdom_compact_start_0 on node2.kvm.bitco.co.za 'unknown error' (1):
<br />
call=93, status=complete, exitreason='Failed to start virtual domain
<br />
compact.',
<br />
last-rc-change='Thu Apr 13 09:11:16 2017', queued=0ms, exec=369ms
<br />
<br />
I then aren't able to get it started without deleting the resource and
<br />
adding it again:
<br />
<br />
pcs resource create virtdom_compact ocf:heartbeat:VirtualDomain
<br />
config=/etc/libvirt/qemu/compact.xml meta allow-migrate=true op monitor
<br />
interval="30"
<br />
<br />
Looking at virsh list --all
<br />
virsh list --all
<br />
Id Name State
<br />
----------------------------------------------------
<br />
<br />
It doesn't seam like ocf:heartbeat:VirtualDomain is able to define the
<br />
domain and thus the command can't start the domain:
<br />
<br />
virsh start compact
<br />
error: failed to get domain 'compact'
<br />
error: Domain not found: no domain with matching name 'compact'
<br />
<br />
Am I missing something in my configuration:
<br />
pcs resource create my_FS ocf:heartbeat:Filesystem params
<br />
device=/dev/sdc1 directory=/images fstype=xfs
<br />
pcs resource create my_VIP ocf:heartbeat:IPaddr2 ip=192.168.99.10
<br />
cidr_netmask=22 op monitor interval=10s
<br />
pcs resource create virtdom_compact ocf:heartbeat:VirtualDomain
<br />
config=/etc/libvirt/qemu/compact.xml meta allow-migrate=true op monitor
<br />
interval="30"
<br />
<br />
Regards
<br />
<br />
</td></tr></tbody></table></td></tr><tr><td style="max-width: 100%; height: auto;"><br><table border="0" cellpadding="0" cellspacing="0" width="627">
<tbody><tr><td style="max-width: 100%; height: auto;" colspan="2" nowrap="nowrap"><p style="margin: 0;"><font face="tahoma,arial,helvetica,sans-serif"><b><font size="2.5" style="color: #0077c0;"> Jaco van Niekerk</font></b></font></p>
<p style="margin: 0;"><font face="tahoma,arial,helvetica,sans-serif"><b><font size="2.5"> Solutions Architect</font></b></font></p></td><td style="max-width: 100%; height: auto;" align="right" valign="top" rowspan="5"><!-- RS-STRIP-BEGIN image-18-84327@rs.bitco.co.za--><a href="http://rs.bitco.co.za/rs/134jckuF"><img src="cid:image-18-84327@rs.bitco.co.za" class="rocketseed-strip" border="0" beacon_priority="0" style="max-width: 100%; height: auto;"></a><!-- RS-STRIP-END image-18-84327@rs.bitco.co.za--></td></tr><tr><td style="max-width: 100%; height: auto;"> </td><td style="max-width: 100%; height: auto;"> </td></tr><tr><td style="max-width: 100%; height: auto;" nowrap="nowrap"><p style="margin: 0;"><font face="tahoma,arial,helvetica,sans-serif" size="2"> <font style="color: #0077c0;"><b>T:</b></font> 087 135 0000 | Ext: 2102</font></p></td><td style="max-width: 100%; height: auto;"> </td><td style="max-width: 100%; height: auto;"> </td><td style="max-width: 100%; height: auto;"> </td></tr><tr><td style="max-width: 100%; height: auto;" colspan="2" nowrap="nowrap"><p style="margin: 0;"><font face="tahoma,arial,helvetica,sans-serif" size="2"> <a style="text-decoration: none; color: #000000;" href="mailto:jaco@bitco.co.za"><b><font style="color: #0077c0;">E:</font></b> jaco@bitco.co.za</a></font></p></td><td style="max-width: 100%; height: auto;"> </td></tr><tr><td style="max-width: 100%; height: auto;" colspan="2" nowrap="nowrap"><p style="margin: 0;"><font face="tahoma,arial,helvetica,sans-serif" size="2"> </font></p></td><td style="max-width: 100%; height: auto;"> </td></tr><tr><td style="max-width: 100%; height: auto;"> </td><td style="max-width: 100%; height: auto;" colspan="3"></td></tr><tr><td style="max-width: 100%; height: auto;" colspan="3"><!-- RS-STRIP-BEGIN image-58-84327@rs.bitco.co.za--><img src="cid:image-58-84327@rs.bitco.co.za" class="rocketseed-strip" usemap="#imgmap201722410583" border="0" beacon_priority="0" style="max-width: 100%; height: auto;"><map id="imgmap201722410583" name="imgmap201722410583">
<area shape="rect" alt="BitCo Website" coords="1,7,496,46" href="http://rs.bitco.co.za/rs/13b-.tPW" target="_blank">
<area shape="rect" alt="" coords="507,13,532,42" href="http://rs.bitco.co.za/rs/13jw4CIc" target="">
<area shape="rect" alt="" coords="538,15,562,39" href="http://rs.bitco.co.za/rs/13f-IP3N" target="">
<area shape="rect" alt="" coords="569,14,592,40" href="https://www.facebook.com/BitCo-1853114758261132/" target="">
<area shape="rect" alt="" coords="597,14,628,44" href="/emailtemplate/edit/Business%20Card/57/0/" target=""></map><!-- RS-STRIP-END image-58-84327@rs.bitco.co.za--></td></tr><tr><td style="max-width: 100%; height: auto;"> </td></tr></tbody></table></td></tr></tbody></table><table id="rs-bottom-banner" width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td style="max-width: 100%; height: auto;"></td></tr></tbody></table><table id="rs-disclaimer" width="100%" border="0" cellpadding="0" cellspacing="0">
        <tbody><tr><td style="max-width: 100%; height: auto;"><br></td></tr></tbody></table></body></html>