86A143FL10 Remote Hardware Management CLI Reference Guide
86A143FL10 Remote Hardware Management CLI Reference Guide
86A143FL10 Remote Hardware Management CLI Reference Guide
bullion S
Remote
Hardware
Management
CLI
Reference
Guide
86 A1 43FL 10 - December 2016 -1
The following copyright notice protects this book under Copyright laws which prohibit such actions
as, but not limited to, copying, distributing, modifying, and making derivative works.
Hardware
December 2016
Bull Cedoc
357 avenue Patton
BP 20845
49008 Angers Cedex 01
FRANCE
The information in this document is subject to change without notice. Bull will not be liable for errors contained
herein, or for incidental or consequential damages in connection with the use of this material.
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . p‐1
Intended Readers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . p‐1
Contents i
2.9. bsmFwGlobalUpg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24
2.9.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24
2.9.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-25
2.9.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-25
2.10. bsmGetConfParam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-34
2.10.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-34
2.10.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-35
2.10.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-35
2.11. bsmGetFunctionalProfile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-37
2.11.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-37
2.11.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-37
2.11.3. Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-37
2.12. bsmGetHardwareExclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-38
2.12.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-38
2.12.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-38
2.12.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-38
2.13. bsmGetModuleLevelInfo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-39
2.13.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-39
2.13.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-39
2.13.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-40
2.14. bsmGetPartitionLevelInfo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-41
2.14.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-41
2.14.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-41
2.14.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-42
2.15. bsmGetPlatformLevelInfo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-43
2.15.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-43
2.15.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-43
2.15.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-44
2.16. bsmGUID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-46
2.16.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-46
2.16.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-46
2.16.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-47
2.17. bsmidentify . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-48
2.17.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-48
2.17.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-48
2.18. bsminfo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-49
2.18.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-49
2.18.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-49
2.18.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-50
2.19. bsmlog ................................................................ 2-57
2.19.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-58
2.19.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-59
2.19.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-59
2.20. bsmOSpm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-62
2.20.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-62
2.20.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-62
2.20.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-63
2.21. bsmpower . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-66
2.21.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-66
2.21.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-67
2.21.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-67
ii Reference Guide
2.22. bsmRegDump . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-69
2.22.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-69
2.22.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-69
2.22.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-69
2.23. bsmRemoveHardwareExclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-72
2.23.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-72
2.23.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-72
2.23.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-73
2.24. bsmreset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-74
2.24.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-74
2.24.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-74
2.24.3. Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-75
2.25. bsmResetAllEMMPartition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-76
2.25.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-76
2.25.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-76
2.25.3. Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-76
2.26. bsmsdr ................................................................ 2-77
2.26.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-77
2.26.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-78
2.26.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-78
2.27. bsmseld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-84
2.27.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-84
2.27.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-84
2.27.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-85
2.28. bsmsensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-86
2.28.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-86
2.28.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-87
2.28.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-87
2.29. bsmSetConfParam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-89
2.29.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-89
2.29.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-90
2.29.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-90
2.30. bsmSetPartitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-93
2.30.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-93
2.30.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-94
2.30.3. Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-94
2.31. bsmSetPlatformLevelParam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-95
2.31.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-95
2.31.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-95
2.31.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-96
2.32. bsmsnapshot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-97
2.32.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-97
2.32.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-97
2.32.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-97
2.33. bsmsol ................................................................ 2-99
2.33.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-99
2.33.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-100
2.33.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-100
Contents iii
2.34. bsmUCMcmd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-101
2.34.1. Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-101
2.34.2. General Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-101
2.34.3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-101
iv Reference Guide
Preface
This guide describes the Hardware Management CLIs (Command Line Interface)
for bullion S server.
Note You are advised to consult the Bull Support Web site for the most
uptodate product information, documentation, firmware updates,
software fixes and service offers:
http://support.bull.com
Intended Readers
This guide is intended for System Administrators and Operators in charge of
managing systems locally and remotely and of writing server management batch
scripts.
Preface p‐1
Chapter 1. Introducing the Hardware Management
CLIs
This chapter provides general information about the BSM Hardware Command
Line Interface (CLI) scriptable management commands for hardware
management and configuration. It includes the following topics:
• Connections and Prerequisites, on page 1-2
• Installing the Hardware Management CLI for Linux, on page 1-4
• Installing the Hardware Management CLI for Windows, on page 1-5
• Editing the BSMCLI Configuration File, on page 1-8
The model, host, user and password arguments MUST be used for
Out-Of-Band connections.
Most commands allow the use of an internal authentication file for easy
authentication. This file is created with the bsmcfg_auth_cmd.sh command,
detailed in Appendix B. Alternatively, the -p password argument can be used.
Note IPMI connection is established with the lanplus interface using cipher
suite IDs for authentication, integrity, and encryption algorithms. The
default cipher suite ID is 3 and specifies the RAKP‐HMAC‐SHA1
authentication, HMAC‐SHA1‐96 integrity, and AES‐CBC‐128 encryption
algorithms.
For Windows using a Cygwin context, all the packages required for internal
authentication are pre-installed.
For Linux, the following packages are required for internal authentication and
must be installed in the the bin sub-directory of the BSMHW_NG package
install directory (Default: /opt/BSMHW_NG/bin):
• perl‐XML‐LibXML
• perl‐XML‐LibXML‐Common
• perl‐XML‐SAX
• perl‐XML‐NamespaceSupport
2.1.1. Options
-h Displays command usage
l level Specifies the message severity to be logged in syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
m interface Target server interface: lanplus
H host Module IP address or DNS name
u user MC user
p password MC user password
C componentlist List of hardware components for exclusion
Components must be listed in quotes and separated
by a blank
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
-o outfile Output file name to which stdout and stderr outputs
are redirected
2.1.3. Examples
This section includes examples for the component list option.
Output
---------------------------------------------------------------------------
XQPI0 excluded
A port of module 1 is also excluded
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
MMR0_CH1_DIMM1 (D4) excluded
MMR1_CH1_DIMM1 (D4) excluded
MMR4_CH0_DIMM2 (D0) excluded
MMR5_CH0_DIMM1 (D1) excluded
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
module0 excluded
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
ultracapa excluded
---------------------------------------------------------------------------
2.2.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged
into syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
m interface Target server interface: lanplus
H host Module IP address or DNS name
-a action Possible values:
getBiosInfo: returns BIOS image information
getMemorySize: gets the BIOS memory size saved in
the BMC
enterBiosSetup: sets a BIOS boot option to interrupt
the BIOS setup process at the next reboot. This
interruption can be used to enter, check and/or modify
BIOS setup parameters
u user MC user
p password MC user password
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which stdout and stderr outputs
are redirected
Output
---------------------------------------------------------------------------
firmware version of BIOS : LCX05.013.06.135
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
BIOS Memory Size is 5701632 Mbytes.
---------------------------------------------------------------------------
2.3.1. Options
h Displays command usage
l level Specifies the message severity to be logged in syslog.
m interface Target server interface: ipmilan, lanplus (default is
lanplus)
H host Chassis IP address or DNS name
u user MC user
p password MC user password
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level.
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128).
a action Possible values:
list: returns the names of the BIOS log files on the SD
card
get: copies the specified BIOS log file, or all BIOS log
files, into the specified directory (default /tmp
directory)
size: returns the size of the specified BIOS log file
rm: removes the specified BIOS log file, or all BIOS
log files, from the SD card
d directory Directory path for destination (default /tmp)
f filename BIOS log file name on SD card
o outfile Output file name to which stdout and stderr outputs
are
redirected
Output
---------------------------------------------------------------------------
rwxrxrx 1 root root 1258119 Aug 4 10:19 BIOS_LOG_19700101_00_00_52.log
rwxrxrx 1 root root 614553 Aug 4 12:38 BIOS_LOG_19700101_00_00_54.log
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Size of file BIOS_LOG_19700101_00_00_52.log = 1258119(bytes)
---------------------------------------------------------------------------
2.4.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged
into syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
m interface Target server interface: lanplus
H host Module IP address or DNS name
-a action Possible values:
list: returns the BIOS settings
get: gets the required BIOS settings values
set: sets the required settings
reset: sets the BIOS settings to the default values
u user MC user
p password MC user password
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which stdout and stderr outputs
are redirected
Output
---------------------------------------------------------------------------
ACPIHP_1 :0
ACPIHP_10 :0
ACPIHP_11 :0
ACPIHP_12 :0
ACPIHP_13 :0
ACPIHP_14 :0
ACPIHP_15 :0
…
vmseRmPatternLength :0
vunitClkGating :0
wrVrefCenter :0
zqCalEn :1
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
SerialDebugTrace :0
EnErrTh :255.
---------------------------------------------------------------------------
Command
$ bsmBiosSettings.sh -H X.X.X.X -u super -p <password> -a get -f myfile
Output
---------------------------------------------------------------------------
Setting serialDebugTrace is OK
---------------------------------------------------------------------------
Command
$ bsmBiosSettings.sh -H X.X.X.X -u super -p <password> -a set -n 'serialDebugTrace 1 nbErrTh 0'
Output
---------------------------------------------------------------------------
Setting serialDebugTrace is OK
Setting nbErrth is OK
---------------------------------------------------------------------------
Command
$ bsmBiosSettings.sh -H X.X.X.X -u super -p <password> -a set -f myfile
EnErrTh :15
Note The full path for the backup files is generated as follow:
/var/BSMHW/<partition name>/<module serial
number>/<date>_<time>/
2.5.1. Options
-h Displays command usage
l level Specifies the message severity to be logged in syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
m interface Target server interface: lanplus
H host Module IP address or DNS name
u user MC user
p password MC user password
a action Possible values:
backup: backups the BMC configuration parameters of
all partition modules
restore: restores the BMC configuration parameters for
a module
-D backupDir Full directory path for backup files (used with restore
action)
-F file Type of file to be restored. Possible values are config,
pef, system (used with restore action)
-M module Module identifier (used with restore action)
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
-o outfile Output file name to which stdout and stderr outputs
are redirected
2.5.3. Examples
This section includes examples for the action option.
Output
---------------------------------------------------------------------------
backup into /var/BSMHW_NG/XXX.XXX.XXX.XXX/SP1426043/141203_100015/config
successful.
backup into /var/BSMHW_NG/XXX.XXX.XXX.XXX/SP1426043/141203_100015/perf
successful.
backup into /var/BSMHW_NG/XXX.XXX.XXX.XXX/SP1426043/141203_100015/system
successful.
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Command complete. Please, do not lauch a command immediately. The BMC is
restarting.
---------------------------------------------------------------------------
Note If the system is running, the setting command will only apply to the
next power on. You are advised to power off the system, launch the
command and power on the system.
2.6.1. Options
h Displays command usage
m interface Target server interface: lanplus
H host Module IP address or DNS name
-d device Boot device. Possible values:
bios: BIOS displays the front page and waits for user's
input
pxe: BIOS tries to boot on the first network card in
the boot manager boot list
disk: BIOS tries to boot on the first hard drive in the
boot manager boot list
diag: BIOS EFI shell
none: BIOS uses its own boot device
-i instanceNumber Instance number of boot devices disk and pxe.
-O option[=value] Specifies an option and its value. Several options can
be separated with comma(s). Possible options:
persistent or persistent=yes: permanently
persistent=no: temporary, for next boot only
efiboot or efiboot=yes: EFI boot
efiboot=no: no EFI boot
u user MC user
p password MC user password
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which stdout and stderr outputs
are redirected
2.6.3. Examples
This section includes examples for the action option.
Output
---------------------------------------------------------------------------
Boot_Device PXE
BIOS_Boot_Type EFI
Boot_Flags_Persistent Yes
Device_Instance_Selector External0
CMOS_Clear No
---------------------------------------------------------------------------
2.7.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged in
syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
a action Possible values:
setEvent: inserts events attached to a sensor in the
SEL repository
testEvent: tests trap events sent without writing
messages in the SEL repository
m interface Target server interface: lanplus
H host Module IP address or DNS name
-u user MC user
p password MC user password
-s sensorID Sensor identifier (put between doublequotes)
-d landest Alert destination number
This can be obtained by running: bsminfo a
get_lan_alert_dest
-b state State for the sensor identifier (default is list). Possible
states: list, lnr, lcr, lnc, unc, ucr, unr, present
-e eventDir Direction taken by the state (default is assert)
-i i2csaAdr Address of the device generating the event (default is
the BMC address)
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which stdout and stderr outputs
are redirected
Output
---------------------------------------------------------------------------
Finding sensor CPU_0 DTS Temp.... ok
Sensor States:
lnr : Lower NonRecoverable
lcr : Lower Critical
lnc : Lower NonCritical
unc : Upper NonCritical
ucr : Upper Critical
unr : Upper NonRecoverable
---------------------------------------------------------------------------
Command
$./bsmevent.sh m lanplus H X.X.X.X u super p <password> a setEvent b unc s "CPU_0 DTS Temp."
Output
---------------------------------------------------------------------------
Finding sensor CPU_0 DTS Temp.... ok
0x0000 | PreInit Timestamp | | Temperature #0200#2d | Upper
Noncritical going high #57fcfb | Asserted
---------------------------------------------------------------------------
Note Servers are identified by their DNS name or IP address (-H parameter).
2.8.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged in
syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
H host Module IP address or DNS name
m interface Target server interface: lanplus, ipmidrv
u user MC user
p password MC user password
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which stdout and stderr outputs
are redirected
Output
---------------------------------------------------------------------------
FRU Inventory Device: System (ID 00 on MC 0x20)
FRU Product Manufacturer Name: BULL
FRU Product Name: bullion S
FRU Product Part/Model Number: bullion S16
FRU Product Version: 002
FRU Product Serial Number: XAN-S18-00005
W018 WARNING
W018:
It is mandatory to consult the documentation delivered with the
firmware files before proceeding to update firmware.
The update process may take some time and MUST NOT be interrupted.
No other actions may be performed during the process.
Only qualified personnel are authorized to update firmware.
When the command is accepted, the return code is 0. If the command fails, the
return code is -1.
Prerequisite
Insert the Resource and Documentation DVD in the drive
2.9.1. Options
h Displays command usage
-V Displays BSM version
-a action Possible values:
list: lists the component firmware provided on the
Resource and Documentation DVD
check: checks the installation prerequisites for all the
components that need upgrading
diff: compares the firmware versions installed with the
versions on the Resource and Documentation DVD for
all components
upg: upgrades all the components that can be
upgraded with the versions available on the
Resource and Documentation DVD
-D directory DVD mount point (full path)
-f Forces the upgrade of the prerequisites
-T action_to Timeout for the upgrade of the prerequisites in
minutes (default is 3)
-L later y(yes): checks and upgrades earlier and later versions
(default)
n(no): checks and upgrades earlier versions
-M module_id For multi-module servers only.
If present, the action will be executed on the module
with this id.
If not, the action will be executed on all the modules.
-H host Module IP address or DNS name
u user MC user
p password MC user password
2.9.3. Examples
This section includes examples for the action option.
Note If the -H, -u and -p options are present, only the firmware for the
same machine type (same PRODUCT_ID) rather than the remote host
specified is displayed.
Command
$ bsmFwGlobalUpg.sh -a list -D /STV/PRODUCTS/Customer/ -H X.X.X.X -u super -p <password>
Output
---------------------------------------------------------------------------
TECHNICAL STATE FIRMWARE INFORMATION
INPUT TS : Mesca2 005.02
DATE : 9/10/2014
FIRMWARE LIST FOR PRODUCT_ID : bullion_S
FW NAME : BCM53101_WEO
FW VERSION : 001
FW DIFF : NO
FW UPGRADE : NO
COMPONENT_ID LIST : WEO MC
FW NAME : BIOSX05
FW VERSION : 05.013.05.133
FW DIFF : YES
FW UPGRADE : YES
COMPONENT_ID LIST : BIOS
FW NAME : BIOSX05VM
FW VERSION : 05.013.05.033
FW DIFF : YES
FW UPGRADE : YES
COMPONENT_ID LIST : BIOS
FW NAME : LCP
FW VERSION : 20
FW DIFF : YES
FW UPGRADE : YES
COMPONENT_ID LIST : LCP
FW NAME : POWERVILLE_CIX
FW VERSION : 1.63
FW DIFF : YES
FW UPGRADE : YES
COMPONENT_ID LIST : ETHERNET
FW NAME : FPGA_WEO
FW VERSION : 0.2.3
FW DIFF : NO
FW UPGRADE : NO
COMPONENT_ID LIST : FPGA WEO
FW NAME : FPGA_CIX
FW VERSION : 0.2.9
FW DIFF : YES
Output
---------------------------------------------------------------------------
FIRMWARE DIFF FOR
INPUT TS : Mesca2 005.02
HOST ADDRESS : X.X.X.X
HOST PRODUCT ID : bullion_S
CURRENT HOST TS : unknown
MODULE ID : 0
FW NAME TS FW VERSION HOST COMPONENT HOST VERSION RESULT
BIOSX05VM 05.013.05.033 BIOS 05.013.04.032 EARLIER
LCP 20 LCP 20 OK
FPGA_CIX 0.2.9 Main FPGA 0.2.6 EARLIER
CPLD_M_CIX 0.0.9 MCPLD 0.0.9 OK
CPLD_P_CIX 0.2.3 PCPLD 0.2.0 EARLIER
CPLD_PM1_CIX 0.6 PM1CPLD 5.6 LATER
CPLD_PM2_CIX 0.6 PM2CPLD 5.6 LATER
CPLD_MUCM 1.2 UCMCPLD 0.0 EARLIER
PM_MUCM 0.3 UCMPM 0.0 EARLIER
EMM30_BMC 30.10.0 MC 30.9.0 EARLIER
FIRMWARE TO UPGRADE : 6
FIRMWARE DIFF FOR
INPUT TS : Mesca2 005.02
HOST ADDRESS : X.X.X.X
HOST PRODUCT ID : bullion_S
CURRENT HOST TS : unknown
MODULE ID : 1
FW NAME TS FW VERSION HOST COMPONENT HOST VERSION RESULT
BIOSX05VM 05.013.05.033 BIOS 05.013.04.032 EARLIER
LCP 20 LCP 20 OK
FPGA_CIX 0.2.9 Main FPGA 0.2.6 EARLIER
CPLD_M_CIX 0.0.9 MCPLD 0.0.9 OK
CPLD_P_CIX 0.2.3 PCPLD 0.2.0 EARLIER
CPLD_PM1_CIX 0.6 PM1CPLD 5.6 LATER
CPLD_PM2_CIX 0.6 PM2CPLD 5.6 LATER
CPLD_MUCM 1.2 UCMCPLD 0.0 EARLIER
PM_MUCM 0.3 UCMPM 0.0 EARLIER
EMM30_BMC 30.10.0 MC 30.9.0 EARLIER
FIRMWARE TO UPGRADE : 6
action duration : 5.695304
---------------------------------------------------------------------------
Result Values
Result Description
unknown The installed firmware version is not known
EARLIER The installed firmware version is earlier than the one on
the Resource and Documentation DVD
LATER The installed firmware version is later than the one on the
Resource and Documentation DVD
OK The installed firmware version and the one on the
Resource and Documentation DVD are the same
Note You can choose to check either the earlier versions or the earlier and
the later versions against the versions on the Resource and
Documentation DVD, using the -L option.
Syntax
bsmFwGlobalUpg.sh -a check -D dir H host u user p password [-M module_id]
[-L y|n] [o outfile]
Command
$ bsmFwGlobalUpg.sh -a check -D /STV/PRODUCTS/Customer/ -H X.X.X.X -u super -p <password> -L yes
Output
---------------------------------------------------------------------------
FIRMWARE CHECK FOR
INPUT TS : Mesca2 005.02
HOST ADDRESS : 172.31.50.60
HOST PRODUCT ID : bullion_S
CURRENT HOST TS : unknown
MODULE ID : 0
FW NAME TS FW VERSION HOST COMPONENT HOST VERSION DIFF
UPGRADABLE PREREQ STATUS
BIOSX05VM 05.013.05.033 BIOS 05.013.04.032 EARLIER
YES KO KO : pre_check POWER_STATUS_OFF failed
LCP 20 LCP 20 OK
YES N/A OK
FPGA_CIX 0.2.9 Main FPGA 0.2.6 EARLIER
YES KO KO : pre_check POWER_STATUS_OFF failed
CPLD_M_CIX 0.0.9 MCPLD 0.0.9 OK
YES N/A OK
CPLD_P_CIX 0.2.3 PCPLD 0.2.0 EARLIER
YES KO KO : pre_check POWER_STATUS_OFF failed
CPLD_PM1_CIX 0.6 PM1CPLD 5.6 LATER
YES N/A OK
CPLD_PM2_CIX 0.6 PM2CPLD 5.6 LATER
YES N/A OK
CPLD_MUCM 1.2 UCMCPLD 0.0 EARLIER
YES KO KO : pre_check POWER_STATUS_OFF failed
PM_MUCM 0.3 UCMPM 0.0 EARLIER
YES KO KO : pre_check POWER_STATUS_OFF failed
EMM30_BMC 30.10.0 MC 30.9.0 EARLIER
YES KO KO : pre_check POWER_STATUS_OFF failed
FIRMWARE OK TO UPGRADE: 0
FIRMWARE CHECK FOR
INPUT TS : Mesca2 005.02
HOST ADDRESS : 172.31.50.61
HOST PRODUCT ID : bullion_S
CURRENT HOST TS : unknown
MODULE ID : 1
FW NAME TS FW VERSION HOST COMPONENT HOST VERSION DIFF
UPGRADABLE PREREQ STATUS
BIOSX05VM 05.013.05.033 BIOS 05.013.04.032 EARLIER
YES KO KO : pre_check POWER_STATUS_OFF failed
LCP 20 LCP 20 OK
YES N/A OK
FPGA_CIX 0.2.9 Main FPGA 0.2.6 EARLIER
YES KO KO : pre_check POWER_STATUS_OFF failed
CPLD_M_CIX 0.0.9 MCPLD 0.0.9 OK
YES N/A OK
CPLD_P_CIX 0.2.3 PCPLD 0.2.0 EARLIER
YES KO KO : pre_check POWER_STATUS_OFF failed
CPLD_PM1_CIX 0.6 PM1CPLD 5.6 LATER
Status Description
unknown The installed firmware version is not known
OK No need to upgrade
OK to upg Upgrade needed and possible
Other tool to upg Upgrade needed but not possible with this command. It
must be performed with a different tool
KO Upgrade needed but impossible
KO : pre_check Upgrade needed but the prerequisites must be upgraded
XXX failed first: use the -f option to force the upgrade of the
prerequisites
Notes • You can choose to upgrade either the earlier versions or the earlier
and the later versions to match the versions on the Resource and
Documentation DVD, using the -L option.
• You can choose to force the upgrade of the prerequistes using the -f
option. The default timeout for the upgrade of the prerequisites is 3
minutes. This can be changed using the -T option.
Syntax
bsmFwGlobalUpg.sh -a upg -D dir H host u user p password [-M moduleIndex]
[-f [-T action_to]] [-L y|n] [-r] [o outfile]
Command
$ bsmFwGlobalUpg.sh -a upg -D /CD_bullion_060.02 -M all -H X.X.X.X -u super -p <password> -f
Notes • The configuration parameter value can be obtained even with the
action option or with the keyname option.
• The options -a and -k are exclusive.
2.10.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged by
syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
a action Possible values:
getPowerRestorePolicy: gets the power restore policy
(On, Off or Restore) applied after an AC power loss
getPrimaryNTP: gets the address for the primary NTP
server that gives the date and time
getSecondaryNTP: gets the address for the secondary
NTP server that gives the date and time
getDisableBCS: gets the BCS status
getBiosNoMemoryHole: gets the feature setting. It
removes all gaps in the memory allocation for the
modules. For VMware only.
getBiosVMwareMaxMemPerModule: gets this feature
setting. It pre-allocates DRAM slice per module. For
VMware only.
getBiosBootTimeout: gets the BIOS boot timeout.
getTSnumber: gets the Technical State number
-k keyname BMC key put between quote. Keyname format:
'bmc.xxxxx'
m interface Target server interface: lanplus
H host Module IP address or DNS name
-u user MC user
p password MC user password
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
2.10.3. Examples
This section includes examples for the action option.
Output
-----------------------------------------------------------------------
Power Restore Policy is: on
-----------------------------------------------------------------------
Output
-------------------------------------------------------------------
Primary NTP server is: Y.Y.Y.Y
-----------------------------------------------------------------------
Output
-------------------------------------------------------------------
Secondary NTP server is: Z.Z.Z.Z
-----------------------------------------------------------------------
Output
---------------------------------------------------------------------------
BCS disabling is : yes
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Bios boot timeout is : 15 minutes
Multiply the value per 3 to have the timeout used by the BMC of a
multi-modules server.
---------------------------------------------------------------------------
Note This feature is available for VMware systems only. It removes all gaps
in the memory allocation for the modules. This feature is only available
for the 8 sockets BIOS images for VMware systems.
Command
bsmGetConfParam.sh -m lanplus -H X.X.X.X -u super -p <password> -a getBiosNoMemoryHole
Note This feature is available for VMware system only and allows you to
pre-allocate DRAM slice per module, according to the DRAM amount per
module and the physical memory address limits supported by the OS.
Command
bsmGetConfParam.sh -m lanplus -H X.X.X.X -u super -p <password> -a getBiosVMwareMaxMemPerModule
Output
---------------------------------------------------------------------------
Technical state number is Mesca2 009.01
---------------------------------------------------------------------------
2.11.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged in
syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
m interface Target server interface: lanplus
H host Module IP address or DNS name
u user MC user
p password MC user password
-n functionalProfileId Functional Profile identifier (0 or 1)
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which stdout and stderr outputs
are redirected
2.11.3. Example
Command
$ bsmGetFunctionalProfile.sh -m lanplus -H X.X.X.X -u super -p <password> –n 0
Output
---------------------------------------------------------------------------
Functional profile 0 is active
Power Restore Policy is: off
---------------------------------------------------------------------------
2.12.1. Options
-h Displays command usage
‐m interface Target server interface: lanplus
‐H host Module IP address or DNS name
-u user MC user
‐p password MC user password
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
-o outfile Output file name to which stdout and stderr outputs
are redirected
2.12.3. Examples
Command
$ bsmGetHardwareExclusion.sh -m lanplus –H X.X.X.X –u super -p <password>
Output
---------------------------------------------------------------------------
No hardware exclusion
---------------------------------------------------------------------------
Command
$ bsmGetHardwareExclusion.sh -m lanplus –H X.X.X.X –u super -p <password>
Output
---------------------------------------------------------------------------
MMR0_CH1_DIMM1 (D4) excluded
MMR1_CH1_DIMM1 (D4) excluded
MMR4_CH0_DIMM2 (D0) excluded
MMR5_CH0_DIMM1 (D1) excluded
---------------------------------------------------------------------------
Command
$ bsmGetHardwareExclusion.sh -m lanplus –H X.X.X.X –u super -p <password>
Output
---------------------------------------------------------------------------
XQPI0 excluded
XQPI2 excluded
---------------------------------------------------------------------------
2.13.1. Options
h Displays command usage
l level Specifies the message severity to be logged in syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
m interface Target server interface: lanplus.
H host Module IP address or DNS name
u user MC user
p password MC user password
-k keyname Lists information required. Several values can be put
in double quotes (“) and separated with space. If this
option is not set, information about the module_id is
displayed. Possible values:
module_id: module identifier
model_type: model type
model_name: marketing name
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which stdout and stderr outputs
are redirected
Output
---------------------------------------------------------------------------
Module identifier is 0
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Module identifier is 1
---------------------------------------------------------------------------
2.14.1. Options
-h Displays command usage
-l level Specifies the message severity to be logged into
syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
-m interface Target server interface: lanplus
-H host Module IP address or DNS name
-u user MC user
-p password MC user password
-k keyname Lists information required. Several values can be put
between double quotes (“) and separated with spaces.
If this option is not set, information about
partition_composition and master_id are displayed.
Possible values:
partition_composition: lists the modules included in
the partition
master_id: current master module identifier
next_master_id: master module identifier which will
be set after the next power on
ip_emm_list: lists the module IP addresses for the
platform
partition_name: name of the partition
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which stdout and stderr outputs
are redirected
Output
---------------------------------------------------------------------------
Module 0 is in the partition
No current master ID. - Partition is Off
---------------------------------------------------------------------------
2.14.3.2. Display Partition Modules with Master Module IDs, Module Addresses and
Partition Name
Command
$ bsmGetPartitionLevelInfo.sh -m lanplus -H X.X.X.X -u super -p <password>
-k “partition_composition master_id next_master_id ip_emm_list partition_name”
Output
---------------------------------------------------------------------------
Modules 0 and 1 are in the partition
No current master ID. Partition is Off
Master ID for the next power on is 0
IP address for module 0 is X.X.X.X.
IP address for module 1 is X.X.X.X.
Partition name is bimodules
---------------------------------------------------------------------------
2.15.1. Options
h Displays command usage
l level Specifies the messages severity to be logged in syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
m interface Target server interface: lanplus
H host Module IP address or DNS name
u user MC user
p password MC user password
-k keyname Lists information required. Several values can be put
between double quotes (“) and separated with spaces.
If this option is not set, information about platform_id,
platform_name and module_count are displayed.
Possible values:
platform_id: platform identifier
platform_name: platform label
module_count: number of modules in the platform
prefix_ip: internal network IP address prefix
ip_emm_list: lists platform module's IP addresses
is_flexible: possibility to change the partition
composition
get_reset: gets the value set for automatic reset
get_uc_presence: gets the value set to power the
ultracapacity
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which stdout and stderr outputs
are redirected
Output
---------------------------------------------------------------------------
Platform identifier is 152
Platform name is PVT-NL-4838
Module count is 01
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Module count is 02
IP prefix is 10.24
Platform name is PVT-NL-4837
Platform identifier is 154
---------------------------------------------------------------------------
Output
--------------------------------------------------------------------------
Partitions can be changed
IP address for module 0 is X.X.X.X
IP address for module 1 is X.X.X.X
IP address for module 2 is X.X.X.X
IP address for module 3 is X.X.X.X
---------------------------------------------------------------------------
Output
--------------------------------------------------------------------------
-module 0 - automatic reset set to no
-module 1 - automatic reset set to no
-module 2 - automatic reset set to no
-module 3 - automatic reset set to no
---------------------------------------------------------------------------
Output
--------------------------------------------------------------------------
-module 0 - ultracapacity presence is set to yes
---------------------------------------------------------------------------
2.16.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged in
syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
m interface Target server interface: lanplus
H host Module IP address
u user MC user
p password MC user password
-a action Possible values:
get: returns the system GUID for each partition of the
platform
set:sets the system GUID for each partition of the
platform
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which stdout and stderr outputs
are redirected
Output
---------------------------------------------------------------------------
GUID for modules 0 1 set.
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
GUID for modules 0 1 is 90A1D2BC256948B3A610B449FDDD9A14
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
GUID for module(s) 0 set
GUID for module(s) 1 set
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
GUID for module(s) 0 is BB338B914D6B4C478061B361F7F69AE0
GUID for module(s) 1 is 192E56C3D7DA4AF39299CF2B3A4BEC15
---------------------------------------------------------------------------
2.17.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged in
syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
m interface Target server interface: lanplus, ipmidrv
H host Module IP address or DNS name
C value Specifies the identification time period (in seconds):
this value may be set from 0 to 250
u user MC user
p password MC user password
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which stdout and stderr outputs
are redirected
2.18.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged in
syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
a action Possible values:
bmc_info: gets IPMI details,e.g., BMC Firmware
revision, Manufacturer, BMC Device support
lan_print: gets the configuration parameters of the
LAN channel used to access the BMC with an
OutOfBand connection
user_list: gets details about the users configured for
the LAN channel used to access the BMC with an
OutOfBand connection
get_lan_alert_dest: gets LAN alert destination details
configured for the LAN channel used to access the
BMC with an OutOfBand connection
get_pef_list: gets details about the Alert Policy Table
used by the BMC for Alert processing
get_pef_policy: gets details about the Platform Event
Filter Table used by the BMC for Alert processing
H host Module IP address or DNS name
m interface Target server interface: lanplus
-u user MC user
p password MC user password
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which stdout and stderr outputs
are redirected
Output
---------------------------------------------------------------------------
Device ID : 80
Device Revision : 1
Device SDRs : unsupported
Firmware Revision : 30.18
Device Available : yes (normal operation)
IPMI Version : 2.0
Sensor Device : supported
SDR Repository Device : supported
SEL Device : supported
FRU Inventory Device : supported
IPMB Event Receiver : unsupported
IPMB Event Generator : unsupported
Bridge : unsupported
Chassis Device : supported
Manufacturer ID : Bull Company (107)
Product ID : 17
Auxiliary Firmware Revision Information : 28130000h
Device GUID : 0f0e0d0c-0b0a-0908-b0ea-3cfeff38000a
System GUID : 1f8f9df0-cbdc-b4bc-f046-9a97d19f422a
System Firmware Version :
System Name : Capri5
Primary Operating System Name : Capri5-Linux00
Operating System Name :
Channel Information
Channel Number : 0
Medium Type : IPMB (I2C)
Protocol Type : IPMB-1.0
Active Session Count : 0
Session Support : session-less
Vendor ID : Intelligent Platform Management Interface forum (7154)
Channel Number : 1
Medium Type : 802.3 LAN
Protocol Type : IPMB-1.0
Active Session Count : 3
Session Support : multi-session
Vendor ID : Intelligent Platform Management Interface forum (7154)
Channel Number : 5
Medium Type : Asynch. Serial/Modem (RS-232)
Protocol Type : IPMB-1.0
Active Session Count : 0
Session Support : single-session
Vendor ID : Intelligent Platform Management Interface forum (7154)
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Section Lan_Conf_Auth
User_Enable_Auth_Type_MD5 Yes
Operator_Enable_Auth_Type_MD5 Yes
Admin_Enable_Auth_Type_MD5 Yes
OEM_Enable_Auth_Type_MD5 Yes
EndSection
Section Lan_Conf
IP_Address_Source Use_DHCP
IP_Address 172.31.130.10
MAC_Address 08:00:38:3C:EA:B0
Subnet_Mask 255.255.255.0
Default_Gateway_IP_Address 172.31.130.1
Default_Gateway_MAC_Address 00:00:00:00:00:00
Backup_Gateway_IP_Address 0.0.0.0
Backup_Gateway_MAC_Address 00:00:00:00:00:00
EndSection
Section Rmcpplus_Conf_Privilege
Maximum_Privilege_Cipher_Suite_Id_1 User
Maximum_Privilege_Cipher_Suite_Id_2 User
Maximum_Privilege_Cipher_Suite_Id_3 OEM_Proprietary
Maximum_Privilege_Cipher_Suite_Id_6 User
Maximum_Privilege_Cipher_Suite_Id_7 User
Maximum_Privilege_Cipher_Suite_Id_8 OEM_Proprietary
Maximum_Privilege_Cipher_Suite_Id_11 User
Maximum_Privilege_Cipher_Suite_Id_12 OEM_Proprietary
EndSection
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Section User1
Enable_User No
Lan_Enable_IPMI_Msgs No
Lan_Enable_Link_Auth No
Lan_Enable_Restricted_to_Callback No
Lan_Privilege_Limit No_Access
SOL_Payload_Access No
EndSection
Section User2
Username super
Enable_User Yes
Lan_Enable_IPMI_Msgs Yes
Lan_Enable_Link_Auth No
Lan_Enable_Restricted_to_Callback No
Lan_Privilege_Limit OEM_Proprietary
SOL_Payload_Access Yes
EndSection
Section User3
Username
Enable_User No
Lan_Enable_IPMI_Msgs No
Lan_Enable_Link_Auth No
Lan_Enable_Restricted_to_Callback No
Lan_Privilege_Limit No_Access
SOL_Payload_Access No
EndSection
.....
Section User62
Username
Enable_User No
Lan_Enable_IPMI_Msgs No
Lan_Enable_Link_Auth No
Lan_Enable_Restricted_to_Callback No
Lan_Privilege_Limit No_Access
SOL_Payload_Access No
EndSection
Section User63
Username
Enable_User No
Lan_Enable_IPMI_Msgs No
Lan_Enable_Link_Auth No
Lan_Enable_Restricted_to_Callback No
Lan_Privilege_Limit No_Access
SOL_Payload_Access No
EndSection
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Section Lan_Alert_Destination_1
Alert_Destination_Type PET_Trap
Alert_Acknowledge Yes
Alert_Acknowledge_Timeout 12
Alert_Retries 3
Alert_Gateway Default
Alert_IP_Address 172.31.50.73
Alert_MAC_Address 00:00:00:00:00:00
EndSection
Section Lan_Alert_Destination_2
Alert_Destination_Type PET_Trap
Alert_Acknowledge Yes
Alert_Acknowledge_Timeout 12
Alert_Retries 3
Alert_Gateway Default
Alert_IP_Address 172.31.60.99
Alert_MAC_Address 00:00:00:00:00:00
EndSection
Section Lan_Alert_Destination_3
Alert_Destination_Type PET_Trap
Alert_Acknowledge Yes
Alert_Acknowledge_Timeout 12
Alert_Retries 3
Alert_Gateway Default
Alert_IP_Address 129.182.6.41
Alert_MAC_Address 00:00:00:00:00:00
EndSection
Section Lan_Alert_Destination_4
Alert_Destination_Type PET_Trap
Alert_Acknowledge Yes
Alert_Acknowledge_Timeout 12
Alert_Retries 3
Alert_Gateway Default
Alert_IP_Address 172.31.50.205
Alert_MAC_Address 00:00:00:00:00:00
EndSection
Section Lan_Alert_Destination_5
Alert_Destination_Type PET_Trap
Alert_Acknowledge No
Alert_Acknowledge_Timeout 0
Alert_Retries 0
Alert_Gateway Default
Alert_IP_Address 0.0.0.0
Alert_MAC_Address 00:00:00:00:00:00
EndSection
...
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Section Alert_Policy_1
Policy_Type
Always_Send_To_This_Destination
Policy_Enabled Yes
Policy_Number 0
Destination_Selector 1
Channel_Number 1
Alert_String_Set_Selector 0
Event_Specific_Alert_String No
EndSection
Section Alert_Policy_2
Policy_Type
Always_Send_To_This_Destination
Policy_Enabled Yes
Policy_Number 0
Destination_Selector 2
Channel_Number 1
Alert_String_Set_Selector 0
Event_Specific_Alert_String No
EndSection
Section Alert_Policy_3
Policy_Type
Always_Send_To_This_Destination
Policy_Enabled Yes
Policy_Number 0
Destination_Selector 3
Channel_Number 1
Alert_String_Set_Selector 0
Event_Specific_Alert_String No
EndSection
Section Alert_Policy_4
Policy_Type
Always_Send_To_This_Destination
Policy_Enabled Yes
Policy_Number 0
Destination_Selector 4
Channel_Number 1
Alert_String_Set_Selector 0
Event_Specific_Alert_String No
EndSection
Section Alert_Policy_5
Policy_Type
Always_Send_To_This_Destination
Policy_Enabled No
Policy_Number 0
Destination_Selector 0
Channel_Number 0
Alert_String_Set_Selector 0
Event_Specific_Alert_String No
EndSection
.....
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Section Event_Filter_1
Filter_Type
Manufacturer_Pre_Configured
Enable_Filter Yes
Event_Filter_Action_Alert Yes
Event_Filter_Action_Power_Off No
Event_Filter_Action_Reset No
Event_Filter_Action_Power_Cycle No
Event_Filter_Action_Oem No
Event_Filter_Action_Diagnostic_Interrupt No
Event_Filter_Action_Group_Control_Operation No
Alert_Policy_Number 0
Group_Control_Selector 0
Event_Severity Information
Generator_Id_Byte_1 0xFF
Generator_Id_Byte_2 0xFF
Sensor_Type System_ACPI_Power_State
Sensor_Number 0x0F
Event_Trigger 0x6F
Event_Data1_Offset_Mask 0xFFFF
Event_Data1_AND_Mask 0x00
Event_Data1_Compare1 0xFF
Event_Data1_Compare2 0x00
Event_Data2_AND_Mask 0x00
Event_Data2_Compare1 0xFF
Event_Data2_Compare2 0x00
Event_Data3_AND_Mask 0x00
Event_Data3_Compare1 0xFF
Event_Data3_Compare2 0x00
EndSection
Section Event_Filter_2
Filter_Type
Manufacturer_Pre_Configured
Enable_Filter Yes
Event_Filter_Action_Alert Yes
Event_Filter_Action_Power_Off No
Event_Filter_Action_Reset No
Event_Filter_Action_Power_Cycle No
Event_Filter_Action_Oem No
Event_Filter_Action_Diagnostic_Interrupt No
Event_Filter_Action_Group_Control_Operation No
Alert_Policy_Number 0
Group_Control_Selector 0
Event_Severity Information
Generator_Id_Byte_1 0xFF
Generator_Id_Byte_2 0xFF
Sensor_Type Button_Switch
Sensor_Number 0xFF
Event_Trigger 0xFF
Event_Data1_Offset_Mask 0xFFFF
Event_Data1_AND_Mask 0x00
Event_Data1_Compare1 0xFF
Event_Data1_Compare2 0x00
Event_Data2_AND_Mask 0x00
Event_Data2_Compare1 0xFF
Event_Data2_Compare2 0x00
Event_Data3_AND_Mask 0x00
Event_Data3_Compare1 0xFF
Event_Data3_Compare2 0x00
EndSection
Section Event_Filter_3
2.19.3. Examples
This section includes examples for remote and local hardware management.
Clear SELs
Command
$ bsmlog.sh -m lanplus -H X.X.X.X -a clear_sel -u super -p <password>
Output
---------------------------------------------------------------------------
ID | Date | Time | Owner ID | Name | Type
| Event
150| Apr-01-2015 | 10:59:59 | 0x20 | ACPI Pwr State | System ACPI Power
State | S4/S5 soft-off
149| Apr-01-2015 | 10:59:48 | 0x20 | ACPI Pwr State | System ACPI Power
State | S0/G0
148| Apr-01-2015 | 10:59:43 | 0x20 | System Boot Init| System Boot Initiated
| System Restart ; OEM Event Data2 code = 01h ; OEM Event Data3
code = 0Dh
147| Apr-01-2015 | 10:49:17 | 0x80 | FAN_5 Redund. | Cooling Device
| Fully Redundant
146| Apr-01-2015 | 10:49:17 | 0x80 | FAN_4 Redund. | Cooling Device
| Fully Redundant
145| Apr-01-2015 | 10:49:17 | 0x80 | FAN_3 Redund. | Cooling Device
| Fully Redundant
144| Apr-01-2015 | 10:49:17 | 0x80 | FAN_2 Redund. | Cooling Device
| Fully Redundant
143| Apr-01-2015 | 10:49:17 | 0x80 | FAN_1 Redund. | Cooling Device
| Fully Redundant
142| Apr-01-2015 | 10:49:17 | 0x80 | FAN_0 Redund. | Cooling Device
| Fully Redundant
141| Apr-01-2015 | 10:49:15 | 0x80 | Mod 1 LAN Cnct | Cable/Interconnect
| Cable/Interconnect is connected
140| Apr-01-2015 | 10:49:12 | 0x80 | Pwr Redundancy | Power Unit
| Fully Redundant
139| Apr-01-2015 | 10:49:04 | 0x20 | ACPI Pwr State | System ACPI Power
State | S4/S5 soft-off
138| Apr-01-2015 | 10:49:03 | 0x80 | PS_1 Status | Power Supply
| Presence detected
137| Apr-01-2015 | 10:49:03 | 0x80 | PCI_6 | Entity Presence
| Entity Absent
136| Apr-01-2015 | 10:49:03 | 0x80 | PCI_6 RISER | Entity Presence
| Entity Absent
135| Apr-01-2015 | 10:49:03 | 0x80 | PCI_5 | Entity Presence
| Entity Absent
134| Apr-01-2015 | 10:49:03 | 0x80 | PCI_5 RISER | Entity Presence
| Entity Absent
133| Apr-01-2015 | 10:49:03 | 0x80 | PCI_4 | Entity Presence
| Entity Absent
132| Apr-01-2015 | 10:49:03 | 0x80 | PCI_4 RISER | Entity Presence
| Entity Absent
131| Apr-01-2015 | 10:49:03 | 0x80 | PCI_3 | Entity Presence
| Entity Absent
130| Apr-01-2015 | 10:49:03 | 0x80 | PCI_3 RISER | Entity Presence
| Entity Absent
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
backup file of module 0 into /tmp/boardmsg1 successful.
backup file of module 0 into /tmp/boardmsg2 successful.
backup file of module 0 into /tmp/erictrace1 successful.
backup file of module 0 into /tmp/erictrace2 successful.
command complete.
---------------------------------------------------------------------------
Command
$ bsmlog.sh -m lanplus -H X.X.X.X -u admin -p admin -a get_logs -D /tmp/log -s '.txt'
Output
---------------------------------------------------------------------------
backup file of module 0 into /tmp/log/boardmsg1.txt successful.
backup file of module 0 into /tmp/log/boardmsg2.txt successful.
backup file of module 0 into /tmp/log/erictrace1.txt successful.
backup file of module 0 into /tmp/log/erictrace2.txt successful.
command complete.
---------------------------------------------------------------------------
Clear logs
Command
$ bsmlog.sh -m lanplus -H X.X.X.X -a clear_logs -u super -p <password>
Output
---------------------------------------------------------------------------
Clearing SEL. Please allow a few seconds to erase.
---------------------------------------------------------------------------
Command to display SELs
$ bsmlog.sh -n 245-240 -m ipmidrv
Output
---------------------------------------------------------------------------
245 | 0x00bd | 10/13/2014 | 18:14:05 | 0x1 | OEM (0xc7) (Memory
RAS)#01f0#d4 | Patrol Scrub activated in all processors #800100 | Asserted
244 | 0x00bc | 10/13/2014 | 18:08:41 | 0x2c | Microcontroller/Coprocessor
(ME Power State)#2c00#16 | Transition to Running #000000 | Asserted
243 | 0x00bb | 10/13/2014 | 18:08:32 | 0x20 | System ACPI Power State (ACPI
Pwr State)#2000#00 | S0/G0: working #000000 | Asserted
242 | 0x00ba | 10/13/2014 | 18:08:29 | 0x20 | System Boot Initiated (System
Boot Init)#2000#d5 | System Restart #a70a00 | Asserted
241 | 0x00b9 | 10/13/2014 | 18:08:18 | 0x20 | System ACPI Power State (ACPI
Pwr State)#2000#00 | S4/S5: softoff #060000 | Asserted
240 | 0x00b8 | 10/13/2014 | 18:08:13 | 0x80 | Processor (CPU_1
Status)#8000#02 | IERR #000000 | Deasserted
--------------------------------------------------------------------------
2.20.1. Options
a action Possible values:
getPolicy: gets the governor and frequency range for
one or all CPUs
setPolicy: sets the CPU governor and to set the
frequency range for all CPUs for the usespace
governor
getCurrentFreq: gets the current frequency of one or
all CPUs
setCurrentFreq: sets the current frequency for one or
all CPUs
GetHWlimits: gets the minimum and maximum CPU
frequency allowed
h Displays command usage
m interface Remote host OS: linux
H host Module IP address or DNS name
l level Specifies the severity of the messages to be logged in
syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
u user Username for remote connection via ssh
C configfile Config file used for remote connection (default is “”)
I idfile Identity file used for remote connection (default is
id_dsa)
d cfgdir Full path directory containing config file and_identity
file
D pathdir Full path directory containing script bsmOSpm_local
on remote host
o outfile Output file name where stdout and stderr outputs are
redirected
arglist Lists arguments specific to the action
2.20.3.1. Get the Governor and the Frequency Range of One or All CPUs
Syntax
bsmOSpm.sh [h] [l level] m interface –H host [–u user] [o outfile]
[I idfile] [d cfgdir] [C configfile] [D pathdir] –a getPolicy [c CPU]
Options
c cpu CPU for the action (number, all, synth (default value))
Get a Synthesis
Command
$ bsmOSpm.sh -m linux –H X.X.X.X –u root –a getPolicy –c synth
Syntax
bsmOSpm.sh [h] [l level] m interface –H host [–u user] [o outfile]
[I idfile] [d cfgdir] [C configfile] [D pathdir] –a setPolicy
–g governor [y freq_min –x freq_max]
Options
g governor cpufreq governor. Values available are userspace,
ondemand, performance.
-y freq_min Minimum CPU frequency the governor may select
(only if userspace governor is specified). The
frequency may be specified in kHz or as a percentage
of the maximum frequency possible (hardware limit).
-x freq_max Maximum CPU frequency the governor may select
(only if userspace governor is specified). The
frequency may be specified in kHz or as a percentage
of the maximum frequency possible (hardware limit).
Set the CPU Frequency Governor to userspace, with Frequency Range in Percent
Command
$ bsmOSpm.sh -m linux –H X.X.X.X –u root –a setPolicy –g userspace –y 77% -x 87%
Get a Synthesis
Command
$ bsmOSpm.sh -m linux –H X.X.X.X –u root –a getCurrentFreq –c synth
Notes • For the Power Off command to be taken into account on a remote
host running Windows 2000 / 2003 Server, the Shutdown: Allow
system to be shut down without having to log on security
option must be enabled on the remote host. To configure this
security option:
- Click Start > Run.
- In the Open box, type gpedit.msc and click OK.
- In the Group Policy window, expand Computer
Configuration\Windows\ Settings\Security
Settings\Local\Policies\Security Options\.
- Set the Shutdown Security option to enabled.
• In order to power on/off a chassis, the system executing bsmpower
must be declared on the target server as a member of a SNMPv1
read-write community. The default read-write community name used
by bsmpower is private.
2.21.1. Options
-h Displays command usage.
-q Quiet option: stops all output (stdout, sdterr, or outfile
if the -o option is specified).
-a action Possible values:
on: power on
off: power off
off_force: force power off
status: display power status
diag: send diagnostic interrupt
-H host Module IP address or DNS name.
-m interface Target system interface: lanplus, ipmidrv.
-u user MC user
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level.
2.21.3. Examples
This section includes examples for the action option.
Syntax
bsmpower.sh [-h] [-q] -a action -m lanplus -H host [-u user] [-p password]
[-o outfile] [-Y cipher]
Power on Command
$ bsmpower.sh -a on -m lanplus -H X.X.X.X -u super -p <password>
Output
---------------------------------------------------------------------------
X.X.X.X: off
---------------------------------------------------------------------------
Return Codes
0 System powered ON
1 System powered OFF
-1 Command failed
Send Diagnostic Interrupt Command
Return Codes
0 Command accepted
-1 Command failed
2.22.1. Options
h Displays command usage
m interface Target server interface: lanplus
H host Module IP address or DNS name
-a action Possible values:
config: copies the registry configuration file to the SD
card
dump: launches a dump of the registries
list: lists all the registry dump files present on the SD
card
get: gets the registry dump file(s)
size: gets the size of the specified registry dump file
rm: removes the registry dump file(s)
-d directory Directory path for destination (default /tmp)
-f filename file name
u user MC user
p password MC user password
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which stdout and stderr outputs
are redirected
2.22.3. Examples
This section includes examples for the action option.
Output
---------------------------------------------------------------------------
Copying Dump_Bcs_Mod0_11052015_00006 into /tmp/DUMP6
Copying... 100%
187 bytes copied.
Copying Dump_Cpu0_Mod0_11052015_00006 into /tmp/DUMP6
Copying... 100%
73 bytes copied.
Copying Dump_Cpu1_Mod0_11052015_00006 into /tmp/DUMP6
Copying... 100%
73 bytes copied.
Copying Dump_Fpga_Mod0_11052015_00006 into /tmp/DUMP6
Copying... 100%
42 bytes copied.
Copying Dump_SystemInfo_11052015_00006 into /tmp/DUMP6
Copying... 100%
280 bytes copied.
/tmp/DUMP6/DVT-VALID3_Dump_11052015_00006.json created
---------------------------------------------------------------------------
2.23.1. Options
-h Displays command usage
m interface Target server interface: lanplus
H host Module IP address or DNS name
u user MC user
p password MC user password
C componentList Lists hardware components to be removed from the
exclusion list. Components must be put between
quotes and separated by a blank
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
-o outfile Output file name to which stdout and stderr outputs
are redirected
Output
---------------------------------------------------------------------------
XQPI0 removed from exclusion list
A port of module 1 is also excluded
XQPI2 removed from exclusion list
A port of module 1 is also excluded
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
MMR0_CH1_DIMM1 (D4) removed from exclusion list.
MMR1_CH1_DIMM1 (D4) removed from exclusion list.
MMR4_CH0_DIMM2 (D0) removed from exclusion list.
MMR5_CH0_DIMM1 (D1) removed from exclusion list.
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Module0 removed from exclusion list
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Ultracapa removed from exclusion list.
---------------------------------------------------------------------------
Note Servers are identified by their DNS name or IP address (-H parameter).
2.24.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged in
syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
q Quiet option: no output
-action Possible values:
BMCreset: BMC cold reset
HARDreset: Hardware reset with OS reboot
FPGAreset: MSM FPGA reset
BCM1reset: MSM BMC1 switch reset
BMC2reset: MSM BMC2 switch reset
UNITreset: other component reset (CMM, ESM…)
H host Module IP address or DNS name
m interface Target server interface: lanplus
u user MC user
p password MC user password
o outfile Output file name to which stdout and stderr outputs
are redirected
2.25.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged
into syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
m interface Target server interface: lanplus
H host Module IP address or DNS name
u user MC user
p password MC user password
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which stdout and stderr outputs
are redirected
2.25.3. Example
Command
$ bsmResetAllEMMPartition.sh -m lanplus -H X.X.X.X -u super -p <password>
Output on a bi-modules
---------------------------------------------------------------------------
Sent cold reset command to MC
Sent cold reset command to MC
---------------------------------------------------------------------------
2.26.1. Options
h Displays command usage
l level Defines the message level to be logged
m interface Target server interface: ipmilan, lanplus(default is
lanplus)
H host Module IP address or DNS name
u user MC user
p password MC user password
Y cipher Cipher suite ID to be used by the lanplus interface
(default is 3)
a action Possible values:
list: lists sensor data including type, ID and status
info: displays SDR details
dump: dumps SDR data into a text file
cclear: clears the SDR cache
get: gets specific sensor data either by type, ID,
address or entity
s sensor_ids Specifies sensor names separated by commas
(between double quotes)
i i2csa_addr Specifies the address of the device generating a event
(default is the BMC address)
t sensor_type Specifies sensor type by string or code (0x..) or list
e entity_type Specifies entity type by string or decimal
(entity_id[.entity_instance]) or list
F filename Name of the SDR dump file
X Optional parameter for the list action:
display extended list
x value Optional values for the list action:
all: all sensors
full: Full Sensor Record
compact: Compact Sensor Record
event: Event-Only Record
mcloc: Management Controller Device Locator Record
fru: Fru Device Locator Record
generic: generic
o outfile Output file name
2.26.3. Examples
This section includes examples for the action option.
Output
-----------------------------------------------------------------------
Record ID | ID string | Owner ID | Number | Entity IDs
0x0013 | ACPI Pwr State | 0x20 | 15 | 14.0
0x0014 | Power button | 0x20 | 1 | 23.96
0x101e | Pwr Redundancy | 0x80 | 0 | 19.96
0x101f | CPU_0 Status | 0x80 | 1 | 3.96
0x1020 | CPU_1 Status | 0x80 | 2 | 3.97
0x1021 | PS_0 Status | 0x80 | 3 | 10.96
0x1022 | PS_1 Status | 0x80 | 4 | 10.97
0x1023 | MMR_0 | 0x80 | 5 | 8.96
0x1024 | MMR_1 | 0x80 | 6 | 8.97
0x1025 | MMR_2 | 0x80 | 7 | 8.98
0x1026 | MMR_3 | 0x80 | 8 | 8.99
0x1027 | MMR_4 | 0x80 | 9 | 8.100
0x1028 | MMR_5 | 0x80 | 10 | 8.101
0x1029 | MMR_6 | 0x80 | 11 | 8.102
0x102a | MMR_7 | 0x80 | 12 | 8.103
0x102b | PCI_0 RISER | 0x80 | 13 | 25.96
0x102c | PCI_1 RISER | 0x80 | 14 | 25.97
0x102d | PCI_2 RISER | 0x80 | 15 | 25.98
0x102e | PCI_3 RISER | 0x80 | 16 | 25.99
0x102f | PCI_4 RISER | 0x80 | 17 | 25.100
0x1030 | PCI_5 RISER | 0x80 | 18 | 25.101
0x1031 | PCI_6 RISER | 0x80 | 19 | 25.102
0x1032 | PCI_0 | 0x80 | 20 | 25.96
0x1033 | PCI_1 | 0x80 | 21 | 25.97
0x1034 | PCI_2 | 0x80 | 22 | 25.98
0x1035 | PCI_3 | 0x80 | 23 | 25.99
0x1036 | PCI_4 | 0x80 | 24 | 25.100
0x1037 | PCI_5 | 0x80 | 25 | 25.101
0x1038 | PCI_6 | 0x80 | 26 | 25.102
0x1039 | FAN_0 | 0x80 | 27 | 29.96
0x103a | FAN_1 | 0x80 | 28 | 29.97
0x103b | FAN_2 | 0x80 | 29 | 29.98
0x103c | FAN_3 | 0x80 | 30 | 29.99
0x103d | FAN_4 | 0x80 | 31 | 29.100
0x103e | FAN_5 | 0x80 | 32 | 29.101
0x103f | FAN CABLE 0 | 0x80 | 33 | 30.96
0x1040 | FAN CABLE 1 | 0x80 | 34 | 30.97
0x1041 | PWR CABLE 0 | 0x80 | 35 | 19.96
0x1042 | PWR CABLE 1 | 0x80 | 36 | 19.96
0x1043 | PDB CABLE | 0x80 | 37 | 19.96
0x1044 | UCM CABLE | 0x80 | 38 | 21.96
0x1045 | RL CABLE | 0x80 | 39 | 7.96
0x1046 | UCM | 0x80 | 40 | 21.96
0x1047 | HDD BACKPLANE | 0x80 | 41 | 7.96
0x1048 | CPU_0 DTS Temp. | 0x80 | 45 | 3.96
Output
-----------------------------------------------------------------------
SDR version : 1.5
SDR record count : 453
Free space remaining : 65534 bytes
Most recent addition timestamp : Post-Init 0 s
Most recent erase timestamp : Post-Init 0 s
Get SDR Repository Allocation Information Command : unsupported
Reserve SDR Repository Command : supported
Partial Add SDR Command : supported
Delete SDR Command : supported
Modal/non-modal SDR Repository Update operation : modal supported
SDR could not be written due to lack of space : No
-----------------------------------------------------------------------
Output
-----------------------------------------------------------------------
Dumping Sensor Data Repository to '/tmp/dump203.txt'
-----------------------------------------------------------------------
Note The list of sensor types can be obtained by using the -t list option.
Command
$ bsmsdr.sh H <IP_address> u super p <password> a get t list
Output
-----------------------------------------------------------------------
Sensor Types:
Battery
Button/Switch
Cable/Interconnect
Chassis
Chip Set
Cooling Device
Current
Entity Presence
Event Logging Disabled
Fan
Microcontroller/Coprocessor
OEM Reserved
OS Critical Stop
Other Units Based Sensor
Platform Security Violation Attempt
Power Supply
Power Unit
Processor
System ACPI Power State
System Boot Initiated
System Event
Temperature
Version Change
Voltage
Watchdog 2
-----------------------------------------------------------------------
Command
$ bsmsdr.sh H <IP_address> u super p <password> a get t Fan
Output
-----------------------------------------------------------------------
Record ID | ID string |Owner ID| Number| Event | Entity | Sensor
Reading
0x1054 | FAN_0F speed | 0x80 | 57 | N/A | 29.96 | N/A
0x1055 | FAN_1F speed | 0x80 | 58 | N/A | 29.97 | N/A
0x1056 | FAN_2F speed | 0x80 | 59 | N/A | 29.98 | N/A
0x1057 | FAN_3F speed | 0x80 | 60 | N/A | 29.99 | N/A
0x1058 | FAN_4F speed | 0x80 | 61 | N/A | 29.100 | N/A
0x1059 | FAN_5F speed | 0x80 | 62 | N/A | 29.101 | N/A
0x105a | FAN_0R speed | 0x80 | 63 | N/A | 29.96 | N/A
0x105b | FAN_1R speed | 0x80 | 64 | N/A | 29.97 | N/A
0x105c | FAN_2R speed | 0x80 | 65 | N/A | 29.98 | N/A
0x105d | FAN_3R speed | 0x80 | 66 | N/A | 29.99 | N/A
Output
-----------------------------------------------------------------------
Record ID: 4187
Record Type: Full Sensor Record (1h)
ID String FAN_1R speed
Sensor Type: Fan (4h)
Sensor Number: 64
IPMB Slave Address: 40h
Sensor Owner ID 80
Sensor Owner LUN: 0h
Channel Number: 0h
Entity ID: fan/cooling device (29)
Entity Instance: 97
Entity Instance Type: Physical Entity
Event/Reading Type Code: 1h
B: 0
M: 100
R Exponent: 0
B Exponent: 0
Linearization: linear (0h)
Analog Data Format: unsigned (0h)
Tolerance: 100.000000 RPM
Resolution: 100.000000 RPM
Lower Critical Threshold: 3500.000000 RPM
Upper Critical Threshold: N/A
Lower Non-Critical Threshold: N/A
Upper Non-Critical Threshold: N/A
Lower Non-Recoverable Threshold: N/A
Note The list of entity types can be obtained by using the -e list option.
Command
$ bsmsdr.sh H <IP_address> u super p <password> a get e list
Output
-----------------------------------------------------------------------
Entity IDs:
1 other
3 processor
6 system management module
7 system board
8 memory module
10 power supply
12 front panel board
14 power system board
19 power unit/power domain
21 power management/power distribution board
23 system chassis
25 Other chassis board
29 fan/cooling device
30 cooling unit/cooling domain
31 cable/interconnect
34 System Firmware
46 Management Controller Firmware
212 OEM System Integrator
-----------------------------------------------------------------------
Command
$ bsmsdr.sh H <IP_address> u super p <password> a get e 3
Output
-----------------------------------------------------------------------
Record ID | ID string |Owner ID| Number| Entity | Record Type
0x100f | CPU_0 | | | 3.96 | LOG FRU @03h
0x1010 | CPU_1 | | | 3.97 | LOG FRU @04h
0x101f | CPU_0 Status | 0x80 | 01 | 3.96 | Compact Sensor Record
0x1020 | CPU_1 Status | 0x80 | 02 | 3.97 | Compact Sensor Record
0x1048 | CPU_0 DTS Temp.| 0x80 | 45 | 3.96 | Full Sensor Record
0x1049 | CPU_1 DTS Temp.| 0x80 | 46 | 3.97 | Full Sensor Record
0x10a6 | CPU_0 fault | 0x80 | 141 | 3.96 | Compact Sensor Record
0x10a7 | CPU_1 fault | 0x80 | 142 | 3.97 | Compact Sensor Record
0x200f | CPU_0 | | | 3.96 | LOG FRU @03h
0x2010 | CPU_1 | | | 3.97 | LOG FRU @04h
0x201f | CPU_0 Status | 0x82 | 01 | 3.96 | Compact Sensor Record
0x2020 | CPU_1 Status | 0x82 | 02 | 3.97 | Compact Sensor Record
0x2048 | CPU_0 DTS Temp.| 0x82 | 45 | 3.96 | Full Sensor Record
Output
-----------------------------------------------------------------------
Record ID | ID string | Owner ID | Number | Entity | Record Type
0x100f | CPU_0 | | | 3.96 | LOG FRU @03h
0x1010 | CPU_1 | | | 3.97 | LOG FRU @04h
0x101f | CPU_0 Status | 0x80 | 01 | 3.96 | Compact Sensor Record
0x1020 | CPU_1 Status | 0x80 | 02 | 3.97 | Compact Sensor Record
0x1048 | CPU_0 DTS Temp.| 0x80 | 45 | 3.96 | Full Sensor Record
0x1049 | CPU_1 DTS Temp.| 0x80 | 46 | 3.97 | Full Sensor Record
0x10a6 | CPU_0 fault | 0x80 | 141 | 3.96 | Compact Sensor Record
0x10a7 | CPU_1 fault | 0x80 | 142 | 3.97 | Compact Sensor Record
0x200f | CPU_0 | | | 3.96 | LOG FRU @03h
0x2010 | CPU_1 | | | 3.97 | LOG FRU @04h
0x201f | CPU_0 Status | 0x82 | 01 | 3.96 | Compact Sensor Record
0x2020 | CPU_1 Status | 0x82 | 02 | 3.97 | Compact Sensor Record
0x2048 | CPU_0 DTS Temp.| 0x82 | 45 | 3.96 | Full Sensor Record
0x2049 | CPU_1 DTS Temp | 0x82 | 46 | 3.97 | Full Sensor Record
0x20a6 | CPU_0 fault | 0x82 | 141 | 3.96 | Compact Sensor Record
0x20a7 | CPU_1 fault | 0x82 | 142 | 3.97 | Compact Sensor Record
-----------------------------------------------------------------------
2.27.1. Options
h Displays command usage
m interface Target server interface: lanplus
H host Module IP address
u user MC user
p password MC user password
-a action Possible values:
start: starts the SEL syslog logging daemon
stop: stops the SEL syslog logging daemon
-M module Module identifier (if not set, action is done on all the
modules)
2.27.3.1. Start the SEL logging daemons for all the modules
Command
$ bsmseld.sh -H X.X.X.X -u super -p <password> -a start
2.28.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged in
syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
v Displays details of each sensor. See output section
below
H host Module IP address or DNS name
m interface Target server interface: lanplus, ipmidrv
u user MC user
p password MC user password
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
c Used in conjunction -v to get sensor information in a
more compact form on IPMI servers
o outfile Output file name to which stdout and stderr outputs
are redirected
2.28.3. Examples
This section includes examples for remote and local hardware management.
Output
---------------------------------------------------------------------------
Record ID: 4127
ID String: CPU_0 Status
Sensor Type: Processor (7h)
Sensor Number: 1
IPMB Slave Address: 40h
Sensor Owner ID: 80h
Sensor Owner LUN: 0h
Channel Number: 0h
Entity ID: processor (3)
Entity Instance: 96
Entity Instance Type: Physical Entity
Event/Reading Type Code: 6Fh
Sensor Event: N/A
Record ID: 8223
ID String: CPU_0 Status
Sensor Type: Processor (7h)
Sensor Number: 1
IPMB Slave Address: 41h
Sensor Owner ID: 82h
Sensor Owner LUN: 0h
Channel Number: 0h
Entity ID: processor (3)
Entity Instance: 96
Entity Instance Type: Physical Entity
Event/Reading Type Code: 6Fh
Sensor Event: N/A
---------------------------------------------------------------------------
Command to display all the sensors with the same type
$ bsmsensor.sh -m lanplus -H X.X.X.X -u super -p <password> -t Power_Supply
Output
Command to display power supply sensor
$ bsmsensor.sh -m ipmidrv -t "CPU_0 Status"
Output
---------------------------------------------------------------------------
Locating sensor record…
Sensor Addr : 0x00800001
Sensor ID : CPU_0 Status (0x1)
Owner ID : 0x80
Entity ID : 3.96 (Processor)
Sensor Type (Discrete): Processor
States Asserted : Processor
[Presence detected]
---------------------------------------------------------------------------
Notes • The configuration parameter value can be set even with the action
option or with the keyname option.
• The options -a and -k are exclusive.
2.29.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged in
syslog
0: no messages are logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
a action Possible values:
setPowerRestorePolicy: sets the power restore policy
(On, Off or Restore) that follows an AC power loss
setPrimaryNTP: sets the address for the primary NTP
server for the date and the time
setSecondaryNTP: sets the address for the secondary
NTP server for the date and the time
setDisableBCS: disables the BCS
setBiosNoMemoryHole: removes all gaps in the
memory allocation for the modules. For VMware only.
setBiosVMwareMaxMemPerModule: pre-allocates DRAM
slice per module. For VMware only.
SetBiosBootTimeout: sets the BIOS boot timeout.
setTSnumber: sets the Technical State number
-k keyname BMC key put between quote. Keyname format:
'bmc.xxxxx'
m interface Target server interface: lanplus
H host Module IP address or DNS name
-u user MC user
p password MC user password
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which the stdout and stderr
outputs are redirected
2.29.3. Examples
This section includes examples for the action option.
Option
-x value Sets NTP server IP address
Command
bsmSetConfParam.sh -m lanplus -H X.X.X.X -u super -p <password> -a setPrimaryNTP -x X.X.X.X
Output
-------------------------------------------------------------------
NTP server set successfully
-----------------------------------------------------------------------
Output
-------------------------------------------------------------------
NTP server set successfully
-----------------------------------------------------------------------
Output
---------------------------------------------------------------------------
BCS disabling set successfully.
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Bios boot timeout set successfully.
---------------------------------------------------------------------------
Note This feature is available for VMware systems only. It removes all gaps
in the memory allocation for the modules. This feature is only available
for the 8 sockets BIOS images for VMware systems.
Syntax
bsmSetConfParam.sh [h] a setBiosNoMemoryHole m interface H host -x value
[u user] [p password] [Y cipher] [o outfile] [l level]
Option
-x value Possible values: yes, no
Command
bsmSetConfParam.sh -m lanplus -H X.X.X.X -u super -p <password> -a setBiosNoMemoryHole -x yes
Note This feature is available for VMware system only and allows you to
pre-allocate DRAM slice per module, according to the DRAM amount per
module and the physical memory address limits supported by the OS.
Syntax
bsmSetConfParam.sh [h] a setBiosVMwareMaxMemPerModule m interface H host
-x value [u user] [p password] [Y cipher] [o outfile] [l level]
Option
-x value Possible values:
0 (8TB)
1 (4TB)
2 (2TB)
3 (1TB)
4 (512GB)
Command
bsmSetConfParam.sh -m lanplus -H X.X.X.X -u super -p <password> -a setBiosVMwareMaxMemPerModule -x
3
Output
---------------------------------------------------------------------------
Successfully set key mc.technical_state to Mesca2 009.01.
---------------------------------------------------------------------------
Note Modules of the new partition must have been powered OFF first.
2.30.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged
into syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
m interface Target server interface: lanplus
H host Module IP address or DNS name
u user MC user
p password MC user password
-P partition_name Partition name
C composition Partition composition:
for a mono-module: possible value is 0. It means
one partition composed with module 0
2.30.3. Example
The example below creates 2 partitions that are composed of 2 modules each.
Command
$ bsmSetPartitions.sh -m lanplus -H X.X.X.X -u super -p <password> -C03_12
Output
---------------------------------------------------------------------------
New partition composition set on module0.
New partition composition set on module3.
Module 0's BMC is resetting.
New partition composition set on module1.
New partition composition set on module2.
Module 1's BMC is resetting.
---------------------------------------------------------------------------
2.31.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged
into syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
m interface Target server interface: lanplus
H host Module IP address or DNS name
u user MC user
p password MC user password
N name Platform label (14 characters maximum)
I prefix_ip Platform IP address prefix
-F is_flexible Partitions can be changed (possible values 'yes' or
'not')
-M module Module identifier
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which stdout and stderr outputs
are redirected
Output
---------------------------------------------------------------------------
Address IP prefix set for module0.
Address IP prefix set for module1.
---------------------------------------------------------------------------
2.32.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged
into syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
m interface Target server interface: lanplus
H host Module IP address or DNS name
-d directory Directory path for tar.gz file (default: /var)
u user MC user
p password MC user password
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which stdout and stderr outputs
are redirected
2.32.3. Examples
This section includes archive creation examples.
Output
---------------------------------------------------------------------------
$File /var/BSMHW_NG/chassis4_22-03-13_09-57-59.gz was created
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
$File /tmp/Capri1bi_141014_154148.gz was created
---------------------------------------------------------------------------
2.33.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged in
syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
m interface Target server interface: lanplus
H host Module IP address or DNS name.
-a action Possible values:
set: sets Serial-Over-Lan parameters
info: obtains Serial-Over-Lan parameters
activate: activates SerialOverLan session
deactivate: closes SerialOverLan session
-k keyname Keyname for set action. Keyname must be put
between quotes
-x value Value for set action. Value must be put between
quotes
Keyname Values
Enable_SOL Yes, No
Force_SOL_Payload_Encryption Yes, No
Force_SOL_Payload_Authentication Yes, No
SOL_Privilege_Level User, Operator, Administrator,
OEM_Proprietary
Character_Accumulate_Interv al time in 5ms increments
Character_Send_Threshold N: a number
SOL_Retry_Count N: a number
SOL_Retry_Interval time in 10ms increments
Non_Volatile_Bit_Rate Serial, 9600, 19200, 38400, 57600,
115200
Volatile_Bit_Rate Serial, 9600, 19200, 38400, 57600,
115200
2.33.3. Examples
This section includes examples for the action option.
Output
---------------------------------------------------------------------------
[SOL Established]
&? - this menu
&. - exit
&B - generate break
&D - send DEL character
&& - & character
&
[closing the connection]
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Enable_SOL Yes
SOL_Privilege_Level User
Force_SOL_Payload_Authentication Yes
Force_SOL_Payload_Encryption Yes
Character_Accumulate_Interval (unit is 5ms) 10
Character_Send_Threshold 80
SOL_Retry_Count 7
SOL_Retry_Interval (Unit is 10ms)10
Non_Volatile_Bit_Rate 115200
Volatile_Bit_Rate 115200
SOL_Payload_Port_Number 623
---------------------------------------------------------------------------
2.34.1. Options
h Displays command usage
l level Specifies the severity of the messages to be logged in
syslog
0: no messages are logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
a action Possible values:
charge: charges the UCM
discharge: discharges the UCM
m interface Target server interface: lanplus
H host BMC IP address
-M module Module identifier from 0 to 7 (if not set, action is done
an all modules of the partition)
u user CMC user
p password User password
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level.
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128).
o outfile Output file name to which the stdout and stderr
outputs are redirected.
bsmUCMcmd.sh [h] [l level] a action H host [u user] [p password] [m
interface] -M module [Y cipher] [o outfile]
2.34.3. Examples
Output
---------------------------------------------------------------------------
Ultracapacitor charging
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Ultracapacitor discharging
---------------------------------------------------------------------------
W059 WARNING
W059:
Only qualified support personnel are authorized to use Maintenance
Hardware Management CLIs.
3.1.1. Options
-h Displays command usage
m interface Target server interface: lanplus
H host Module IP address or DNS name
-a action Possible values:
restoreFactory: restores the default factory keys
u user MC user
p password MC user password
3.1.3. Example
This section includes examples for the action list option.
Output
---------------------------------------------------------------------------
Factory keys restored.
---------------------------------------------------------------------------
3.2.1. Options
-h Displays command usage
l level Specifies the message severity to be logged in syslog
0: no message is logged (default)
1: only the FAILED completion of the command is logged
3: FAILED and successful completion of the command are
logged
m interface Target server interface: lanplus
H host Module IP address or DNS name
u user MC user
p password MC user password
-Y cipher Cipher suite ID to be used by lanplus interface: from 0 to 14
according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1), Integrity
(HMAC-SHA1-96), Confidentiality (AES-CBC-128)
Output
---------------------------------------------------------------------------
Module X.X.X.X configuration
Configuration keys:
mc.module_id: 1
mc.partition_composition: 15
mc.module_count: 4
mc.platform_id: 153
mc.force_multi_legacyIOH: no
mc.CF9_reset_disabled: no
mc.OS_shutdown_disabled: no
mc.BCS_snoop_mode_in_mono_module: no
mc.LOM_directories_disabled: no
mc.REM_directories_disabled: no
mc.BCS_timeouts_disabled: yes
mc.BIOS_timeout_sec: 60
mc.flexible: yes
bmc.power.linkspeeds.cpu_cpu_link: 6_4
bmc.power.linkspeeds.cpu_ioh_link: 6_4
bmc.power.linkspeeds.cpu_bcs_link: 6_4
bmc.power.linkspeeds.bcs_ioh_link: 6_4
bmc.power.linkspeeds.bcs_bcs_link: 4
network.inhibit_phy_reset_of_shared_eth_ctrl: yes
EMM states:
Power state: off
CPU full exclusion: none
CPU partial exclusion: none
Error mode: Normal
Functional profile 0:
Mono threading mode
00 enabled cores per socket (0=all)
1024GB max memory per module
BCS non degraded mode
---------------------------------------------------------------------------
When the command is accepted, the return code is 0. If the command fails, the
return code is -1.
3.3.1. Options
h Displays command usage
F fw_binfile Name of the firmware binary file used during the
upgrade
d fw_bindir Directory where the firmware binary file is (full path)
Default value is /tmp
H host Module IP address or DNS name
a action Possible values for a component (identified by
component_id) on the module (specified by
module_id):
ver Displays the firmware version
of the component
upg Upgrades the firmware of the
component
listhw Displays the list of
components which can be upgraded
E component_id Component name (all for all components)
M module_id Module ID, from 0 to 3
m interface Target server interface: lanplus, ipmidrv. If not
present, kcs driver will be used
u user MC user
p password MC user password
o outfile Output file name to which stdout and stderr outputs
are redirected
Output
---------------------------------------------------------------------------
Module 0 :
LCP
BIOS
ETHERNET
Main FPGA
PCPLD
MCPLD
UCMPM
UCMCPLD
PM1CPLD
PM2CPLD
MEMR0 PM
MEMR1 PM
MEMR2 PM
MEMR3 PM
MEMR4 PM
MEMR5 PM
MEMR6 PM
MEMR7 PM
PSU1
PSU2
MC (*)
(*) stands for Management controllers , i.e. BMC , CMC ...
Module 1 :
LCP
BIOS
ETHERNET
Main FPGA
PCPLD
MCPLD
UCMPM
UCMCPLD
PM1CPLD
PM2CPLD
MEMR0 PM
MEMR1 PM
MEMR2 PM
MEMR3 PM
MEMR4 PM
MEMR5 PM
MEMR6 PM
MEMR7 PM
PSU1
PSU2
MC (*)
(*) stands for Management controllers , i.e. BMC , CMC ...
---------------------------------------------------------------------------
Command specifying the directory where the firmware binary file is:
$ bsmFWupg.sh a upg H X.X.X.X u super p <password> d /Tools/Upgrade
F fwwubwpcm450_bulldc_MESCA_111100_1202.bin E BMC
W059 WARNING
W059:
Only qualified support personnel are authorized to use Maintenance
Hardware Management CLIs.
3.4.1. Options
-h Displays command usage
l level Specifies the severity of the messages to be logged in
syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
m interface Target server interface: lanplus
H host Module IP addresses or DNS names
-a action Possible values:
getTime: returns the time set for the PSU cold
redundancy test
setTime: sets the time (hh:mm) for the PSU cold
redundancy test
get_psu_redundancy: gets the power supply
redundancy policy
set_psu_redundancy: sets the power supply
redundancy policy
test_psu_redundancy: launches the PSU cold
redundancy test immediately
-x time Time with format hh:mm.
u user MC user
p password MC user password
-Y cipher Cipher suite ID to be used by lanplus interface: from 0
to 14 according to the security level
Default is 3: Authentication (RAKP-HMAC-SHA1),
Integrity (HMAC-SHA1-96), Confidentiality
(AES-CBC-128)
o outfile Output file name to which stdout and stderr outputs
are redirected
3.4.3. Examples
This section includes for the cold redundancy test.
Output
---------------------------------------------------------------------------
Cold redundancy for PSU set to 10h 25mn
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Cold redundancy for PSU set to 10h 50mn
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Module 0 - power supply redundancy successfully set to yes.
---------------------------------------------------------------------------
Output
--------------------------------------------------------------------------
-module 0 - power supply redundancy is set to yes
--------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Command completed normally
---------------------------------------------------------------------------
Note For servers using the ipmilan model, it is possible to use the same
user/password authentication for all the servers available. This can be
done by setting “*" as the manager parameter.
B.2.1. Options
‐h Displays command usage
‐a action Possible values:
add: adds a target to the list of targets in the internal
authentication file that can be accessed with a
dedicated user/password
del: deletes a target from the list of targets that can
be accessed by a user from the internal authentication
file
getE: extracts the encoded password needed to access
a target with a dedicated user from the internal
authentication file
getD: extracts the password needed to access a target
for a user from the internal authentication file
list: displays the contents of the internal
authentication file, this means the list of targets that
can be accessed with their user/password details
‐H host Platform Manager IP address or DNS name
‐u user MC user
‐p password MC user password
Output
---------------------------------------------------------------------------
Key entry successfully added
---------------------------------------------------------------------------
Command
$ bsmcfg_auth_cmd.sh -a add -u MWA2 -p mwa2pwd -H “*"
Syntax
bsmcfg_auth_cmd.sh ‐a getE ‐u user ‐H host
Command to get the encoded password to access a platform Manager
$ bsmcfg_auth_cmd.sh -a getE -u MWA -H X.X.X.X
Output
---------------------------------------------------------------------------
cGFzcw==
---------------------------------------------------------------------------
Command
$ bsmcfg_auth_cmd.sh -a getE -u MWA2 -H “*"
Output
---------------------------------------------------------------------------
RfGFerv==
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
mwapwd
---------------------------------------------------------------------------
Command
$ bsmcfg_auth_cmd.sh -a getD -u MWA2 -H “*"
Output
---------------------------------------------------------------------------
mwa2pwd
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
Key entry successfully deleted
---------------------------------------------------------------------------
Command to delete a generic device
$ bsmcfg_auth_cmd.sh -a del -u MWA2 -H “*"
Output
---------------------------------------------------------------------------
Key entry successfully deleted
---------------------------------------------------------------------------
Output
---------------------------------------------------------------------------
<?xml version="1.0"?>
<auth_entries>
<auth_entry keyname="HWMGR_mgr1" password="cHdkMQ%3D%3D" user="usr1" />
<auth_entry keyname="HWMGR_mgr2" password="d3h5" user="usr2" />
<auth_entry keyname="FTPSRV_srv1" password="cHdkMQ%3D%3D" user="usr1" />
<auth_entry keyname="DEV_ipaddr1" password="ZGV2cHdk" user="devuser" />
<auth_entry keyname="HWMGR_*" password="d3h6" user="MWA2" />
</auth_entries>
---------------------------------------------------------------------------
C.1. bsmPDUpower
The bsmPDUpower command is used for monitoring and the administration of
remote controlled PDUs (Power Distribution Units). This includes obtaining the
total power consumption for all the outlets of the PDU (and also the warning
and critical consumption thresholds), poweron/poweroff and status of the PDU
outlets.
The command uses SNMP to get and set requests to the SNMP agent of the
PDU:
When the command is accepted, the return code is 0. If the command fails, the
return code is -1.
Notes • Only PDUs from APC are supported. For APC metered rack PDUs, only
the getPowerConsumption action is available.
• Firmware version of APC PDUs must be equal to or later than v3.
C.1.1. Options
a action Possible values:
on/off: sets on or off one or all PDU outlets
status: obtains the status for one or all PDU outlets
getPowerConsumption: gets power consumption (in
Watts) for all PDU outlets
h Displays command usage
m model PDU model: apc
H host PDU IP address or DNS name
l level Specifies the severity of the messages to be logged in
syslog
0: no message is logged (default)
1: only the FAILED completion of the command is
logged
3: FAILED and successful completion of the command
are logged
o outfile Output file name to which stdout and stderr outputs
are redirected
arglist Lists arguments specific to the action
C.1.3. Examples
This section includes examples for the actions that can be performed.
Syntax
bsmPDUpower.sh [h] [l level] m model –H host [o outfile] –a on/off
[p SNMP port] [S SNMPv] [[C community]|[u user –L seclevel
–A authPass –P authPro –X privPass –x privPro]] [c outlet] [T timeout]
Options
p port SNMP port (default value: 161)
S SNMPv SNMP version: 1 (default value), 2c, 3
C community SNMPv1 community (default value private for on and
off actions)
L seclevel SNMPv3 SecurityLevel (noAuthNoPriv | authNoPriv |
authPriv)
u user SNMPv3 user
A authPass SNMPv3 authentication passphrase (15 to 32 ASCII
characters)
P authPro SNMPv3 authentication protocol (default value MD5 )
X privPass SNMPv3 privacy passphrase (15 to 32 ASCII
characters, different than –authPass)
x privPro SNMPv3 privacy protocol (default value DES )
c outlet Number or name of one outlet for a PDU (default value
all: all outlets are switched on or off)
T timeout SNMP timeout (default value: 30 seconds)
Command to set all outlets off
$ bsmPDUpower.sh –H X.X.X.X –a off –m apc –S 3 –L authPriv –u $user –A $authpass –P md5 –X $privpass
–x des –c all
Output
---------------------------------------------------------------------------
Outlet1 power: Off(2)
Outlet2 power: Off(2)
Outlet3 power: Off(2)
Outlet4 power: Off(2)
Outlet5 power: Off(2)
Outlet6 power: Off(2)
Outlet7 power: Off(2)
Outlet8 power: Off(2)
---------------------------------------------------------------------------
Command to set outlet 5 on
$ bsmPDUpower.sh –H X.X.X.X –a on –m apc –S 3 –L authPriv –u $user –A $authpass –P md5 –X $privpass
–x des –c 5
Syntax
bsmPDUpower.sh [h] [l level] m model –H host [o outfile] –a status
[p SNMP port] [S SNMPv] [[C community]|[u user –L seclevel
–A authPass –P authPro –X privPass –x privPro]] [c outlet] [T timeout]
Options
p port SNMP port (default value: 161)
S SNMPv SNMP version: 1 (default value), 2c, 3
C community SNMPv1 community (default value 'public' for status
action
L seclevel SNMPv3 SecurityLevel (noAuthNoPriv | authNoPriv |
authPriv)
u user SNMPv3 user
A authPass SNMPv3 authentication passphrase (15 to 32 ASCII
characters)
P authPro SNMPv3 authentication protocol (default value 'MD5' )
X privPass SNMPv3 privacy passphrase (15 to 32 ASCII
characters, different than –authPass)
x privPro SNMPv3 privacy protocol (default value 'DES' )
c outlet Number or name of one outlet of PDU (default value
'all': all outlets are switched on or off)
T timeout SNMP timeout (default value: 30 seconds)
Command to obtain the status for all outlets
$ bsmPDUpower.sh –H X.X.X.X –a status –m apc –S 3 –L authPriv –u $user –A $authpass –P md5 –X
$privpass –x des –c all
Output
---------------------------------------------------------------------------
Power Distribution Unit: X.X.X.X, MODEL: “AP7922”, Serial Nb: “ZA0904000484”,
Firm Rev: “v3.5.7”
Outlet1 power: Off(2)
Outlet2 power: Off(2)
Outlet3 power: Off(2)
Outlet4 power: Off(2)
Outlet5 power: On(1)
Outlet6 power: Off(2)
Outlet7 power: Off(2)
Outlet8 power: Off(2)
---------------------------------------------------------------------------
Command to obtain the status for outlet 4
$ bsmPDUpower.sh –H X.X.X.X –a status –m apc –S 1 –C public –c 4
Output
---------------------------------------------------------------------------
Power Distribution Unit: X.X.X.X, MODEL: “AP7922”, Serial Nb: “ZA0904000484”,
Firm Rev: “v3.5.7”
Outlet4 power: Off(2)
---------------------------------------------------------------------------
Syntax
bsmPDUpower.sh [h] [l level] m model –H host [o outfile]
–a getPowerConsumption [p SNMP port] [S SNMPv] [[C community]|
[u user –L seclevel –A authPass –P authPro –X privPass –x privPro]]
[T timeout]
Options
p port SNMP port (default value: 161)
S SNMPv SNMP version: 1 (default value), 2c, 3
C community SNMPv1 community (default value 'public' for
getPowerConsumption action
L seclevel SNMPv3 SecurityLevel (noAuthNoPriv | authNoPriv |
authPriv)
u user SNMPv3 user
A authPass SNMPv3 authentication passphrase (15 to 32 ASCII
characters)
P authPro SNMPv3 authentication protocol (default value 'MD5' )
X privPass SNMPv3 privacy passphrase (15 to 32 ASCII
characters, different than –authPass)
x privPro SNMPv3 privacy protocol (default value 'DES' )
T timeout SNMP timeout (default value: 30 seconds)
Command
$ bsmPDUpower.sh –H X.X.X.X –a getPowerConsumption –m apc
Output
---------------------------------------------------------------------------
Power OK: Reading 5 Watts|power=5;5520;7360;0
---------------------------------------------------------------------------
Or should be:
---------------------------------------------------------------------------
power=10;5000;7000;0
power consumption:10
high power level: 5000
critical power level: 7000
minimal consumption: 0
---------------------------------------------------------------------------
Output OK:
---------------------------------------------------------------------------
Power OK: 10|power=10;5000;7000;0
---------------------------------------------------------------------------
Output WARNING:
---------------------------------------------------------------------------
Power WARNING: High power level detected: 5500|power=5500;5000;7000;0
---------------------------------------------------------------------------
Output CRITICAL:
---------------------------------------------------------------------------
Power CRITICAL: Critical power level detected: 7500|power=7500;5000;7000;0
---------------------------------------------------------------------------