<div>So, let me see if I understand that!...</div><div><br></div><div>If I deplot 2 servers, with DRBD, as Primary/Primary, with one VM, and active the HA, and join that VM into HA System, when I force shut off the primary hardware, ProxMox will start the VM on other side???</div>
<div><br></div><div>That's right??</div><div><br><div class="gmail_quote">2012/7/28 THe_ZiPMaN <span dir="ltr"><<a href="mailto:flavio-pve@zipman.it" target="_blank">flavio-pve@zipman.it</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Please, answer on the list, because every mail sent to this specific<br>
mail address, and not arriving from the list manager, is flagged as spam<br>
and used to train the filters. I found your mail only because I was<br>
cleaning the Junk folder.<br>
<div class="im"><br>
On 07/28/2012 04:45 PM, Gilberto Nunes wrote:<br>
> Ok OK...<br>
><br>
> I get and I agree with every single word....<br>
> But, the more important to me now is know that: HOW CAN PACEMAKER OR<br>
> COROSYNC TRIGGER A SINGLE SCRIPT???<br>
<br>
</div>Why should you trigger a script? To restart the virtual machines on the<br>
node alive? If this is your need I can only point you again to the<br>
documentation. It's Proxmox itself, using the corosync services, that<br>
takes care of restarting the machine on the node alive.<br>
<br>
If your need is for other scripts (i.e. you must switch an IP from one<br>
node to another or such other things) then you can modify the<br>
configuration of corosync-pve in the same way you'd do with corosync but<br>
changing configs (IIRC, I cannot check right now) under the /etc/pve tree.<br>
<div class="im"><br>
> Here I have two hardware, and I set DRBD to work as Primary/Primary<br>
> mode, right?<br>
<br>
</div>Yes.<br>
<div class="im"><br>
> What I need, is that corosync or pacemaker, trigger a script on my<br>
> "alive" hardware, in case of failure... You see???<br>
<br>
</div>No, I cannot see.... My understanding is that you would like to manage<br>
proxmox 2.x in the same manner you would have done with proxmox 1.9.<br>
My point is that you cannot/shoudn't do that and that you must manage<br>
proxmox 2.x by the means provided by the product, after a careful<br>
reading of the documentation. You cannot pretend to manage a Windows 7<br>
PC in the same way you were used with Windows 95.<br>
<div class="im"><br>
> It's just what I need for now...<br>
> Is there some line to set on corosync or pacemaker??<br>
> Where?<br>
<br>
</div>I already posted links to official documentation. If you read the<br>
documents you'll find the answer to your questions. If you don't<br>
understand something written on the docs then ask for clarifications,<br>
but please read it before asking question already answered there.<br>
<br>
Start from here:<br>
<a href="http://pve.proxmox.com/wiki/Two-Node_High_Availability_Cluster" target="_blank">http://pve.proxmox.com/wiki/Two-Node_High_Availability_Cluster</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Flavio Visentin<br>
<br>
IT Architect<br>
Saidea SRL<br>
Via Negrelli, 14/4<br>
38015 - Lavis (TN)<br>
Tel. <a href="tel:%28%2B39%29%200461%20245589" value="+390461245589">(+39) 0461 245589</a><br>
Mail <a href="mailto:flavio.visentin@saidea.it">flavio.visentin@saidea.it</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Gilberto Nunes<div><br><br>(47) 9676-7530</div><div>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">msn: <a href="mailto:gilbertonunesferreira@hotmail.com" target="_blank">gilbertonunesferreira@hotmail.com</a></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">msn: <a href="mailto:konnectati@konnectati.com.br" target="_blank">konnectati@konnectati.com.br</a></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">
Skype: gilberto.nunes36</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">Skype: konnectati</p><p></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
<font face="Arial, Helvetica, sans-serif"><span style="font-size:14px"><br></span></font></p><font size="4"><b><a href="http://www.konnectati.com.br" target="_blank">www.konnectati.com.br</a></b></font><br></div><br>
</div>