Solved

Refresh the mksysb resource on NIM

Posted on 2011-03-17
1
1,120 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
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

777 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