2 delete diskless image, 3 configure diskless node, 4 post node configuration – HP Insight Cluster Management Utility User Manual

Page 143: 5 unconfigure diskless node

Advertising
background image

8.2.2 Delete diskless image

The delete_image program is called when an HP Insight CMU diskless logical group of type
<DISKLESS> is deleted. This program is called with the following argument:

-l

<CMU diskless logical group name>

The name of the logical group to delete.

The delete_image program is expected to delete everything related to the diskless OS in /opt/
cmu/image/

<CMU diskless logical group name>/.

8.2.3 Configure diskless node

The configure_node program is called when a compute node is added to the HP Insight CMU
diskless logical group of type <DISKLESS>. This program is called with the following arguments:

-l

<CMU diskless logical group name>

The name of the diskless logical group.

-s

<NFS server IP>

The IP address of the NFS server.

-n

<nodename>

The host name of the target node to configure.

-i

<IP address>

The IP address of the target node to configure.

-m

<MAC address>

The MAC address of the target node to configure.

-e

<eth device>

The active Ethernet device of the target node to configure.

The configure_node program is expected to perform any node-specific tasks related to the
diskless image. This may include calling /opt/cmu/tools/cmu_add_node_to_dhcp to
configure the node to PXE-boot, and to produce a PXE-boot file for the compute node.

8.2.4 Post node configuration

The post_node_config program is called after all of the configure_node programs have
run. This program is called with the following arguments:

-l

<CMU diskless logical group name>

The name of the diskless logical group.

-f

<nodefile>

A file containing the list of nodes that were just configured.

The original purpose of the post_node_config program was to sychronize the NFS servers
with any node-specific changes made by the configure_node programs, but any global actions
that occur after the configure_node programs are run can be configured here.

8.2.5 Unconfigure diskless node

The unconfigure_node program is called when a compute node is removed from the HP Insight
CMU diskless logical group of type <DISKLESS>. This program is called with the following
arguments:

-l

<CMU diskless logical group name>

The name of the diskless logical group.

-n

<nodename>

The host name of the target node to unconfigure.

8.2 HP Insight CMU diskless API

143

Advertising