Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Restore

Status
Not open for further replies.

MMacun

Technical User
May 4, 2005
85
EU
Hy, a had a disk crash we replaced disk and no i want to restore from my mksysb backup.
I don't have tape only SP CWS wich i don't know how to use.
Is it posible to start up server with aix CD go to maintanance mode and do a restore from there, i would save image to a cd.
 
One more thing, I installed a fresh AIX on new disk and restore my rootvg from smit, but whe i restarted system, rootvg can not be varyed on becouse PVID's are different now
 
If you have an Sp cws, there is a NIM Master installed on it. So you can restore your node from a (hopefully) saved mksysb via NIM.

It would cost now a lot of time to explain it all to you, perhaps you can start by typing:

splstdata -n

and finding the node you want to restore, get the node_number and type an

splstdata -b -l <node_number>

Thats enough for the moment, paste in the result.

hth

mad

Advanced Interactive eXecutable
 
splstdata -n
17 2 1 1 sklad sklad ""
2.2.2.100 MP 4 7017-S7A

splstdata -b -l <node_number>


17 sklad 02070123EE59 0 disk hdisk0
bos.obj.ssp.432 Tue_Apr_13_11:31:59 default default
PSSP-3.1.1 rootvg
 
So you installed last time this node on 13th april. Take a look on the cws into /spdata/sys1/install/images and find a proper image. This is the place normally the mksysb are...

hth

Advanced Interactive eXecutable
 
I don't have this image no more but i have diferent one, wich a made last weak. And i put it under /spdata/sys1/install/images.
I have 3 more nodes in rack 1. This one is in rack/slot 2
 
Okay, if you have a proper mksysb on your cws, then lets install it! Type:

spchvgobj -r rootvg -h <hdisk0> -i <your_mksysb_name> -c <number_of_copies_hopefully_1> -l 17

to give this new image information and then

spbootins -r install -l 17

to let "setup_server" run and watch for "return code = 0" of this command

then type

nodecond 2 1

to start the install. Because its the first node on the second frame, it is 17

On another window(!) type

s1term 2 1

to see what is going on on the console and follow the ongoing.

Hth

mad

Advanced Interactive eXecutable
 
One more thing, it i certain that node name is correct i wouldn't like to install imae on some other node :D
In what mode must machine be (power off)?
 
You can test the nodenumber of this node ( if it is running ) by typing on the node:

/usr/lpp/ssp/install/bin/node_number

to see if its the no. 17.

To test it further, you can switch off the power on this node by typing:

spmon -power off frame2/node1

If the right node is now powerless, you are ok. If the wrong node powerless, you have a few minutes downtime, but no new install on that machine ....

hth

mad

BTW: Which country are you in?

Advanced Interactive eXecutable
 
The node is powered OFF, i am working in Maintenance mode.
I know that the node name is 17 and that it is in slot2 only node, but i'am just not sure that install comand would not do some stupid thing :D :D
Ok i will try this and i will see.

Slovenia
 
The node is powered OFF, i am working in Maintenance mode."
I want to say that this is the only thing that i can do on the node is Maintenance mode.
 
NOPE the command "spbootins -r install -l 17"
Returns with a lot of errors.

This is just some of them.

0042-175 c_mk_lpp_source: An unexpected result was returned by the "/usr/sbin/installp" command: rc=0 awk: Cannot divide by zero. The input line number is 1. The source line number is 1.
installp: The specified device /spdata/sys1/install/aix432/lppsource
is not a valid device or file.

rc=0
awk: Cannot divide by zero.

The input line number is 1.
The source line number is 1.


awk: Cannot divide by zero.

The input line number is 1.
The source line number is 1.

mknimres: 0016-375 The creation of the lppsource resource named lppsource_aix432
failed with return code 1.
setup_server: 0016-279 Failure of internally called command: /usr/lpp/ssp/bin/mknimres; rc= 2.
setup_server: Processing incomplete (rc= 2).
orion: rc.ntp: Starting ntp daemon(xntpd)
[root-spcws] </spdata/sys1/install/images>
 
Seems to be that the last install is long time before :)

Ok, error come from your lpp_image, that you have to correct in the site environment information. Enter:

smitty enter_data

and go into the "site environment information". Important points here is the name of the "default Network Install Image", which must be in /spdata/sys/install/images, but can have a size of 0 bytes, because it is a dummy, second you have to fill in the "control workstation lpp source name", which you have to control it is valid under /spdata/sys1/install. Fill in the exact name the directory with the aix-sources have. This smitty must return 0. Then you can run setup_server again and paste the output here. May you have more errors than this.

hth

mad

Advanced Interactive eXecutable
 
0042-053 lsnim: there is no NIM object named "awk:"
awk: Cannot divide by zero.
Thi is the first error.

I tried every thing. I even install from smit nim and everything is ok until the machine want's client.info wich i haven't got. I tried to create one with mkinstall but the error is still the same

awk: Cannot divide by zero.
Thi is the first error.

Now i'am creating boot image from mksysb with smit mkcd.
 
Okay, you get a nim failure, not bad. Look with lsnim -c machines for a nim-object, that sounds like your node 17. If its there, delete it with delnimclient -l 17

Then run setup_server again to create a new nim definition and paste eventually new errors. We have to do i´t step by step.

mad

Advanced Interactive eXecutable
 
I manage to restore machine with mksysb boot cd and sync hacmp.

This is only node with cd (S7A). The rest of nodes have no tape no cd so i will try to repair NIM.
every time that i issue comand on the NIM server there is error. awk: Cannot divide by zero.

[root-spcws] </> lsnim -c machines
master machines master
orion machines standalone
notes machines standalone
metex machines standalone
sklad machines standalone
ibeem machines standalone
awk: Cannot divide by zero.

The input line number is 1.
The source line number is 1.

[root-spcws] </>

 
Just a guess: Which uptime do you have on the cws? Can you reboot the cws?

mad

Advanced Interactive eXecutable
 
Last thing I would try is the complete new configuring of the nim_master via delnimmaster and then setup_server.

mad

Advanced Interactive eXecutable
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top