Using a mksysb image to install the base operating system on a NIM client from the command line

Follow this procedure for using a mksysb image to install the base operating system on a NIM client from the command line.

  1. If the mksysb resource has already been created, skip to step 2. To create the mksysb resource, enter:
    nim -o define -t mksysb -a server=ServerName \
    -a location=LocationName -a mk_image=yes \
    -a source=SourceMachine ResourceName

    Specify the server name and location of the mksysb image. The mk_image and source attributes are used to create the mksysb image if it does not already exist.

    For a complete description of all the options that can be specified when creating a mksysb resource, see Using a mksysb resource.

    Example 1:

    To define a mksysb resource, mksysb_res1, from an existing mksysb image located in /export/backups/client_mksysb on the master, enter:
    nim -o define -t mksysb -a server=master \
    -a location=/export/backups/client_mksysb mksysb_res1

    Example 2:

    To create a mksysb image of the client machine, client1, in /export/resources/new_mksysb on the master, and to define a mksysb resource, mksysb_res2, enter:
    nim -o define -t mksysb -a server=master \
    -a location=export/resources/new_mksysb -a mk_image=yes \
    -a source=client1 mksysb_res2
  2. To initiate the bos_inst operation, enter:
    nim -o bos_inst -a source=mksysb -a mksysb=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 mksysb and SPOT resources.

    If the client machine being installed is not already a running, configured NIM client, NIM will not automatically reboot the machine over the network for installation. A network boot must be performed manually on the machine. 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.

  3. 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.
  4. After the machine boots over the network, the display on the client machine will begin prompting for information about how to configure the machine during installation. Specify the requested information to continue with the installation.

    Example 3:

    To perform a mksysb installation using the mksysb, mksysb1, an optional lpp_source, lpp_source1, and the SPOT, spot1, on client machine, machine1, which is not a running, configured NIM client, enter:
    nim -o bos_inst -a source=mksysb -a mksysb=mksysb1 \
    -a lpp_source=lpp_source1 -a spot=spot1 -a boot_client=no machine1
Notes:
  1. The steps to perform a 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 a mksysb resource must be allocated for the operation.
  2. To perform a nonprompted installation, follow the instructions in Performing a nonprompted BOS installation to complete the prerequisite tasks.