ways to install Fixpacks or service packs on VIOservers with NIM.

Posted on 2012-08-23
Last Modified: 2012-08-23

Our Aix are updated using LPP_SOURCE/S.U.M.A from NIM server. NIM downloads TLs and SPs, later we create the LPP_SOURCES  and update our LPARs either from NIM2clients or clients2NIM. This is well known by our grup, but we want to know of there's something similar for VIOservers.

Now we download Fixpacks/Servicepacks to NIM and share with NFS, mount the filesystem on every VIO and make the upgrade. Don't know if there's a better way to upgrade our VIOs.

Thoughts?  ;)
Question by:sminfo

    Author Comment

    BTW, wmp.. this opcion is not for make upgrades to vios?
    LVL 68

    Expert Comment

    These management objects are meant for communication via dsm (dsm.core, dsm.dsh), sort of a remote command execution facility, e.g. for network boot and power control.

    Communication with the VIOS object enables for example defining virtual optical devices to be mounted by another machine etc. and can be used for installation/upgrade tasks.

    Basically you're using  the above dsm interface  for triggering the NIMoL facility of the HMC ("nim -o bos_inst -t vios ...") to start "installios" or nimsh for direct communication with the VIOS ("nim -o updateios -t vios") to start "/usr/lpp/bos.sysmgt/nim/methods/c_updateios".

    Setting up a working dsm environment is a bit tricky, I, for one, don't use it.
    I think a little bit of scripting employing ssh would do nearly the same.
    But if you want to try it ...

    Author Comment

    but, the way we use using NFS is the fine? Or there's another better or unknown for me way to upgrtade VIos?

    And yes, I'd like to try but don't understand well what you say this management object menu of NIM.. this feature is new on nIM, isn't it?
    LVL 68

    Accepted Solution

    NFS is quite OK.

    Yes, these control objects are rather new, I think they came with 6.1.

    They're used to define objects which don't behave like classic AIX, or to define objects which are needed as intermediate stations or service providers.

    Basically you'll have to do this:

    - Install dsm.core and dsm.dsh
    - Create password files for each HMC/IVM/EMM using "dpasswd"
    - Create HMC/IVM control objects ("nim -o define -t hmc/ivm" or "smitty nim_mkmgmt_obj"
    -  Create CEC objects based on the HMC object with "nimquery" or "smitty nim_qumgmt_obj"
    - Create VIOS objects, each one based on the CEC object where it's in.

    Now you should create a VIOS LPP source for update and try "nim -o updateios -t vios ..." or better "smitty nim_mgmt_obj_op".

    I once tried all these "create" steps successfully, but I ran into trouble running updateios and didn't have the time to dig deeper since.

    Good luck!

    Author Closing Comment

    ok wmp... thanks once more for your excellent answers

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
    Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now