VIOS backupios -mksysb - does it need to be served by a NIM server ?


 
Thread Tools Search this Thread
Operating Systems AIX VIOS backupios -mksysb - does it need to be served by a NIM server ?
# 1  
Old 01-22-2016
VIOS backupios -mksysb - does it need to be served by a NIM server ?

working through VIOS backup options. Generally, we store mksysb's on a server and then NFS mount them from it to copy to a VIO optical library, etc.

In the case of a VIO backup, I see the -mksysb option to backupios and understand that it doesn't include the NIM resources in the backup.

Short version: we don't have a NIM server, we're a small installation and have never needed one. Optical library has done me fine.

If I wanted to use installios on the HMC to build a VIO from a nim.resources.tar that I had made using backupios with -mksysb, could I simply mount it from our simple NFS server, or does HMC installios expect to be talking to a NIM server, and will fail if the only thing served is the file itself via an NFS mount ?

In that case, could the mksysb still be useful if I burned it to media and used it from the HMC CD drive ?

Or is the simple answer that I should NOT use -mksysb on backupios, and then follow the installios restore path that appears to have the HMC make use of nim.resources.tar directly ?

Again, we don't have a NIM server. Assume we won't build one. What alternatives for restore (and preceding backup) are available in that case ?

Thanks !
# 2  
Old 01-22-2016
backupios and installios provide what you (seem to) want - with or without a NIM server and you assumptions are correct. But are you sure you need a real backup of the (whole) VIOS? My experience is that with VIOSes you refrain from any customizing you can avoid and leave it as much as possible alone. You need only to back up what you can't get with reinstalling and the amount of this can be quite minimal.

Having said this: even if you are a small installation, if you are big enough to have one (or even several VIOSes) you are big enough to profit from a NIM server. It is about 1 hour to set one up and this time is really a wise investment.

The one major drawback of NIM servers is that they interoperate quite poorly with firewalls. They need that many security-relevant ports open that even the term "firewall" becomes meaningless. But if you are not in a heavily firewalled environment you ought to investigate the option of setting a NIM server up.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 3  
Old 01-23-2016
going with NIMres for HMC

thanks for your reply. I sorted this some more, and figured out that if I did mkdvd on the mksysb created with 'backupios -mksysb' then I'd have a DVD image which I could present to the VIO for an install boot. (Question is how - do I want to burn time burning it to media ? Or get a NIM server together...)

Anyway, I decided to go with the backupios nimres/HMC restore path - if the HMC is good enough to provide me with an ad hoc nimserver to restore a VIO, I'll take it...

(My AIX admin skills are acquired via OJT & managing development envs... I'm finding the places where my mental gymnastics are still novice-level... One reason building a NIM server would be a good exercise, I now remember that the previous shop I worked in had a NIM server we used ubiquitously to install Linux images, it was a good thing to have.)
# 4  
Old 01-23-2016
Quote:
Originally Posted by maraixadm
Question is how - do I want to burn time burning it to media ? Or get a NIM server together...)
If you know your way around Linux you can easily jailbreak the HMC and become root. From there it is no problem to loop-mount an ISO-image, no? Basically the HMC is a customized Linux with the "appliance"-part on top.

If you want to set up a NIM-server: i was planning for a longer time to update and expand the article i once wrote, so this would present a good inducement to do so. If you have questiona planning this: just ask (but, please, in a different thread, we like to have our threads focused on one theme at a time).

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

NIM - install up-to-date VIOS ?

Hello, Is it possible to install up-to-date vios in one NIM operation ? For example I have vios v2.1 DVD and current vios version is v2.2.1.3(we update to fixpack v2.2.1.1_FP25 and apply service pack 2.2.1.3-FP25-SP01) I know it's possible if we install AIX using NIM - we just update... (0 Replies)
Discussion started by: vilius
0 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

mksysb restoration using NIM

Hi, I just want to ask whether anyone has experience on restoring mksysb backup in NIM. We have taken the mksysb backup and the SPOT has been configured on NIM also. I just want to know the checkpoints before doing this. Is there any checkpoints we need to do? Do we need to unmirrorvg? This... (12 Replies)
Discussion started by: depam
12 Replies

4. 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

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