?
Solved

Refresh the mksysb resource on NIM

Posted on 2011-03-17
1
Medium Priority
?
1,132 Views
Last Modified: 2013-11-17
ok,

I have created multiples mksysb that are located on:
MKSYSB_MIDDLEPRE:
   class         = resources
   type          = mksysb
   Rstate        = ready for use
   prev_state    = ready for use
   nfs_vers      = 3
   nfs_sec       = sys
   location      = /LPAR_MKSYSB/middlepre/middlepre.img
   version       = 6
   release       = 1
   mod           = 6
   oslevel_r     = 6100-06
   alloc_count   = 0
   server        = master
   creation_date = Thu Mar 17 14:59:30 2011

MKSYSB_BIBMDES_CONT:
   class         = resources
   type          = mksysb
   Rstate        = ready for use
   prev_state    = ready for use
   nfs_vers      = 3
   nfs_sec       = sys
   location      = /LPAR_MKSYSB/bibmdes_cont/contingencia.img
   version       = 5
   release       = 3
   mod           = 12
   oslevel_r     = 5300-12
   alloc_count   = 0
   server        = master
   creation_date = Wed Mar 16 18:09:52 2011


MKSYSB_MIDDLEDES:
   class          = resources
   type           = mksysb
   Rstate         = ready for use
   prev_state     = ready for use
   nfs_vers       = 3
   nfs_sec        = sys
   location       = /LPAR_MKSYSB/middledes/middledes.img
   version        = 6
   release        = 1
   mod            = 6
   oslevel_r      = 6100-06
   alloc_count    = 0
   server         = master
   extracted_spot = spotbibm
   creation_date  = Thu Mar 17 12:23:57 2011

Every week these mksysb files are updated (note: all mksysb will have the same TL), so the question is:

Do I have to refresh or to do something on the NIM server if the content of the mksysb file  change?

I assume that if I change the TL on the mksysb file I have to recreate the resource, no?

This NIM is driving me crazyyyyyyy
:-)
0
Comment
Question by:sminfo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 35158379
I always use "nim -o define -t mksysb -a source=nim_client ..." to have NIM pull an mksysb from the node,
instead of running mksysb there to write it to an NFS mount served by NIM.

This way NIM has always full control of the process and can refresh its database if needed.

Of course you must remove the old mksysb first, use "nim -o remove mksysb_resource" for this.

If you use to create the mksysb outside of NIM maybe this is the reason for all your trouble.

If you don't want NIM to create the image itself at least delete and redefine the NIM mksysb resource (not the underlying image) each time you create a new image.
Delete first, then take image, then define NIM resource to avoid deletion of your new image by NIM.

wmp
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month10 days, 17 hours left to enroll

770 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