And for more examples/help, using regex is documented in the xcatdb man page: http://xcat.sourceforge.net/man5/xcatdb.5.html
From: Arif Ali <[email protected]>
To: xCAT Users Mailing list <[email protected]>
Date: 07/26/2011 07:08 PM
Subject: Re: [xcat-user] help with ipmi regex
Try the following syntax
"/(.*)/cluster-($1)-bmc/"
You could also use "lsdef <nodename>" to show all attributes of a node
PS, I sent this earlier, but bounced
Arif Ali
catch me on freenode IRC, username: arif-ali
On 26 July 2011 20:55, Bruce Pennypacker <[email protected]> wrote:
Hi all,
Sorry if this is a common question but I couldn't find anything in the
archives...
I'm just starting the process of building up a new research cluster
using iDataPlex nodes and eventually some older bladecenter nodes as
well. Unfortunately I have no say over naming conventions, so the
hostnames are going to be along the lines of node01, node02, etc. and
their respective BMC interfaces are going to be cluster-node01-bmc,
cluster-node02-bmc, etc. I've been trying to figure out a regex to use
in the ipmi table for these nodes but I'm not having much luck. I would
have thought something like this would work:
"ipmi","/($&)/tunic-($0)-bmc/",,"USERID","PASSW0RD"
But any time I try to use rpower, rinstall, etc. I get an error. If I
add a test entry specifically for the node I'm testing everything works
fine:
"node24","tunic-node24-bmc",,"USERID","PASSW0RD"
On a related note, is there any (simple) way of testing these regexes
and seeing what xCAT does with them? Blindly making changes then
attempting to use rpower, etc. gets tiring very quickly...
Thanks,
-Bruce
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
