0% found this document useful (0 votes)
523 views9 pages

Allocating Deallocating Mksysb Resource in Mksysb Client and Initiate Restoration of Mksysb Image

The user is trying to reset and reinstall the operating system on the NIM client "academy17" using the mksysb image "nmksysb", but is encountering errors when running NIM commands like reset, deallocate, and bosinst. The exportfs command is failing with a message that the mksysb file directory does not exist. The user checks the available mksysb resources and finds one called "nmksysb" that may be suitable for reinstalling academy17.

Uploaded by

rajeevkghosh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
523 views9 pages

Allocating Deallocating Mksysb Resource in Mksysb Client and Initiate Restoration of Mksysb Image

The user is trying to reset and reinstall the operating system on the NIM client "academy17" using the mksysb image "nmksysb", but is encountering errors when running NIM commands like reset, deallocate, and bosinst. The exportfs command is failing with a message that the mksysb file directory does not exist. The user checks the available mksysb resources and finds one called "nmksysb" that may be suitable for reinstalling academy17.

Uploaded by

rajeevkghosh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 9

allocating/ deallocating mksysb resource in mksysb client and initiate restoration

of mksysb image
login as: root
[email protected]'s password:
Last unsuccessful login: Fri Jul 15 06:49:52 CDT 2016 on ssh from academy14
Last login: Fri Jul 15 23:42:26 CDT 2016 on /dev/pts/0 from 10.35.154.9
*******************************************************************************
* *
* *
* Welcome to AIX Version 6.1! *
* *
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System. *
* *
* *
*******************************************************************************
# lsnim -l academy 17
0042-053 lsnim: there is no NIM object named "academy"
# lsnim -l academy17
academy17:
class = machines
type = standalone
connect = shell
platform = chrp
netboot_kernel = 64
if1 = network1 academy17 0
cable_type1 = tp
Cstate = post install processing is being performed
prev_state = customization is being performed
Mstate = in the process of booting
info = BOS Install: Restore of Base Operating System from
/NIM_BOS_IMAGE failed.
boot = boot
mksysb = mksysb_academy17
nim_script = nim_script
spot = spot1
cpuid = 00F6730E4C00
control = master
Cstate_result = success
# history
677 lsnim -l academy15
678 exit
679 smitty nim_bosinst
680 lsnim -l academy15
681 nim -o deallocate -a subclass=all academy15
682 nim -Fo reset academy16
683 nim -Fo reset academy15
684 nim -o deallocate -a subclass=yes academy15
685 nim -o deallocate -a subclass=all academy15
686 lsnim -l academy15
687 smiity nim_bosinst
688 smitty nim_bosinst
689 lsnim -l academy17
690 lsnim -l academy 17
691 lsnim -l academy17
692 history
# nim -o reset academy17
0042-001 nim: processing error encountered on "master":
0042-069 m_abort: the reset operation cannot be performed when
the target has a Mstate of "booting"

# nim -o reset academy17


0042-001 nim: processing error encountered on "master":
0042-069 m_abort: the reset operation cannot be performed when
the target has a Mstate of "booting"

# nim -o reset academy17


0042-001 nim: processing error encountered on "master":
0042-069 m_abort: the reset operation cannot be performed when
the target has a Mstate of "booting"

# nim -o reset academy17


0042-001 nim: processing error encountered on "master":
0042-069 m_abort: the reset operation cannot be performed when
the target has a Mstate of "booting"

# lsnim -l academy17
academy17:
class = machines
type = standalone
connect = shell
platform = chrp
netboot_kernel = 64
if1 = network1 academy17 0
cable_type1 = tp
Cstate = post install processing is being performed
prev_state = customization is being performed
Mstate = in the process of booting
info = BOS Install: Could not copy volume group information to the
disk.
boot = boot
mksysb = mksysb_academy17
nim_script = nim_script
spot = spot1
cpuid = 00F6730E4C00
control = master
Cstate_result = success
# nim -o reset academy17
# nim -Fo reset academy17
# lsnim -l academy17
academy17:
class = machines
type = standalone
connect = shell
platform = chrp
netboot_kernel = 64
if1 = network1 academy17 0
cable_type1 = tp yes
Cstate = ready for a NIM operation
prev_state = post install processing is being performed
Mstate = in the process of booting
0042-001 nim: processing error encountered on "master":
exportfs: 1831-189 academy2: unknown host
exportfs: 1831-189 academy5: unknown host
exportfs: 1831-189 academy6: unknown host
exportfs: 1831-189 academy1: unknown host
exportfs: 1831-189 academy2: unknown hostmy17
exportfs: 1831-189 academy5: unknown hostd on "master":
exportfs: 1831-189 academy6: unknown hostvalid subclass
exportfs: 1831-189 academy1: unknown host
# nim -o deallocate -a subclass=all academy17
exportfs: 1831-189 academy2: unknown host
exportfs: 1831-189 academy5: unknown host
rc=1rtfs: 1831-189 academy6: unknown host
0042-001 m_bos_inst: processing error encountered on "master":
0042-175 c_ch_nfsexp: An unexpected result was returned by the
exportfs"/usr/sbin/exportfs" command:host
exportfsexportfs: 1831-189 academy2: unknown host
exportfs: 1831-189 academy5: unknown host
exportfs: 1831-189 academy6: unknown host
exportfs: 1831-189 academy1: unknown host
exportfs: 1831-189 academy2: unknown host
exportfs: 1831-189 academy5: unknown host
exportfs: 1831-189 academy6: unknown host
exportfs: 1831-189 academy1: unknown host
exportfs: /mksysb/nims1.mksysb: A file or directory in the path name does not
exist.
type = standalone
connect = shell
platform = chrp
netboot_kernel = 64
if1 = network1 academy17 0
cable_type1 = tp
Cstate = ready for a NIM operation
prev_state = post install processing is being performed
Mstate = in the process of booting
cpuid = 00F6730E4C00
Cstate_result = reset
# smitty nim_bosinst
Install the Base Operating
System on Standalone Clients

Type or select values in entry fields.


Press Enter AFTER making all desired changes.

[TOP] [Entry Fields]


* Installation Target academy17
* Installation TYPE mksysb
* SPOT spot1
LPP_SOURCE [lpp_source1]
+
MKSYSB goldenmksysb

BOSINST_DATA to use during installation []


+
IMAGE_DATA to use during installation []
+
RESOLV_CONF to use for network configuration []
+
Customization SCRIPT to run after installation []
+
Customization FB Script to run at first reboot []
+
ACCEPT new license agreements? [yes]
+
Remain NIM client after install? [yes]
+
PRESERVE NIM definitions for resources on [yes]
+
this target?

FORCE PUSH the installation? [no]


+

Initiate reboot and installation now? [no]


+
-OR-
Set bootlist for installation at the [no]
+
next reboot?

Additional BUNDLES to install []


+
-OR-
Additional FILESETS to install []
+
(bundles will be ignored)

installp Flags
COMMIT software updates? [yes]
+
SAVE replaced files? [no]
+
AUTOMATICALLY install requisite software? [yes]
+
EXTEND filesystems if space needed? [yes]
+
[MORE...19]

F1=Help F2=Refresh
F3=Cancel F4=List
F5=Reset F6=Command
F7=Edit F8=Image
F9=Shell F10=Exit
Enter=Do

yes

0042-001 nim: processing error encountered on "master":


0042-001 m_bos_inst: processing error encountered on "master":
0042-175 c_ch_nfsexp: An unexpected result was returned by the
"/usr/sbin/exportfs" command:
exportfs: /mksysb/demo.mksysb: A file or directory in the path name does
not exist.
# smitty nim_bosinst

COMMAND STATUS

Command: failed stdout: yes stderr: no

Before command completion, additional instructions may appear below.

0042-001 nim: processing error encountered on "master":


0042-001 m_bos_inst: processing error encountered on "master":
0042-175 c_ch_nfsexp: An unexpected result was returned by the
"/usr/sbin/exportfs" command:
exportfs: /mksysb/demo.mksysb: A file or directory in the path name does
not exist.
F1=Help F2=Refresh
F3=Cancel F6=Command
F8=Image F9=Shell
F10=Exit /=Find
n=Find Next

# lsnim -t mksysb
goldenmksysb resources mksysb
goldenimage resources mksysb
academy14_res resources mksysb
mksysb_academy17 resources mksysb
academy12_mksysb resources mksysb
academy15mksysres resources mksysb
academy13_mksysbRes resources mksysb
nmksysb resources mksysb
mkaca16 resources mksysb
dem0 resources mksysb
# lsnim -l nmksysb
nmksysb:
class = resources
type = mksysb
Rstate = ready for use
prev_state = unavailable for use
location = /mksysb/academy16.mksysb
version = 6
release = 1
mod = 9
oslevel_r = 6100-09
alloc_count = 0
server = master
creation_date = Fri Jul 15 06:22:22 2016
# ls -l /mksysb/academy16.mksysb
ls: 0653-341 The file /mksysb/academy16.mksysb does not exist.
# cd /mksysb
# ls -l
total 32732560
-rw-r--r-- 1 root system 2379827200 Jul 15 05:50 aca16.mksysb
-rw-r--r-- 1 root system 4775424000 Jul 15 00:45 academy12.mksysb
-rw-r--r-- 1 root system 2388326400 Jul 14 07:42 academy13.mksysb
-rw-r--r-- 1 root system 2388428800 Jul 15 00:29 academy14.mksysb
-rw-r--r-- 1 root system 2394112000 Jul 15 05:03 academy15.mksysb
drwxrwxr-x 3 root system 256 Jul 15 05:53 academy15spotres
drwxr-xr-x 2 root system 45056 Jul 15 05:24 cd_7M57ac
drwxr-xr-x 2 root system 256 Jul 13 02:10 lost+found
drwxrwxr-x 3 root system 256 Jul 15 06:52 mkspot
-rw-r--r-- 1 root system 2432768000 Jul 13 02:21 nim.mksysb
# lsnim -l academy15.mksysb
0042-053 lsnim: there is no NIM object named "academy15.mksysb"
# lsnim -l academy15mksysres
academy15mksysres:
class = resources
type = mksysb
Rstate = ready for use
prev_state = unavailable for use
location = /mksysb/academy15.mksysb
version = 6
release = 1
mod = 9
oslevel_r = 6100-09
alloc_count = 0
server = master
extracted_spot = academy15spotres
creation_date = Fri Jul 15 05:30:02 2016
# smitty nim_bosinst

COMMAND STATUS
Command: OK stdout: no stderr: no

Before command completion, additional instructions may appear below.

F1=Help F2=Refresh
F3=Cancel F6=Command
F8=Image F9=Shell
F10=Exit /=Find
n=Find Next
# lsnim -l mksysb17
0042-053 lsnim: there is no NIM object named "mksysb17"
# lsnim -l academy17
academy17:
class = machines
type = standalone
connect = shell
platform = chrp
netboot_kernel = 64
if1 = network1 academy17 0
cable_type1 = tp
Cstate = BOS installation has been enabled
prev_state = ready for a NIM operation
Mstate = in the process of booting
boot = boot
mksysb = academy15mksysres
nim_script = nim_script
spot = spot1
cpuid = 00F6730E4C00
control = master
#

You might also like