AIX NIM master on heterogeneous Environment !!
 
*
Welcome, Guest. Please login or register. December 05, 2008, 08:10:39 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: AIX NIM master on heterogeneous Environment !!  (Read 1722 times)
0 Members and 1 Guest are viewing this topic.
Michael
Administrator
Hero Member
*****
Posts: 530


« Reply #14 on: November 25, 2007, 06:43:26 PM »

Well, your are a junior member already - just by posting.

However, your suggestion is noted.

Just spread the word!
Logged
kavishshetty
Full Member
***
Posts: 16


« Reply #13 on: November 23, 2007, 11:07:17 AM »

Absolutley , These forums are really helpfull when you reach a dead end ...

fan of rootvg now . there are a lot of interesting topics that are being discussed. Maybe the motivation factor is missing here ... like the one i saw in Experts Exchange ....

were if a solution is given  , the guy who gives the soln is given some expert points .

This will def get some participation from the mass.
« Last Edit: November 23, 2007, 11:10:01 AM by kavishshetty » Logged
Michael
Administrator
Hero Member
*****
Posts: 530


« Reply #12 on: November 23, 2007, 10:05:02 AM »

... Always the first/only to respond in rootvg.

Rootvg has become my baby ... keeping me busy (my rl babies kept me awake at night in those days) at all odd hours.

So, PLEASE everyone: feel free to respond, correct, improve my answers - or be first - to answer anyone's question!
« Last Edit: November 23, 2007, 10:06:35 AM by Michael » Logged
kavishshetty
Full Member
***
Posts: 16


« Reply #11 on: November 23, 2007, 09:28:06 AM »

Thanks Michael ... interesting info .... should help me in my testing ...

Appreciate the information shared ... Always the first/only to respond in rootvg.
Logged
Michael
Administrator
Hero Member
*****
Posts: 530


« Reply #10 on: November 23, 2007, 07:13:52 AM »

Note also that if you change from an AIX 5.3 and prior oslevel to AIX 6 (and v.v.) you will need a new machine definition because the boot types are different (up or mp for AIX 3, 4 and 5; 64 for AIX 6). This is not your current problem (as far as booting is concerned) because you are able to boot (machine boot image type matches your machine definition).

That is, for AIX 5.3 a michine listing looks like:
p101:
   class          = machines
   type           = standalone
   comments       = Created on Tue Apr 10 11 41 09 DFT 2007
   connect        = shell
   platform       = chrp
   netboot_kernel = mp
   if1            = net23 p101 58a1c0002002 ent0
   cable_type1    = bnc
   Cstate         = ready for a NIM operation
   prev_state     = BOS installation has been enabled
   Mstate         = in the process of booting
   cpuid          = 00GG80AE4C00
   Cstate_result  = reset

For AIX 6 the definition requires a different netboot_kernel! This line needs to be:
Quote
   platform       = chrp
   netboot_kernel = 64
   if1            = net23 p101 58a1c0002002 ent0

Bad call IMHO - as I cannot have one definition for a machine that may need to be running both AIX 5 and AIX 6, or even to switch from AIX 5 to AIX 6.
« Last Edit: November 23, 2007, 07:18:05 AM by Michael » Logged
Michael
Administrator
Hero Member
*****
Posts: 530


« Reply #9 on: November 23, 2007, 07:04:48 AM »

There are two areas you need to investigate:

1) NFS
2) oslevel (including technology level!) of your mksysb, and the oslevel of the spot you are using.

Making sure you have a correct spot is not too difficult. You can just make a new one. There are also commands in nim so that you can perform a "oslevel" on a spot resource. So here, I'll just pass a command I find very useful for installing clone images:
nim -o define -t spot -a server=master -a location=/export/spot -a source=aix5306_clone spot_clone5306

 Creating SPOT in "/export/spot" on machine "master" from "aix5306_clone" ...

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


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

root@nim[]

The source=aix5306_clone is using a mksysb resource, rather than an lpp_source and can only be done from the command line (maybe smit, although I have never seen it there. I know it is not in the websm gui interface).

The other problem concerns problems with AIX security around NFS and DNS (generally). When starting a new nim server you either need to be sure that you use only DNS, or dont use DNS - as NFS does not like it when hostname changes and/or are not the same. It has been a few years so I do not recall the exact details. Roughly, NFS client, on a mount, sends it's IP address and it's idea of it's hostname. NFS server compares the IP address sent, the IP address used, and the hostname of the IP address used.
So, what you need to check (and watch carefully the websm interface as the system installs - as you can see it, or the LED numbers (in the HMC GUI display, etc) for codes 610 and 612. If the install hangs (lsnim -l machine_name and check Cstate) with a message of LED 610:.... or LED 612:.... you have a problem with the NFS mounts of the resources.

Hope this helps you get to the next step!
Logged
kavishshetty
Full Member
***
Posts: 16


« Reply #8 on: November 23, 2007, 05:10:10 AM »

Now , my client boots from the eth network card , transfers the client image from the exported tftboot/<clientname>  image from the Master and then nothing...

I think it maybe because of the mksysb image i am using .. still working on that ..
Logged
Michael
Administrator
Hero Member
*****
Posts: 530


« Reply #7 on: November 22, 2007, 06:57:40 AM »

some communication errors: boot, after boot? how far are you coming in the process?
Logged
kavishshetty
Full Member
***
Posts: 16


« Reply #6 on: November 22, 2007, 04:41:37 AM »

All the required resources for NIM has been created , got some communication errors from the master to the client .

Interestingly enough , I am using the Same A-Z redbook that you have mentioned .. Thats the only good document i could find .
Logged
Michael
Administrator
Hero Member
*****
Posts: 530


« Reply #5 on: November 21, 2007, 09:40:59 AM »

Well, I used to use* websm as my main user interface with nim - as I don't like the smit menu structure (up and down menu paths). websm works easier.

But to install systems you will first need to create a lpp_source from the CDs (or are they dvd now - I hope!) and from the lpp_source you create a spot.

Once these are complete you should be able to do some basic installs.

For now I'll point you towards a redbook: NIM from A to Z in AIX 5L (http://www.redbooks.ibm.com/abstracts/sg247296.html?Open) (The AIX 6 book has not been done, but I expect few differences. The main one I ran into when playing with openbeta is the system type. For AIX6 the AIX kernel type is "64" rather than up or mp.

* I am going to learn to use https://hostname:5336/ibm/console (i.e. AIX IBM director console) because then I won't need to be root to do all this.
Logged
kavishshetty
Full Member
***
Posts: 16


« Reply #4 on: November 21, 2007, 04:28:05 AM »

Was using the Beta at first but now using AIX 6.1 GA.
Logged
Michael
Administrator
Hero Member
*****
Posts: 530


« Reply #3 on: November 20, 2007, 02:56:26 PM »

classroom is in the classroom, not eLearning.

Are you using the openBeta or a complete AIX 6.1. The openbeta is hard to use, as it is not complete.
Logged
kavishshetty
Full Member
***
Posts: 16


« Reply #2 on: November 20, 2007, 01:47:17 PM »

Thanks MIchael.

I have created all the NIM resources required using nim_master_setup script .

Configuration of the master and registering the clients all has been done .

Now i am testing with the various methods of BOS installation that NIM provides . Not successfull with any of them .

tftpboot recognises the master and copies the files from the exported filesystems . After that nothing happens from the client side . Any guidlines over here would be helpfull .

Classroom Trainings on the net ? i did not come across any ..

If i am successfull with 6.1 remote client installation using NIM , I will be continuing my testing further with various versions of AIX.
Logged
Michael
Administrator
Hero Member
*****
Posts: 530


« Reply #1 on: November 20, 2007, 11:52:18 AM »

If the main purpose is to serve and collect mksysb images (and maybe savevg images) then you can have a fairly simple NIM setup.

The NIM server will need to be at AIX 6.1, as NIM currently has a requirement that the master be equal or higher than systems being served - at the technology university I heard that IBM is discussing removing that requirement.

I suppose you could try the easy_nim (EZNIM) setup to get a basic NIM server setup. However, you could be even simpler (no lpp sources at all) if you use the smit advanced setup and just define the nim master. Depending on your diveristy of network interfaces and/or IP networks you may need to make some extra network objects.

After that you can let machines register themselves, make mksysb resources and (from the command line) make spots from the mksysb images to install them.

If you are considering doing software maintenance via nim, you will need to get comfortable with using lpp_source resources, and making bundles.

And I guess I just mention there is a two (or maybe three - it has been a while) course to learn NIM in the classroom - Class code is AU08, or perhaps AU008.
Logged
kavishshetty
Full Member
***
Posts: 16


« on: November 20, 2007, 05:38:03 AM »


Hi ,

I am planning on a NIM Master setup in my ENV, The main purpose of the master is to image remote machines with mksysb backup taken from them .

Centralized Administration is the whole idea.

Much appreciated if there are any guidelines or ideas that can be shared .

My Setup :

P5 : AIX 6.1 (NIM Master ) connected to AX150(piranha) for storing mksysb images, lpp_source and spot resources .

NIM Clients : RS6000 , P4 and p5 series machines with various versions of AIX.

Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.618 seconds with 18 queries.




eXTReMe Tracker

Terms of Use and Privacy and Security Policies
Copyright 2001-2008 Michael Felt and ROOTVG.NET