[Crowbar] How to quickly test different network settings

Martin Mailand martin at tuxadero.com
Fri Mar 9 09:46:02 CST 2012


Am 09.03.2012 16:35, schrieb Andi_Abes at Dell.com:
> Ok.. looks reasonable.
> Can you be more specific about what you've done, what you expected, and what did (nt) happen?

Hi,
I installed the admin node a few days ago and everything is fine.
The client node gets an ip on eth0 from the admin range.

Now I want do give the client node a second ip on eth1, preferable 
without reinstalling the admin node.
So I did.

1. Change the file
/opt/dell/barclamps/network/chef/data_bags/crowbar/bc-template-network.json
2. run install admin.crowbar.org on the admin node.
3. Did a reinstall of the client node via the crowbar web-gui.
4. Check the ip config an the client node, but eth1 is not configured.


In the bc-template-network.json file I changed to things, I added the 
following:

{
            "pattern": "X9SRi",
            "bus_order": [
              "0000:00/0000:00:03",
              "0000:00/0000:00:02"
            ]
          }

and which I think is the first match.

"pattern": "single/.*/.*",
            "conduit_list": {
              "intf0": {
                "if_list": [ "1g1" ]
              },
              "intf1": {
                "if_list": [ "1g2" ]  ## was 1g1 but I want to change 
the second 1g interface, this comment is not in the file.
              },
              "intf2": {
                "if_list": [ "1g1" ]
              }


The rest of the file is unchanged.
I attached my changed version.

-martin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bc-template-network.json
Url: http://lists.us.dell.com/pipermail/crowbar/attachments/20120309/ac641f17/attachment-0001.pl 


More information about the Crowbar mailing list