The only way I can find to add new group members via a script is to edit
cib.xml.

I find the following section...

        <primitive class="lsb" id="MySQL_001" type="mysql_001"/>
        <primitive class="lsb" id="MySQL_002" type="mysql_002"/>
        <primitive class="lsb" id="MySQL_003" type="mysql_003"/>

Using a shell script, it would be easy to add a new line to the bottom
of that section...

        <primitive class="lsb" id="MySQL_004" type="mysql_004"/> 

Does using a script to edit cib.xml violate the CIB rules? I know I'm
not supposed to directly edit the file. I assume that is because of the
high likelihood of humar error. Is there any problem with editing it via
a script?

--
Eric Robinson


Disclaimer - March 15, 2010 
This email and any files transmitted with it are confidential and intended 
solely for General Linux-HA mailing list. If you are not the named addressee 
you should not disseminate, distribute, copy or alter this email. Any views or 
opinions presented in this email are solely those of the author and might not 
represent those of . Warning: Although  has taken reasonable precautions to 
ensure no viruses are present in this email, the company cannot accept 
responsibility for any loss or damage arising from the use of this email or 
attachments. 
This disclaimer was added by Policy Patrol: http://www.policypatrol.com/
_______________________________________________
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