<br><br><div class="gmail_quote">On Wed, Jan 28, 2009 at 6:24 PM, Lars Marowsky-Bree <span dir="ltr"><<a href="mailto:lmb@suse.de">lmb@suse.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On 2009-01-28T15:02:30, Priyanka Ranjan <<a href="mailto:priyanka3rdfeb@gmail.com">priyanka3rdfeb@gmail.com</a>> wrote:</div></blockquote><div><br><br>Thanks a lot for your reply Lars <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
<br>
> Hi all,<br>
> i am new to openais and pacemaker. i am working on sles11 . i have three<br>
> questions.<br>
<br>
</div>If you are working on SLE11, please use the pacemaker list only. These<br>
questions have nothing to do with linux-ha nor openais. I have set the<br>
reply-to accordingly.<br>
<br>
(Besides, SLE11 isn't released, so that's all beta code right now.)</blockquote><div><br> ok , i will use pacemaker list now. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<div class="Ih2E3d"><br>
> 1) can any one tell me what resource agents are available . can i have a<br>
> list of resource agents which openais supports  like apache, oracle , tomcat<br>
> etc.<br>
<br>
</div>openAIS doesn't support any resource agents, those come from other<br>
packages. But in your installed system, simply look at<br>
/usr/lib/ocf/resource.d/<br>
<br>
This will also be documented in the Novell provided product docs, of<br>
course.<br>
<div class="Ih2E3d"></div></blockquote><div><br> i had no idea that openAIS doesnot support RA. can you send me the link of novell doc , i may get some other useful information also.  <br><br>i saw that dir and found heatbeat, lvm2 , ocfs2 and pacemaker there.<br>
 now one question if i want to use any of these  RA  in openAIS cluster can i use heatbeat , lvm2 ,ocfs2 or pacemaker's RA by making them provider.<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
> 2)  does openais + pacemaker support SCSI  Persisten Resrvation as one of<br>
> resource/node fencing method. i could not find PR when i did stonith -L . do<br>
> we need to write external stonith script if we want to use SCSI Persisten<br>
> Resrvation.<br>
<br>
</div>There is a scsi_reservation resource agent, but it is not used for<br>
node-level fencing; you can simply add it to the resource hierarchy as<br>
required.<br>
<br>
If you want to fence through shared storage, the external/sbd stonith<br>
script might be want you want.<br>
<div class="Ih2E3d"><br>
> 3) i want to create two nodes cluster. i have generated the autheky on one<br>
> node and copied it to another node.. after starting openais service i got<br>
> two separate clusters on two nodes. i have specified following in interface<br>
> of openais.conf.<br>
><br>
>    interface {<br>
>                 #Network Address to be bind for this interface setting<br>
><br>
>                 bindnetaddr:    198.168.2.2  # this is node1's pvt addr. on<br>
> node 2's openais.conf i have specified node2's ip address.<br>
<br>
</div>You can simply specify the network address, no need to specify the<br>
explicit IP address here. (ie, likely 192.168.2.0).<br>
<br>
And if you want to use OCFS2, you must specify an explicit nodeid: field<br>
(1, 2, 3, 4, ... this needs to be unique on each node).<br>
<div class="Ih2E3d"><br>
> can i directly modify cib xml file to add a node or should i use  hb_gui . i<br>
> am not able to form two nodes cluster, please help me.<br>
<br>
</div>You NEVER edit cib.xml manually. _Never_. Only through tools such as<br>
hb_gui, the "crm" shell, cibadmin etc.<br>
<br>
You don't need to add nodes to the configuration explicitly, they'll get<br>
auto-added to the CIB as soon as openais forms a ring. Try without<br>
"secauth", maybe the encryption is proving troublesome for you.<br>
<br>
There are docs on <a href="http://clusterlabs.org" target="_blank">clusterlabs.org</a> on how to set this all up, too.<br>
<br>
<br>
Regards,<br>
    Lars<br>
<font color="#888888"><br>
--</font></blockquote><div>secauth is off in both openais.conf file. i have followed the openais document. i have generted the authkey and copied it to second node also .  i am kind of stuck here :( .<br>could you please help me. i have attached the openais.conf of one node with this mail. please have a look of this and let me know what's going wrong here.<br>
<br>Thanks a lot again for your help,<br>Priyanka.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font color="#888888"><br>
Teamlead Kernel, SuSE Labs, Research and Development<br>
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)<br>
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde<br>
<br>
</font></blockquote></div><br>