Using cibadmin 

For example to create a node:
Create a file node.xml containing your node definition ex:
------------
<node uname="node1.domain.com" type="normal" id="jlkfjdslkf-fdsflkjlfkds">
  <instance_attributes id="nodes-jlkfjdslkf-fdsflkjlfkds">
    <attributes/>
  </instance_attributes>
</node>
------------
Then run 
cibadmin -C -o  nodes -X node.xml

Deleteing,updating of resources can also be done with cibadmin. Juste use
cibadmin --help to find out more.


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Tao Yu
> Sent: May 3, 2007 11:33 AM
> To: General Linux-HA mailing list
> Subject: [Linux-HA] How to add resources into crm through crm 
> admin tools?
> 
> Hi,
> 
> Sorry for my beginner's question.
> 
> Is it possible to add resources using crm admin tools? I read 
> the man pages for crmadmin, crm_resources, but can't see any 
> command to do this.
> 
> Did I miss anything?
> 
> Thanks,
> Tao
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

_______________________________________________
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