mksysb restoration using NIM


 
Thread Tools Search this Thread
Operating Systems AIX mksysb restoration using NIM
# 8  
Old 04-06-2010
You won't need alt_disk_copy or alt_disk_install as far as i know. You can mirror the rootvg and then unmirror it, just like the IBM engineer advised you to do.

If you can't afford to risk the machine i suggest you follow this advice and create a spare mirror of the rootvg disk(s) as a safety device. What i said about near-production conditions is true but an ideal: one has to make do with what one has got and what one can afford.

I hope this helps.

bakunin

Moderative Postscriptum BEGIN
If you still have questions ask them here and I (and everybody else) will be glad to answer them: the goal of this board is to create a knowledge base for everyone and when i answer your questions i will not only help you but hopefully everybody else with the same or a similar problem and the skill to use our (quite user-friendly) search engine. If i would tell you the same in a chatroom it would be wasted insofar as nobody else would have the possibility to benefit from it. I hope you understand that.
Moderative Postscriptum END
# 9  
Old 04-06-2010
Hi bakunin,

Thanks alot for the info and I'm very sorry to ask you to talk privately. It is not my intention. Just to ask, is this the steps to do this:

1.) unmirrorvg rootvg hdisk1
2.) reducevg rootvg hdisk1
3.) do a mksysb backup
4.) bootlist -m normal hdisk1
5.) bosboot -a hdisk0
6.) bosboot -a hdisk1
7.) nim_bosinst on NIM server
8.) System will reboot and point the boot device to ethernet
9.) install on hdisk1

The system will boot and hdisk1, bring up HA and test. If everything okay how can I remirror back? I actually don't know how to make the client boot from nim. I already checked that there is /tftpboot in place and that /etc/bootptab already have the client IP addresses. Please note that NIM was previously used to install the base OS. But I have never really done this before. Thanks.
# 10  
Old 04-06-2010
I am not trying to take over here, bakunin is doing a fine job but I just wanted to mention that on my NIM server when you set up a mksysb install to a client the "Initiate reboot and installation now?" option is defaulted to "yes". If I misunderstood the task being performed here I beg for your forgiveness.
# 11  
Old 04-06-2010
Hi jurred1,

Thanks for the response. Yes, i saw this option when I do a smitty nim_bosinst. I am to try it later. I think the client should reboot by itself and boot thru network and in SMS. If my previous resource document is correct. I am doing this later and cross-fingered everything works fine. By then, I can only confirm the results of your suggestions. Thanks a lot.
# 12  
Old 04-07-2010
Quote:
Originally Posted by juredd1
I am not trying to take over here, bakunin is doing a fine job but I just wanted to mention that on my NIM server when you set up a mksysb install to a client the "Initiate reboot and installation now?" option is defaulted to "yes". If I misunderstood the task being performed here I beg for your forgiveness.
You are welcome. The idea of this board is to OPENLY DISCUSS and everybody contributing to this is welcome. Btw., my advice is far from being perfect, see below.

Quote:
Originally Posted by depam
Hi jurred1,

Thanks for the response. Yes, i saw this option when I do a smitty nim_bosinst. I am to try it later. I think the client should reboot by itself and boot thru network and in SMS. If my previous resource document is correct. I am doing this later and cross-fingered everything works fine. By then, I can only confirm the results of your suggestions. Thanks a lot.
Sorry for answering sloppily before: yes, you can initiate the reboot from the NIM server provided that the NIM client fileset is already installed on the client. You have to start up to the POST-menu and enter the IP address of the server like described above in case of some "virgin" hardware. The only thing you need to know to define a "standalone client" (NIM wording) is the MAC-address of the interface used to install it and you can find this out in the POST-menus too, so it is possible to install a system completely from scratch.

This brings me to a suggestion: if you don't want to risk your precious installation but you have some spare hardware you could get a maintainance-window, shut down the production machine (to avoid double IP addresses, etc.), install the spare hardware with the image you took (you can allocate the mksysb image to any client, not only the one it originated from) and restore there. Then test the installation, scratch your test installation and start up your production system again.

I hope this helps.

bakunin

PS: insist on getting such test hardware. It is necessary not only for such purposes but also for testing updates, regression tests, .... If it is argued that money is an issue: if the costs of such a test system do not equal the risk of interrupted service because of updates or maintainance gone awry then this risk is not all too big at all, yes? If the customer who is paying for the system isn't valueing its high availability why should you?
# 13  
Old 04-07-2010
I think I only have one other thought. bakunin suggested installing on some spare hardware and taking down the production machine to avoid duplicate IP address after the spare hardware comes up.

I have done the same thing here but placed the spare hardware on a different VLAN than the production hardware. Setup a temp hostname in the /etc/hosts file, such as unixtest and given it an unused IP from the other VLAN. Create a new host within NIM called unixtest. Then you should be able to leave the current production up because after the install finishes on test hardware even when the production IP is placed on test hardware it will not be detected since it will be on a different VLAN.

Then you can get in through the console, HMC, etc..... to change the IP to a usable one for that VLAN. Just be cautious about crontab entries on the test machine running and doing things you don't want them to.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Mksysb restoration

Hi, I am an newbie to AIX. Recently, I being assigned to do an mksysb restoration at our DR site. It always encounter "Out of Space" during restoration, this is even when I restored to 4x146GB HDD. Even though, on production, it only need 2x146GB HDD for the rootvg. What is the problem, I... (19 Replies)
Discussion started by: AIXBlueCat
19 Replies

2. AIX

mksysb using NIM

I am implementing mksysb backups using NIM. I am using nimsh as client communication and mksysb backup are working fine, but this requires remote logon to be enabled for root. Any thoughts on how can I implement mksysb backups using NIM without enabling remote logon for "root" ? (1 Reply)
Discussion started by: mk8570
1 Replies

3. AIX

AIX 5L nim mksysb command

Hi All, Please excuse the possibly naive question but I'm trying to clone/install a new AIX 5.3 LPAR on a p570 from a mksysb image file using nim. Has anyone done this before and if so, what would the exact command look like? Does it even remotely resemble something like nim -o... (1 Reply)
Discussion started by: combustables
1 Replies

4. AIX

mksysb restoration steps

please provide me with the steps to restore from mksysb tape. i m using AIX 5.3 TL 7 (2 Replies)
Discussion started by: debasis9
2 Replies

5. AIX

how to create a package from mksysb via nim ?

Hello, I need to install "bos.adt.libm 5.3.0.0" on a server (AIX5.3 power 5). How to install it from a nim mksysb of an another partition ? Thank you (3 Replies)
Discussion started by: astjen
3 Replies

6. AIX

nim mksysb buffer overflow error

Hi, I am trying to backup a system ("client") through a slow network using "nim mksysb" on a nim server ("master") The backup starts, but doesn't success. Thanks if you can help me to resolve this problem : Creating information file (/image.data) for rootvg... Creating list of files to... (2 Replies)
Discussion started by: astjen
2 Replies

7. AIX

NIM client mksysb restore

Can a NIM client mksysb restore be performed via NIM (smitty nim) without the NIM client machine having the NIM server's IP and hostname in its /etc/hosts file? (10 Replies)
Discussion started by: kah00na
10 Replies

8. Shell Programming and Scripting

script to automate mksysb via nim in AIX 5.3

#!/bin/ksh # # nim_mksysb # get mksysb from each client machine specified with -m. If no # machines specified, get mksysb from ALL machines. -r flag says # remove oldest existing mksysb for the machines being backed up. # use -n no_make flag with -r to remove a generation of mksysb, #... (0 Replies)
Discussion started by: barkath
0 Replies

9. UNIX for Advanced & Expert Users

NIM - mksysb of remote server

Hi, I'm trying to use my NIM server to get a mksysb of an lpar on another machine on my network. I'm trying to define a resource through smitty and i've entered the resource name, Server of resource & location of resource, they are as follows Resource Name : gmt_fail_mksysb Server of... (1 Reply)
Discussion started by: KeesH
1 Replies

10. AIX

NIM mksysb recovery

I have multiple LPARS on p650 with mix of AIX5.2 and AIX5.1 with different rml level My understanding is creating mksysb nim on NIM server is for new installation of LPARS Then; How do I do mksysb backup on existing lpars for recovery purpose or how do I do all mksysb to a NFS mounted Filesystem... (1 Reply)
Discussion started by: melindaj
1 Replies
Login or Register to Ask a Question