Saturday, 7 March 2009

How to move CD-Rom b/w LPARs

First check availability of cdrom on Source machine

Source :/>lsdev –Cccdrom

Cdo Available IDE DVD-RAM0

Second check slot in which cdrom attached.

Source :/>lsslot –c slot

# Slot Description Devices

xxx xxxxx Pci4 ento

xxx xxxxx Pci5 ent1

xxx xxxxx Pci2 scsi0

xxx xxxxx Pci3 ide0

Third remove cdrom from slot (pci3 ide0).

Source:/>rmdev –dl pci3 –R

Source:/>lsdev –Cccdrom

Source:/>

(no drive available means cdrom remove)

Fourth Go to HMC right mouse click source partition and select “Dynamics Logical Partitioning” Select Physical Resources” Select “Move” I/O...Move

Select device and move to destination.

***PLEASE DO NOT CONFUSE YOURSELF WITH IMAGE***


Select the “Bus” and dropdown the Slot as mentioned in step Two (Pci3 ide0)

***PLEASE DO NOT CONFUSE YOURSELF WITH IMAGE***

Select the desired bus and verify the desired device in located under the Bus, select Target machine and press move button.

Fifth login destination machine.

Dest:/>lsdev –Cccdrom

Dest:/>cfgmgr –V

Dest:/>lsdev –Cccdrom

Cdo Available IDE DVD-RAM0

How to move CD-Rom b/w LPARs

Now go to the target server and apply the following command to access CD-Rom Content

mount -rv cdrfs /dev/cd0 /cdrom

!!!You are done!!!

How to check AIX Fix pack

Issue command as under:

instfix -i |grep ML


All filesets for 5.3.0.0_AIX_ML were found.
All filesets for 5300-01_AIX_ML were found.
All filesets for 5300-02_AIX_ML were found.
All filesets for 5300-03_AIX_ML were found.
All filesets for 5300-04_AIX_ML were found.
All filesets for 5300-05_AIX_ML were found.
All filesets for 5300-06_AIX_ML were found.
All filesets for 5300-07_AIX_ML were found.
All filesets for 5300-08_AIX_ML were found.

The above mentioned fixes are installed in your AIX.

How to install patch/driver/installset in AIX

First check the installed fileset using mentioned below command and look for desired software for fileset. Please note some fileset requires prerequisites which needs to be implemented before the patch using same procedure.

E.g: we need to install “bos.cifs_fs”

Source :/>lslpp –l | more

Source :/>lslpp -l |grep cifs [cifs or else looking for]

Verify the file(s) listed or not.

Copy the patch or fileset to a Folder and run the following command from the folder.

Source :/patches>inutoc . (notice the dot)

Source :/patches>ls

Source :/patches> .toc bos.cifs_fs

Source :/patches>smitty installp

Press ENTER

Insert [.] and ENTER

Press ESC+4

Select the desired installset using TAB (> must appear) and press ENTER


By using TAB change the following:

  • COMMIT software updates? Yes to NO
  • PREVIEW only? (install operation will NOT occur) No
  • ACCEPT new license agreements? No to YES

Press ENTER


The Screen must show “Command: Running” and then OK, please look at bottom of the page for successful installation or failure results.

In case of success: It must how “SUCCESS” depending on the installset packages

To verify go to the prompt and issue the following command

Source :/>lslpp -l |grep cifs [cifs or else looking for]

bos.cifs_fs.rte 5.3.8.0 COMMITTED Runtime for SMBFS

bos.cifs_fs.smit 5.3.7.0 COMMITTED SMIT Interface for SMBFS

bos.cifs_fs.rte 5.3.8.0 COMMITTED Runtime for SMBFS

bos.cifs_fs.smit 5.3.7.0 COMMITTED SMIT Interface for SMBFS

!!!!You are done !!!!



Dear Reader,

As a student of Information technology, I have learned so many things and I want to share my little knowledge with other IT professional across the planet.

Basically, I am Windows guy and nowadays, I am experiencing different flavors of UNIX family i.e. AIX and Linux (Fedora, Red Hat and SUSE).
I am working with Windows since Windows 3.1, N.T 3.5 and I feel Linux can do a much better job in a much cheaper cost. Therefore, I initiated to transform services from Windows platform to Linux and I am gaining confidence day-by-day.

Please keep in mind that I am not against Windows, but I always prefer to do things out-of-the-box.

I shall be posting my documents and guides and other IT stuff time-to-time, so stay in touch.

The Blog primarily focus on AIX.