mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	Merge pull request #5085 from zet809/doc_for_bmcvlantag_ondiscover
Update doc about ondiscover and bmcvlantag
This commit is contained in:
		| @@ -101,6 +101,14 @@ 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, copy SSH key for **OpenBMC**, then disable ``powersupplyredundancy`` :: | ||||
|  | ||||
|        chdef cn01 -p chain="ondiscover=makegocons|rspconfig:sshcfg|rspconfig:powersupplyredundancy=disabled" | ||||
|  | ||||
|    **Note**: ``|`` is used to split commands, and ``:`` is used to split command with its option. | ||||
|  | ||||
| #. 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 +121,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``: :: | ||||
|  | ||||
|   | ||||
| @@ -85,6 +85,14 @@ 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, copy SSH key for **OpenBMC**, then disable ``powersupplyredundancy`` :: | ||||
|  | ||||
|        chdef cn01 -p chain="ondiscover=makegocons|rspconfig:sshcfg|rspconfig:powersupplyredundancy=disabled" | ||||
|  | ||||
|    **Note**: ``|`` is used to split commands, and ``:`` is used to split command with its option. | ||||
|  | ||||
| #. 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>" | ||||
|   | ||||
| @@ -18,10 +18,24 @@ 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, copy SSH key for **OpenBMC**, then disable ``powersupplyredundancy`` :: | ||||
|  | ||||
|        chdef cn01 -p chain="ondiscover=makegocons|rspconfig:sshcfg|rspconfig:powersupplyredundancy=disabled" | ||||
|  | ||||
|    **Note**: ``|`` is used to split commands, and ``:`` is used to split command with its option. | ||||
|  | ||||
| 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>" | ||||
|   | ||||
| @@ -54,10 +54,25 @@ 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, copy SSH key for **OpenBMC**, then disable ``powersupplyredundancy`` :: | ||||
|  | ||||
|        chdef cn01 -p chain="ondiscover=makegocons|rspconfig:sshcfg|rspconfig:powersupplyredundancy=disabled" | ||||
|  | ||||
|    **Note**: ``|`` is used to split commands, and ``:`` is used to split command with its option. | ||||
|  | ||||
| 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>" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user