mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-13 01:40:26 +00:00
Remove the reference to hwtype=bmc from the documentation to match
the output of bmcdiscover. The hwtype=bmc is not displayed anymore and will cause confusion when users are trying to define the predefined nodes using the output from bmcdiscover or the examples in our documentation
This commit is contained in:
@ -27,27 +27,17 @@ The BMC IP address is obtained by the open range dhcp server and the plan in thi
|
||||
|
||||
#. Detect the BMCs and add the node definitions into xCAT.
|
||||
|
||||
Use the ``bmcdiscover`` command to discover the BMCs responding over an IP range and automatically write the output into the xCAT database. You **must** use the ``-w`` option to automatically write the output into the xCAT database.
|
||||
Use the :doc:`bmcdiscover </guides/admin-guides/references/man1/bmcdiscover.1>` command to discover the BMCs responding over an IP range and write the output into the xCAT database. This discovered BMC node is used to control the physical server during hardware discovery and will be deleted after the correct server node object is matched to a pre-defined node. You **must** use the ``-w`` option to write the output into the xCAT database.
|
||||
|
||||
To discover the BMC with an IP address of 172.30.0.1, use the command: ::
|
||||
To discover the BMC with an IP address range of 50.0.100.1-100: ::
|
||||
|
||||
bmcdiscover --range 172.30.0.1 -z -w
|
||||
bmcdiscover --range 50.0.100.1-100 -z -w
|
||||
|
||||
The discovered nodes will be written to xCAT database: ::
|
||||
The discovered nodes will be written to xCAT database. The discovered BMC nodes are in the form **node-model_type-serial**. To view the discovered nodes: ::
|
||||
|
||||
# lsdef node-8247-22l-10112ca
|
||||
Object name: node-8247-22l-10112ca
|
||||
bmc=172.30.0.1
|
||||
cons=ipmi
|
||||
groups=all
|
||||
hwtype=bmc
|
||||
mgt=ipmi
|
||||
mtm=8247-22L
|
||||
nodetype=mp
|
||||
postbootscripts=otherpkgs
|
||||
postscripts=syslog,remoteshell,syncfiles
|
||||
serial=10112CA
|
||||
nodetype=mp
|
||||
lsdef /node-.*
|
||||
|
||||
**Note:** The ``bmcdiscover`` command will use the username/password from the ``passwd`` table corresponding to ``key=ipmi``. To overwrite with a different username/password use the ``-u`` and ``-p`` option to ``bmcdiscover``.
|
||||
|
||||
|
||||
#. **Pre-define** the compute nodes:
|
||||
|
@ -3,31 +3,18 @@ Discover server and define
|
||||
|
||||
After environment is ready, and the server is powered, we can start server discovery process. The first thing to do is discovering the FSP/BMC of the server. It is automatically powered on when the physical server is powered.
|
||||
|
||||
The following command can be used to discovery BMC within an IP range and write the discovered node definition into xCAT database::
|
||||
Use the :doc:`bmcdiscover </guides/admin-guides/references/man1/bmcdiscover.1>` command to discover the BMCs responding over an IP range and write the output into the xCAT database. This discovered BMC node is used to control the physical server during hardware discovery and will be deleted after the correct server node object is matched to a pre-defined node. You **must** use the ``-w`` option to write the output into the xCAT database.
|
||||
|
||||
bmcdiscover -s nmap --range 50.0.100.1-100 -z -w
|
||||
To discover the BMC with an IP address range of 50.0.100.1-100: ::
|
||||
|
||||
The discovered BMC node will be like this::
|
||||
bmcdiscover --range 50.0.100.1-100 -z -w
|
||||
|
||||
# lsdef node-8247-42l-10112ca
|
||||
Object name: node-8247-42l-10112ca
|
||||
bmc=50.0.100.1
|
||||
cons=ipmi
|
||||
groups=all
|
||||
hwtype=bmc
|
||||
mgt=ipmi
|
||||
mtm=8247-42L
|
||||
nodetype=mp
|
||||
postbootscripts=otherpkgs
|
||||
postscripts=syslog,remoteshell,syncfiles
|
||||
serial=10112CA
|
||||
The discovered nodes will be written to xCAT database. The discovered BMC nodes are in the form **node-model_type-serial**. To view the discovered nodes: ::
|
||||
|
||||
**Note**:
|
||||
1. The BMC node is just used to control the physical during hardware discovery process, it will be deleted after the correct server node object is found.
|
||||
|
||||
2. bmcdiscover will use username/password pair set in ``passwd`` table with **key** equal **ipmi**. If you'd like to use other username/password pair, you can use ::
|
||||
lsdef /node-.*
|
||||
|
||||
**Note:** The ``bmcdiscover`` command will use the username/password from the ``passwd`` table corresponding to ``key=ipmi``. To overwrite with a different username/password use the ``-u`` and ``-p`` option to ``bmcdiscover``.
|
||||
|
||||
bmcdiscover -s nmap --range 50.0.100.1-100 -z -w -u <username> -p <password>
|
||||
|
||||
Start discovery process
|
||||
-----------------------
|
||||
|
Reference in New Issue
Block a user