Procedure for using an ios_mksysb image to install
the base operating system on a NIM client from the command line.
- If the ios_mksysb resource has already been created,
skip to step 2. To create the ios_mksysb resource, enter:
nim -o define -t ios_mksysb -a server=ServerName \
-a location=LocationName -a mk_image=yes \
-a source=SourceMachine ResourceName
Specify
the server name and location of the ios_mksysb image. The mk_image and source attributes
are used to create the ios_mksysb image if it does not already
exist.
For a complete description of all the options that can
be specified when creating a ios_mksysb resource, see Using an ios_mksysb resource.
Example 1:
To
define a
ios_mksysb resource,
ios_mksysb_res1,
from an existing
ios_mksysb image that is located in the
/export/backups/client_ios_mksysb on
the master, enter:
nim -o define -t ios_mksysb -a server=master \
-a location=/export/backups/client_ios_mksysb ios_mksysb_res1
Example
2:
To create a
ios_mksysb image of the client system,
client1,
in
/export/resources/new_ios_mksysb on the master,
and to define an
ios_mksysb resource,
ios_mksysb_res2,
enter:
nim -o define -t ios_mksysb -a server=master \
-a location=export/resources/new_ios_mksysb -a mk_image=yes \
-a source=client1 ios_mksysb_res2
- To initiate the bos_inst operation, enter:
nim -o bos_inst -a source=mksysb -a ios_mksysb=ios_mksysb \
-a spot=SPOTName -a boot_client=yes/no ClientName
Specify
the resources to be used to support the installation and any additional
options for customizing the installation. To perform a simple mksysb installation,
specify the ios_mksysb and SPOT resources.
If
the client system being installed is not already a running, configured
NIM client, NIM will not automatically reboot the system over the
network for installation. A network boot must be performed manually
on the system. If that is the case, supply the boot_client=no attribute
to the bos_inst command. If the boot_client attribute
value is not specified, it defaults to boot_client=yes.
- If the VIOS or IVM client was not rebooted automatically,
initiate a network boot from the client to install it. If you are
booting from a network device, follow the procedures in your hardware
documentation to perform the network boot.
- After the system boots over the network, the display on
the client system will begin prompting for information about how to
configure the system during installation. Specify the requested information
to continue with the installation.
- If the client was not rebooted automatically, initiate
a network boot from the client to install it. If you are booting from
a network device, follow the procedures in your hardware documentation
to perform the network boot.
- After the system boots over the network, the display on
the client system will begin prompting for information about how to
configure the system during installation. Specify the requested information
to continue with the installation.
Example 3:
To
perform a
mksysb installation using the
ios_mksysb1,
mksysb1
,
an optional
lpp_source,
lpp_source1
, and the
SPOT,
spot1
,
on client system,
machine1
, which is not a running,
configured NIM client, enter:
nim -o bos_inst -a source=mksysb -a ios_mksysb=ios_mksysb1 \
-a lpp_source=lpp_source1 -a spot=spot1 -a boot_client=no vios1
Notes:
- The steps to perform an mksysb installation are almost
identical to the steps to perform other types of BOS installations.
The main differences are that mksysb must be specified in
the source attribute of the nim bos_inst command,
and an ios_mksysb resource must be allocated for the operation.
- To perform a non-prompted installation, follow the instructions
in Performing a nonprompted BOS installation to
complete the prerequisite tasks.