IBM®
Skip to main content
    Country/region [select]      Terms of use
 
 
     Home      Products      Services & solutions      Support & downloads      My account     
  IBM Wikis > Linux > ... > Installation > IBM VIOS Installation over NIM
Linux Log In | Sign Up   View a printable version of the current page.
IBM VIOS Installation over NIM
Added by Brian Fabec, last edited by Chad Collins on Mar 30, 2007  (view change)
Labels: 
(None)

Prerequisites
  1. IBM VIOS Insallation DVD
  2. IBM AIX Installation CD Disk 1 (I used AIX 5.3)
  3. AIX NIM Server (I used AIX 5.3)
  4. Power Series 5
Many Thanks

Many thanks goes out to the IBM's ITCAM Test Team in Austin!

Step 1. Prepare Installation files:

  1. AIX File Limit Size
    You must ensure that your file size security limitation isn't going to stop you from copying your mksysb image from your cdrom to your hard drive. On your NIM server, go to the /etc/security directory and edit the limit file. Change the fsize to -1 or something large enough to ensure the mksysb image will copy over. You will need to reboot your system for this to take place.

    cd /etc/security
    vi limits
    fsize = -1
    reboot

  2. Insert and Mount VIOS DVD

    smitty mountfs
    FILE SYSTEM name: /dev/cd0
    DIRECTORY over which to mount: /cdrom
    TYPE of file system: cdrfs
    Mount as a READ-ONLY system? yes

  3. Copy installation files from cdrom:

    mkdir /export/VIOS
    cd /cdrom/nimol/ioserver_res

    -rw-r--r--   1 root     system     11969032 Jul 05 07:07 booti.chrp.mp.ent.Z
    -rw-r--r--   1 root     system          951 Jul 05 07:07 bosinst.data
    -rw-r--r--   1 root     system     40723208 Jul 05 07:07 ispot.tar.Z
    lrwxrwxrwx   1 root     system           38 Jul 05 07:07 mksysb -> ../../usr/sys/inst.images/mksysb_image
    

    cp bosinst.data /export/VIOS
    cd /cdrom/usr/sys/inst.images

    -rw-r--r--   1 root     system   1101926400 Jul 05 06:52 mksysb_image
    

    cp mksysb_image /export/VIOS

Step 2. Define NIM Resources:

  1. Define the mksysb_image resource object

    nim -o define -t mksysb -a location=/export/VIOS/mksysb_image -a server=master vios_mksysb

  2. Define the SPOT resource object

    mkdir /export/VIOSSPOT
    nim -o define -t spot -a server=master -a location=/export/VIOS/VIOSSPOT -a source=vios_mksysb vios_spot

    # nim -o define -t spot -a server=master -a location=/export/VIOS/VIOSSPOT -a so
    urce=vios_mksysb vios_spot
    
     Creating SPOT in "/export/VIOS/VIOSSPOT" on machine "master" from "vios_mksysb"
     ...
    
     Restoring files from BOS image.  This may take several minutes ...
    
    
     Checking filesets and network boot images for SPOT "vios_spot".
     This may take several minutes ...
    
  3. Define the bosinst resource object

    nim -o define -t bosinst_data -a location=/export/VIOS/bosinst.data -a server=master vios_bosinst

  4. Define the lpp_source resource object
    Insert the first disk of the AIX installation.
    NOTE: When trying to use the VIOS lpp_source, when trying to NIM an LPAR, you get a missing simages error. So instead, we will use the AIX installation CDs, which works just fine.

    umount /cdrom
    mkdir /export/VIOS/lppsource
    nim -o define -t lpp_source -a source=/dev/cd0 -a server=master -a location=/export/VIOS/lppsource vios_lppsource

Step 3. Create VIOS LPAR:

NOTE: I dont have any pictures of this part of the setup, but it should be obvious how this is done
NOTE: I give specifications for a typical VIOS server. Your environment may vary.

  1. On the Power 5 HMC, right click on Partitions and select Create -> Locical Partition
  2. Enter a Parition ID and a Partition name. Under Partition environment, select Virtual I/O server.
  3. Select Next.
  4. Configure the workload group, otherwise select No. Select Next.
  5. Enter a Profile Name. Select Next.
  6. Enter select the amount of Minimum memory, Desired memory, and Maximum memory. I usually use 2 GB throughout all three. Select Next.
  7. Select a Processing mode. I use Dedicated. Select Next.
  8. If using Dedicated, enter the Minimum processors, Desired processors, and Maximum processors. I usually use 4 processors throughout all three. Select Next.
  9. Select your Hardware Configuration that you wish to use for your environment. Select Next.
  10. Configure I/O pools - Leave these as the default. Select Next.
  11. Configure Virutal I/O adapters - I typically configure this part later. Select Next.
  12. Configure Power Controlling Partitions - Leave these as the default settings. Select Next.
  13. Optional Settings - Leave these as the default settings. Select Next.
  14. Verify settings and Select Finish.

Step 4. NIM VIOS LPAR:

  1. On the NIM server, start NIM: smit nim
                            Network Installation Management
    
    Move cursor to desired item and press Enter.
    
      Configure the NIM Environment
      Perform NIM Software Installation and Maintenance Tasks
      Perform NIM Administration Tasks
      Create IPL ROM Emulation Media
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Esc+1=Help          Esc+2=Refresh       Esc+3=Cancel        Esc+8=Image
    Esc+9=Shell         Esc+0=Exit          Enter=Do
    
  2. Select Perform NIM Software Installation and Maintenance Tasks
                Perform NIM Software Installation and Maintenance Tasks
    
    Move cursor to desired item and press Enter.
    
      Install and Update Software
      List Software and Related Information
      Software Maintenance and Utilities
      Alternate Disk Installation
      Manage Diskless/Dataless Machines
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Esc+1=Help          Esc+2=Refresh       Esc+3=Cancel        Esc+8=Image
    Esc+9=Shell         Esc+0=Exit          Enter=Do
    
  3. Select Install and Update Software
                              Install and Update Software
    
    Move cursor to desired item and press Enter.
    
      Install the Base Operating System on Standalone Clients
      Install Software
      Update Installed Software to Latest Level (Update All)
      Install Software Bundle
      Update Software by Fix (APAR)
      Install and Update from ALL Available Software
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Esc+1=Help          Esc+2=Refresh       Esc+3=Cancel        Esc+8=Image
    Esc+9=Shell         Esc+0=Exit          Enter=Do
    
  4. Select Install the Base Operating System on Standalone Client
                              Install and Update Software
    
    Move cursor to desired item and press Enter.
    
      Install the Base Operating System on Standalone Clients
      Install Software
      Update Installed Software to Latest Level (Update All)
      Install Software Bundle
      Update Software by Fix (APAR)
      Install and Update from ALL Available Software
    
    
    
    
    
    
      +--------------------------------------------------------------------------+
      |                    Select a TARGET for the operation                     |
      |                                                                          |
      | Move cursor to desired item and press Enter.                             |
      |                                                                          |
      |   reg-05     machines       standalone                                   |
      |                                                                          |
      | Esc+1=Help              Esc+2=Refresh           Esc+3=Cancel             |
      | Esc+8=Image             Esc+0=Exit              Enter=Do                 |
    Es| /=Find                  n=Find Next                                      |
    Es+--------------------------------------------------------------------------+
    
  5. Select the machine to install VIOS on. If nothing appears, make sure you have created a stand alone system.
                              Install and Update Software
    
    Move cursor to desired item and press Enter.
    
      Install the Base Operating System on Standalone Clients
      Install Software
      Update Installed Software to Latest Level (Update All)
      Install Software Bundle
      Update Software by Fix (APAR)
      Install and Update from ALL Available Software
    
    
    
    
      +--------------------------------------------------------------------------+
      |                       Select the installation TYPE                       |
      |                                                                          |
      | Move cursor to desired item and press Enter.                             |
      |                                                                          |
      |   rte - Install from installation images                                 |
      |   mksysb - Install from a mksysb                                         |
      |   spot - Install a copy of a SPOT resource                               |
      |                                                                          |
      | Esc+1=Help              Esc+2=Refresh           Esc+3=Cancel             |
      | Esc+8=Image             Esc+0=Exit              Enter=Do                 |
    Es| /=Find                  n=Find Next                                      |
    Es+--------------------------------------------------------------------------+
    
  6. Select mksysb - Install from a mksysb
                              Install and Update Software
    
    Move cursor to desired item and press Enter.
    
      Install the Base Operating System on Standalone Clients
      Install Software
      Update Installed Software to Latest Level (Update All)
      Install Software Bundle
      Update Software by Fix (APAR)
      Install and Update from ALL Available Software
    
    
    
    
    
    
      +--------------------------------------------------------------------------+
      |              Select the MKSYSB to use for the installation               |
      |                                                                          |
      | Move cursor to desired item and press Enter.                             |
      |                                                                          |
      |   vios_mksysb     resources       mksysb                                 |
      |                                                                          |
      | Esc+1=Help              Esc+2=Refresh           Esc+3=Cancel             |
      | Esc+8=Image             Esc+0=Exit              Enter=Do                 |
    Es| /=Find                  n=Find Next                                      |
    Es+--------------------------------------------------------------------------+
    
  7. Select the vios_mksysb resource.
                              Install and Update Software
    
    Move cursor to desired item and press Enter.
    
      Install the Base Operating System on Standalone Clients
      Install Software
      Update Installed Software to Latest Level (Update All)
      Install Software Bundle
      Update Software by Fix (APAR)
      Install and Update from ALL Available Software
    
    
    
    
    
    
      +--------------------------------------------------------------------------+
      |               Select the SPOT to use for the installation                |
      |                                                                          |
      | Move cursor to desired item and press Enter.                             |
      |                                                                          |
      |   vios_spot     resources       spot                                     |
      |                                                                          |
      | Esc+1=Help              Esc+2=Refresh           Esc+3=Cancel             |
      | Esc+8=Image             Esc+0=Exit              Enter=Do                 |
    Es| /=Find                  n=Find Next                                      |
    Es+--------------------------------------------------------------------------+
    
  8. Select vios_spot resource.
  9. Select the vios_lppsource resource.
  10. Select the vios_bosinst resource.
                Install the Base Operating System on Standalone Clients
    
    Type or select values in entry fields.
    Press Enter AFTER making all desired changes.
    
    [TOP]                                                   [Entry Fields]
    * Installation Target                                 reg-05
    * Installation TYPE                                   mksysb
    * SPOT                                                vios_spot
      LPP_SOURCE                                         [vios_lppsource]        +
      MKSYSB                                              vios_mksysb
    
      BOSINST_DATA to use during installation            [vios_bosinst]          +
      IMAGE_DATA to use during installation              []                      +
      RESOLV_CONF to use for network configuration       []                      +
      Customization SCRIPT to run after installation     []                      +
      Customization FB Script to run at first reboot     []                      +
        ACCEPT new license agreements?                   [no]                    +
      Remain NIM client after install?                   [yes]                   +
      PRESERVE NIM definitions for resources on          [yes]                   +
        this target?
    
      FORCE PUSH the installation?                       [no]                    +
    
    [MORE...31]
    
    Esc+1=Help          Esc+2=Refresh       Esc+3=Cancel        Esc+4=List
    Esc+5=Reset         Esc+6=Command       Esc+7=Edit          Esc+8=Image
    Esc+9=Shell         Esc+0=Exit          Enter=Do
    

    NOTE: Setting the "Remain as NIM client after install" as YES can cause errors when configuring your shared ethernet adapters after install.

  11. Press Enter to start the NIM process.
More References

NIM Syntax
http://www.ncsa.uiuc.edu/UserInfo/Resources/Hardware/IBMp690/IBM/usr/share/man/info/en_US/a_doc_lib/aixins/aixnimgd/nim_resources.htm
Some NIM Syntax Examples
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.install/doc/insgdrf/basic_config_cmd.htm
VIOS Installation and Configuration (Go Facts)
http://oss.gonicus.de/openpower/index.php/IBM_VIO_Server

Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.10 Build:#528 Nov 29, 2006)
    About IBM Privacy Contact