2008-01-07 17:37:19 +00:00
=head1 NAME
2008-08-02 16:18:07 +00:00
2008-01-07 17:37:19 +00:00
B<rscan> - Collects node information from one or more hardware control points.
2008-08-02 16:18:07 +00:00
2008-01-07 17:37:19 +00:00
=head1 SYNOPSIS
2008-08-02 16:18:07 +00:00
2008-01-07 17:37:19 +00:00
I<rscan [-h|--help]>
2008-02-06 20:20:57 +00:00
I<rscan [-v|--version]>
2008-01-07 17:37:19 +00:00
2009-11-19 09:48:37 +00:00
I<rscan [-V|--verbose] noderange [-u][-w][-x|-z]>
2008-01-07 17:37:19 +00:00
=head1 DESCRIPTION
The rscan command lists hardware information for each node managed by the hardware control points specified in noderange.
2009-11-19 16:00:45 +00:00
Note: The first line of the output always contains information about the hardware control point. When using the rscan command to generate output for HMC or IVM hardware control points, it provides the FSPs and BPAs as part of the output. The only exception is the rscan -u flag which provides updates made hardware control point in the xCAT database.
2008-01-07 17:37:19 +00:00
=head1 OPTIONS
B<-h> Display usage message.
2008-08-02 16:18:07 +00:00
B<-v> Command Version.
2008-01-07 17:37:19 +00:00
2008-08-02 16:18:07 +00:00
B<-V> Verbose output.
2008-01-07 17:37:19 +00:00
2009-11-19 16:00:45 +00:00
B<-u> Updates and then prints out node definitions in the xCAT database for the hardware control point. It updates the existing nodes that contain the same mtms and serial number for nodes managed by thespecified hardware control point. This primarily works with CEC/FSP and frame/BPA nodes when the node name is not the same as the managed system name on hardware control point (HMC), This flag will update the BPA/FSP node name definitions to be listed as the managed system name. in the xCAT database.
2009-11-19 09:48:37 +00:00
2008-08-02 16:18:07 +00:00
B<-w> Writes output to xCAT database.
2008-01-07 17:37:19 +00:00
2008-08-02 16:18:07 +00:00
B<-x> XML format.
2008-01-07 17:37:19 +00:00
2008-08-02 16:18:07 +00:00
B<-z> Stanza formated output.
2008-01-07 17:37:19 +00:00
=head1 RETURN VALUE
0 The command completed successfully.
1 An error has occurred.
=head1 EXAMPLES
2008-08-02 16:18:07 +00:00
1. To list all nodes managed by HMC hmc01 in tabular format, enter:
2008-01-07 17:37:19 +00:00
2008-08-02 16:18:07 +00:00
I<rscan hmc01>
2008-01-07 17:37:19 +00:00
Output is similar to:
2008-02-06 20:20:57 +00:00
type name id type-model serial-number address
2008-01-07 17:37:19 +00:00
2008-02-06 20:20:57 +00:00
hmc hmc01 7310-C05 10F426A hmc01
fsp Server-9117-MMA-SN10F6F3D 9117-MMA 10F6F3D 3.3.3.197
lpar lpar3 4 9117-MMA 10F6F3D
lpar lpar2 3 9117-MMA 10F6F3D
lpar lpar1 2 9117-MMA 10F6F3D
lpar p6vios 1 9117-MMA 10F6F3D
2008-01-07 17:37:19 +00:00
2008-08-02 16:18:07 +00:00
2. To list all nodes managed by IVM ivm02 in XML format and write the output to the xCAT database, enter:
2008-01-07 17:37:19 +00:00
I<rscan ivm02 -x -w>
2008-02-06 20:20:57 +00:00
Output is similar to:
2008-01-07 17:37:19 +00:00
2008-02-06 20:20:57 +00:00
<Node>
2009-03-30 03:12:53 +00:00
<cons></cons>
2008-03-06 20:39:49 +00:00
<profile></profile>
<parent></parent>
<serial>10B7D1G</serial>
<model>9133-55A</model>
<node>Server-9133-55A-10B7D1G</node>
<mgt>ivm</mgt>
<nodetype>fsp</nodetype>
<hcp>ivm02</hcp>
<groups>fsp,all</groups>
<id>10</id>
2008-01-07 17:37:19 +00:00
</Node>
<Node>
2009-03-30 03:12:53 +00:00
<cons>ivm</cons>
2008-03-06 20:39:49 +00:00
<profile>lpar01</profile>
<parent>Server-9133-55A-10B7D1G</parent>
<serial></serial>
<model></model>
<node>lpar01</node>
<mgt>ivm</mgt>
<nodetype>lpar,osi</nodetype>
<hcp>ivm02</hcp>
<groups>lpar,all</groups>
2008-02-06 20:20:57 +00:00
<id>1</id>
<Node>
2008-01-07 17:37:19 +00:00
2008-03-06 20:39:49 +00:00
</Node>
2009-03-30 03:12:53 +00:00
<cons>ivm</cons>
2008-03-06 20:39:49 +00:00
<profile>lpar02</profile>
<parent>Server-9133-55A-10B7D1G</parent>
<serial></serial>
<model></model>
<node>lpar02</node>
<mgt>ivm</mgt>
<nodetype>lpar,osi</nodetype>
<hcp>ivm02</hcp>
<groups>lpar,all</groups>
<id>2</id>
</Node>
2008-01-07 17:37:19 +00:00
2008-03-06 20:39:49 +00:00
3. To list all nodes managed by HMC hmc02 in stanza format and write the output to the xCAT database, enter:
2008-01-07 17:37:19 +00:00
2008-03-06 20:39:49 +00:00
I<rscan hmc02 -z -w>
2008-01-07 17:37:19 +00:00
2008-02-06 20:20:57 +00:00
Output is similar to:
2008-01-07 17:37:19 +00:00
2008-03-06 20:39:49 +00:00
Server-9458-100992001Y_B:
2008-01-07 17:37:19 +00:00
objtype=node
2008-03-06 20:39:49 +00:00
nodetype=bpa
id=2
model=9458-100
serial=992001Y
hcp=hmc02
profile=
parent=
groups=bpa,all
mgt=hmc
2009-03-30 03:12:53 +00:00
cons=
2008-03-06 20:39:49 +00:00
2008-08-02 16:18:07 +00:00
Server-9119-590-SN02C5F9E:
2008-02-06 20:20:57 +00:00
objtype=node
2008-03-06 20:39:49 +00:00
type=fsp
id=10
model=9119-590
serial=02C5F9E
hcp=hmc02
profile=
parent=Server-9458-100992001Y_B
groups=fsp,all
mgt=hmc
2009-03-30 03:12:53 +00:00
cons=
2008-03-06 20:39:49 +00:00
lpar01:
objtype=node
nodetype=lpar,osi
2008-02-06 20:20:57 +00:00
id=1
2008-03-06 20:39:49 +00:00
model=
serial=
hcp=hmc02
profile=lpar01
parent=Server-9119-590-SN02C5F9E
groups=lpar,all
mgt=hmc
2009-03-30 03:12:53 +00:00
cons=hmc
2008-03-06 20:39:49 +00:00
lpar02:
2008-02-06 20:20:57 +00:00
objtype=node
2008-03-06 20:39:49 +00:00
nodetype=lpar,osi
id=2
model=
serial=
hcp=hmc02
profile=lpar02
parent=Server-9119-590-SN02C5F9E
groups=lpar,all
mgt=hmc
2009-03-30 03:12:53 +00:00
cons=hmc
2008-01-07 17:37:19 +00:00
2009-11-19 09:48:37 +00:00
4. To update definitions of nodes, which is managed by hmc03, enter:
I<rscan hmc03 -u>
Output is similar to:
#Updated following nodes:
type name id type-model serial-number address
fsp Server-9125-F2A-SN0262672-new 3 9125-F2A 0262672 192.168.200.243
2008-01-07 17:37:19 +00:00
=head1 FILES
2008-08-02 16:18:07 +00:00
/opt/xcat/bin/rscan
2008-01-07 17:37:19 +00:00
2008-08-02 16:18:07 +00:00
=head1 SEE ALSO
2008-01-07 17:37:19 +00:00
2008-08-02 16:18:07 +00:00
L<lsslp(1)|lsslp.1>
2008-02-06 20:20:57 +00:00
2008-03-06 20:39:49 +00:00