
Table 4 HP Insight CMU GUI features and their corresponding commands
HP Insight CMU management node commandHP Insight CMU GUI feature (right-click node selection)
/opt/cmu/bin/cmu_consoleManagement Card Connection
/opt/cmu/tools/halt.expShutdown
/opt/cmu/bin/cmu_powerPower Off
/opt/cmu/tools/boot.expBoot
/opt/cmu/tools/reboot.expReboot
/opt/cmu/bin/cmu_consoleMultiple Window Broadcast (Mgt Card)
/opt/cmu/bin/cmu_backupBackup (Capture Image)
/opt/cmu/bin/cmu_cloneCloning (Deploy Image)
/opt/cmu/bin/cmu_autoinstall_nodeAutoinstall (kickstart|autoyast|preseed)
/opt/cmu/tools/cmu_cn_installUpdate→Get Nodes Static Info
/opt/cmu/tools/cmu_cn_installUpdate→Install CMU Monitoring Client
/opt/cmu/bin/cmu_firmware_mgmtInsight→Show BIOS Settings
/opt/cmu/bin/cmu_firmware_mgmtInsight→Show BIOS Version
/opt/cmu/bin/cmu_firmware_mgmtInsight→Upgrade Firmware
7.1.3 Examples
To grant shutdown and reboot privileges to user 'jsmith' (note that ALL can be replaced with
localhost or the hostname of the HP Insight CMU management node):
jsmith ALL = NOPASSWD: /opt/cmu/tools/halt.exp /opt/cmu/tools/reboot.exp
The /etc/sudoers file supports creating "command aliases" when you need to refer to a group
of commands. For example, the following lines configure useful HP Insight CMU aliases by grouping
the commands into three categories: power control, provisioning, and the rest of the features:
Cmnd_Alias CMU_POWER = /opt/cmu/tools/halt.exp /opt/cmu/bin/cmu_power /opt/cmu/tools/boot.exp
/opt/cmu/tools/reboot.exp
Cmnd_Alias CMU_IMAGE = /opt/cmu/bin/cmu_backup /opt/cmu/bin/cmu_clone /opt/cmu/tools/cmu_autoinstall_node
Cmnd_Alias CMU_ETC = /opt/cmu/bin/cmu_console /opt/cmu/tools/cmu_cn_install /opt/cmu/bin/cmu_firmware_mgmt
Now you can grant power control to user 'cjones' as long as he provides a password:
cjones ALL = CMU_POWER
To let user 'bstevens' control power and provisioning without a password:
bstevens ALL = NOPASSWD: CMU_POWER CMU_IMAGE
To grant user 'sbarney' full HP Insight CMU control without a password (similar to the current root
user capability in the HP Insight CMU GUI):
sbarney ALL = NOPASSWD: CMU_POWER CMU_IMAGE CMU_ETC
If a non-root user in the HP Insight CMU GUI tries to execute a command without sudo privileges,
the sudo command prevents it from running and logs the incident.
7.2 HP Insight CMU diskless API
As of version 7.1, HP Insight CMU supports a diskless API. This diskless API provides hooks into
the creation, management, and booting of diskless logical groups in HP Insight CMU. This diskless
API enables the development and/or integration of different "diskless OS" implementations within
HP Insight CMU.
114 Advanced topics
Kommentare zu diesen Handbüchern