Create a mksysb + SPOT using NIM (CLI)

Create a mksysb + SPOT using NIM (CLI)

Here I will describe how to create a mksysb image of a NIM client from the NIM server using the cli and afterwards we will create a SPOT from the newly created mksysb.

So firt we define the new mksysb:

# nim -o define -t mksysb -a server=master -a location=/export2/mksysb/P2_1202_TL7.mk -a mk_image=yes -a source=power2 P2_1202_TL7_mk

+---------------------------------------------------------------------+
                System Backup Image Space Information
              (Sizes are displayed in 1024-byte blocks.)
+---------------------------------------------------------------------+

Required = 3774349 (3686 MB)    Available = 5288840 (5165 MB)

Creating information file (/image.data) for rootvg..

Creating list of files to back up
..
Backing up 68372 files..............................
55742 of 68372 files backed up (81%)................

68372 of 68372 files backed up (100%)
0512-038 savevg: Backup Completed Successfully.


-o Operation
-t Type
-a Atributes

 

Using lsnim we can verify the new mksysb image

# lsnim -l P2_1202_TL7_mk
P2_1202_TL7_mk:
   class          = resources
   type           = mksysb
   arch           = power
   Rstate         = ready for use
   prev_state     = unavailable for use
   location       = /export2/P2_1202_TL7.mk
   version        = 6
   release        = 1
   mod            = 7
   oslevel_r      = 6100-07
   alloc_count    = 0
   server         = master
   extracted_spot = SPOT_6100_07
   creation_date  = Tue Feb 21 17:06:19 2012
   source_image   = power2

After the mksysb image is created we can use it to extract a SPOT from it.

# nim -o define -t spot -a source=P2_1202_TL7_mk -a server=master -a location=/export2/SPOT_6100_07/ SPOT_6100_07

 Creating SPOT in "/export2/SPOT_6100_07/" on machine "master" from "P2_1202_TL7_mk" ...

 Restoring files from BOS image.  This may take several minutes ...

 Checking filesets and network boot images for SPOT "SPOT_6100_07".
 This may take several minutes ...

Finally check the SPOT using lsnim

# lsnim -l SPOT_6100_07
SPOT_6100_07:
   class         = resources
   type          = spot
   plat_defined  = chrp
   arch          = power
   Rstate        = ready for use
   prev_state    = verification is being performed
   location      = /export2/SPOT_6100_07/SPOT_6100_07/usr
   version       = 6
   release       = 1
   mod           = 7
   oslevel_r     = 6100-07
   alloc_count   = 0
   server        = master
   if_supported  = chrp.64 ent
   Rstate_result = success
   mksysb_source = P2_1202_TL7_mk
0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
AIX oslevel version OS
Viewed 4489 times since Wed, Apr 17, 2019
AIX Net How to check VLAN ID number on AIX?
Viewed 14764 times since Thu, Nov 29, 2018
Migrating from SDDPCM to AIXPCM (the easy way)
Viewed 2294 times since Mon, Jun 3, 2019
Tunneling With SSH to Your Destination
Viewed 3878 times since Wed, May 30, 2018
How to Backup and Upgrade a Virtual I/O Server Part I
Viewed 4140 times since Wed, Jun 5, 2019
AIX QHA
Viewed 10795 times since Mon, Jun 3, 2019
AIX, Security, System Admin↑ Clearing password history
Viewed 1953 times since Fri, Apr 19, 2019
AIX, Networking Etherchannel failover testing
Viewed 2268 times since Fri, Apr 19, 2019
AIX 6.1: Extend VG 0516-1714 extendvg 0516-1254 extendvg
Viewed 4282 times since Fri, Jul 6, 2018
Top 4 Reasons for Node Reboot or Node Eviction in Real Application Cluster (RAC) Environment
Viewed 79570 times since Thu, Jun 21, 2018