[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1009
  • Last Modified:

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


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?  ;)
  • 3
  • 2
1 Solution
sminfoAuthor Commented:
BTW, wmp.. this opcion is not for make upgrades to vios?
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 ...
sminfoAuthor Commented:
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?
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!
sminfoAuthor Commented:
ok wmp... thanks once more for your excellent answers

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now