2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

Update doc about ondiscover and bmcvlantag

This commit is contained in:
ertaozh 2018-04-10 23:07:39 -04:00
parent 17793bc364
commit 462af566a2
4 changed files with 42 additions and 0 deletions

View File

@ -101,6 +101,12 @@ The BMC IP address is obtained by the open range dhcp server and the plan in thi
chdef cn01 chain="runcmd=bmcsetup"
#. **[Optional]** More operation plan to do after hardware disocvery is done, ``ondiscover`` option can be used.
For example, configure console and copy SSH key for **OpenBMC** ::
chdef cn01 -p chain=ondiscover="makegocons|rspconfig:sshcfg"
#. Set the target `osimage` into the chain table to automatically provision the operating system after the node discovery is complete. ::
chdef cn01 -p chain="osimage=<osimage_name>"
@ -113,6 +119,11 @@ The BMC IP address is obtained by the open range dhcp server and the plan in thi
chdef cn01 bmc=50.0.101.1
**[Optional]** If more configuration planed to be done on BMC, the following command is also needed. ::
chdef cn01 bmcvlantag=<vlanid> # tag VLAN ID for BMC
chdef cn01 bmcusername=<desired_username>
chdef cn01 bmcpassword=<desired_password>
#. Add the compute node IP information to ``/etc/hosts``: ::

View File

@ -85,6 +85,12 @@ The BMC IP address is obtained by the open range dhcp server and the plan is to
chdef cn01 chain="runcmd=bmcsetup"
#. **[Optional]** More operation plan to do after hardware disocvery is done, ``ondiscover`` option can be used.
For example, configure console and copy SSH key for **OpenBMC** ::
chdef cn01 -p chain=ondiscover="makegocons|rspconfig:sshcfg"
#. Set the target `osimage` into the chain table to automatically provision the operating system after the node discovery is complete. ::
chdef cn01 -p chain="osimage=<osimage_name>"

View File

@ -18,10 +18,22 @@ Predefine a group of nodes with desired IP address for host and IP address for F
nodeadd cn1 groups=powerLE,all
chdef cn1 mgt=ipmi cons=ipmi ip=10.0.101.1 bmc=50.0.101.1 netboot=petitboot installnic=mac primarynic=mac
**[Optional]** If more configuration planed to be done on BMC, the following command is also needed. ::
chdef cn1 bmcvlantag=<vlanid> # tag VLAN ID for BMC
chdef cn1 bmcusername=<desired_username>
chdef cn1 bmcpassword=<desired_password>
In order to do BMC configuration during the discovery process, set ``runcmd=bmcsetup``. ::
chdef cn1 chain="runcmd=bmcsetup"
**[Optional]** More operation plan to do after hardware disocvery is done, ``ondiscover`` option can be used.
For example, configure console and copy SSH key for **OpenBMC** ::
chdef cn1 -p chain=ondiscover="makegocons|rspconfig:sshcfg"
Set the target `osimage` into the chain table to automatically provision the operating system after the node discovery is complete. ::
chdef cn1 -p chain="osimage=<osimage_name>"

View File

@ -54,10 +54,23 @@ After switches are defined, the server node can be predefined with the following
chdef cn1 mgt=ipmi cons=ipmi ip=10.0.101.1 bmc=50.0.101.1 netboot=petitboot installnic=mac primarynic=mac
chdef cn1 switch=switch1 switchport=0
**[Optional]** If more configuration planed to be done on BMC, the following command is also needed. ::
chdef cn1 bmcvlantag=<vlanid> # tag VLAN ID for BMC
chdef cn1 bmcusername=<desired_username>
chdef cn1 bmcpassword=<desired_password>
In order to do BMC configuration during the discovery process, set ``runcmd=bmcsetup``. ::
chdef cn1 chain="runcmd=bmcsetup"
**[Optional]** More operation plan to do after hardware disocvery is done, ``ondiscover`` option can be used.
For example, configure console and copy SSH key for **OpenBMC** ::
chdef cn01 -p chain=ondiscover="makegocons|rspconfig:sshcfg"
Set the target `osimage` into the chain table to automatically provision the operating system after the node discovery is complete. ::
chdef cn1 -p chain="osimage=<osimage_name>"