Saturday, 23 April 2011

IBM Tivoli Productivity Center and SAN Switches performance

Last month i got oppurtunity to configure IrulBM TPC to get the performance statistics from SAN switches.

Following are the main points which you should keep in your mind , when you try to get performance data from Brocade switches using IBM TPC.

1. First , you should have license of IBM TPC Standard Edition . IBM TPC basic edition does not have capability of gathering performance data.

2. Second , for gathering performance data from Brocade switches , you should configure switches as out of band fabric agents , scan them and then install & configure Brocade SMI-S agent. The SMI-S agent from Brocade , should be installed and configured to get in-depth information from switches/fabrics.

Monday, 14 February 2011

How to enable Web Access to HMC

It is very easy to configure IBM HMC to allow web based access. You have to just modify firewall settings on HMC to " Allow Remote Access".

This can be done in following way:

Go to HMC management console: Select " HMC Management" ---> "Change Network Settings" ----> Select Ethernet Adapter ( one with public IP Address) ---> Then select "Secure Remote Access" option and enable it.

You have to restart HMC to make these changes effective

Saturday, 20 November 2010

For my non mulim friends... An excellent website

Friends

I have just visited an excellent web site , which i beleive would be very much intereting for any one who wants to explore islam as religion.

The website is

http://www.islamreligion.com


Please dont feel that i am imposing any thing on my web site visitors as we as muslim strongly beleive in holy Quran verse according to which " there could not be any impulsion in case of religion"

On the other hand , as a muslim it is our reponsibility to present our religion in front of you. You accept it or not , it is your decision.

Saturday, 16 October 2010

IBM pSeries Dlpar Operations- Basic How-tos

procedures needed to locate I/O slots that can be moved dynamically between logical partitions (LPAR) on a HMC managed system p server as as follows

- Identify the owner of the I/O slot for the device you need to managed and then logically remove the PCI device from the owning operating system. You have to find out the PCI device associated with the physical slot, for which you can execute following command in AIX

lsslot -c slot


In VIOS (virtual I/O server)
lsdev -slots

-- Removed the PCI device and all child devices

--- In AIX
rmdev -Rdl pci#

--- In VIOS
rmdev -dev pci# -recursive

- Perform the dynamic logical partition operation from the HMC

- Finally, configure the new device on the gaining partition

-- In AIX
cfgmgr

-- In VIOS
cfgdev

More detail about the typical dynamic logical partition procedures are available in the following references:

Partitioning Implementations
for IBM Eserver p5 Servers
http://www.redbooks.ibm.com/redbooks/pdfs/sg247039.pdf

An example would be

# lsslot -c slot
The output of this command looks similar to the following:
#Slot Description Device(s)
U1.5-P1-I1 DLPAR slot pci13 ent0
U1.5-P1-I2 DLPAR slot pci14 ent1
U1.5-P1-I3 DLPAR slot pci15
U1.5-P1-I4 DLPAR slot pci16
U1.5-P1-I5 DLPAR slot pci17 ent2
U1.5-P1/Z1 DLPAR slot pci18 scsi0

Before the I/O slot removal, you must delete the PCI adapter device and all its child devices from AIX. Given that ent2 in the slot U1.5-P1-I5 in the previous example is not used, the devices could be removed using the following command as the root user on the partition.

# rmdev -l pci17 -d -R

After the devices have been removed from AIX, the I/O slot can be
removed from the partition using the graphical user interface or command line interface on the HMC.

Note: Any PCI slots defined as required are not eligible for the DLPAR operation.

Procedures to use the HMC GUI to dynamically manage I/O slots can be found at following URL:

Dynamically managing physical I/O devices and slots
http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/index.jsp?topic=/iphbl/iphbldlpariop.htm



How can I move my DVD-ROM or CD-ROM drive from one LPAR to another?


Answer

If you don’t know which LPAR owns the CD-ROM drive, use the HMC manager or WEBSM tool.
Select the managed system and open “Properties”.
Select the “I/O” tab. Look for the I/O device with the description “Other Mass Storage Controller” and read the “Owner” field. This will show the LPAR currently owning that device.


ON THE SOURCE SYSTEM:

1. Find the parent adapter of the DVD or CD device:


$ lsdev -Cl cd0 -F parent
ide0

2. Find the slot containing the IDE bus:

$ lsslot -c slot
# Slot Description Device(s)
U787B.001.DNWG2AB-P1-T16 Logical I/O Slot pci1 ide0
U9133.55A.105C2EH-V7-C0 Virtual I/O Slot vsa0
U9133.55A.105C2EH-V7-C2 Virtual I/O Slot ent0
U9133.55A.105C2EH-V7-C3 Virtual I/O Slot vscsi0

so PCI1 is the slot containing the IDE adapter and CD drive.

3. Remove the slot from this host:

# rmdev -dl pci1 -R
cd0 deleted
ide0 deleted
pci1 deleted

ON THE HMC:

Select the LPAR currently owning the CD-ROM, and in the Actions menu select:
Dynamic Logical Partitioning -> Physical Adapters -> Move or Remove
Select the adapter for “Other Mass Storage Controller” and move to the desired target LPAR.
This will perform a DLPAR operation on both the source and target LPAR.

ON THE TARGET SYSTEM:

Log in as root and run
# cfgmgr

The CD-ROM device should show up now
# lsdev -C | grep cd
cd0 Available 1G-19-00 IDE DVD-ROM Drive

Saturday, 2 October 2010

How to clear Amber ( Yellow ) Light on IBM POWER systems

This is one of the most common asked question from my customers:

There are only few steps to clear this false indicator , but before doing that you have to make sure that it is really a false alarm. You can do it by checking for latest errors in AIX error log . If there are no errors of Type P and Class H, then you can go for following steps

Type diag
Choose task selection
Choose indentify and attention indicators
Choose the indicator with the attention then choose set system
indicartor to normal

Monday, 9 August 2010

How to extend LVM based Filesystem in Linux?

A major question which came in Linux Administrators minds is that what will happen if all space within a crtical disk become full.
No worry! If you are using Linux LVM , then you can do it online as follows
1. Extend the space for LUN from storage subsystem management software

2. Rescan your partition table
#partprobe
3. Now the output of
#fdisk -l /dev/sdc

should show the extended size of Lun ( if not , then sorry your Linux kernel is not supporting online extension and you have to restart the server)

4. extend the pv
#pvresize /dev/sdc

5. extend the lv
lvextend -l 100% FREE /dev/VG01/lvdata01

6. Extend the fileystem

ext2online /dev/mapper/VG01/lvdata01

and to make sure finally verify through "df" command

Friday, 16 July 2010

Installaing rpms from iso file

Need to know , how to install rpms from an iso file ... easy job , just tarnsfer iso image file to your linux partition ( let say by ftp )and then mount as follows

mount -o loop /tmp/RHEL.iso /mnt/cd1

and then you will get whole Linux image inside /mnt/cd1 directory. Now go to appropriate directory conating rpms and do the regular stuff related to rpms installation