AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  Automated AIX install using NIM

    Posted Mon November 17, 2008 07:44 PM

    Originally posted by: shargus


    I'm setting up a 595 and I need to push a standard AIX build to a number of LPARs. I'm looking to automate this process as much as possible. I've created a mksysb, defined it in the NIM server, and defined the SPOT for the mksysb. I've tested the installation process manually from the NIM server to one client, and it works well. What I want to do is be able to script this process so I can build a number of servers automatically.

    So far, I've figured out I need to do a "nim -o allocate" to allocate the mksysb and spot to each server, then do a "nim -o bos_inst" to enable the network install. Finally, from the HMC, do an "lpar_netboot" to actually initiate the install.

    When I do the lpar_netboot, the client seems to stop at "setting_console" (according to the NIM server). How do I tell it not to use a console? Also, is there a way to tell it which disk to install to?

    Thanks.
    #AIX-Forum


  • 2.  Re: Automated AIX install using NIM

    Posted Tue November 18, 2008 02:35 AM

    Originally posted by: frenger


    Yep, you need a bosinst.data file, which you can use to specify which kernel you want to install, if jfs or jf2 fs should be in rootvg, which hdisks should be used and even additional filesets or bundles could be specified. Google on "bosinst.data nim aix" and you get several good hits.

    Have fun
    frenger
    #AIX-Forum