This is blog for IT Infrastructure consultants , who want to use latest technologies for building high profile solutions with reliability and high performance.
Saturday 20 November 2010
For my non mulim friends... An excellent website
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
- 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
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?
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.
Next step would be to create a repo configuration file like below
vi /etc/yum.repos.d/rhe72.repo
-----------------------
[Red_Hat_72]
baseurl=file:///mnt/cd1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY ** Put exact path where RPM-GPG_KEY file exists
gpgcheck=1 ** you can also ignore gpgcheck by setting its value to Zero
enabled=1
----------
then execute
yum clean all
and finally you can run
yum repolist
which will show repository contents inside /mnt/cd1 filesystem
Saturday 10 July 2010
Remote Graphical Desktop on RHEL-5 , XDMCP and Xwindows
It happened to me few days ago when i was trying to do some graphical installation on my VMWare based RHEL-5 and was not able to do see graphical screen properly due to some resolution issues.
So after trying for hours and hours to fix this resolution issue, i finally decided to try some remote desktop software ( which are commonly as xwindows software ) on my windows machine .
It was a hard selection as nowadays so many xwindows software available on internet. Off course ideas was to use some freely available software so i selected cygwin/X for this purpose.
Cygwin/X installation/download was pretty simple however main trick was to select specific packages from x11 category. I took help from cygwin/x installation/user guide and installed this siftware very easily.
Then next step was to start cygwin bash shell and on this bash shell i tried
xwin -query 192.168.1.234 ( which was IP address of my RHEL-5), but no success.
i was sure that xwin command was right , as all cygwin manuals point to same command. After hours and hours effort , i concluded that Linux is not opening any remote graphical sessions from cygwin , as due to new RHEL-5 security standards XDCMP protocol is disabled by default.
So then i modified the file /etc/gdm/custom.conf and under the [xdmcp] section, added this line: Enable=true
Finally restarted GDM by using command gdm-restart
and then tried same xwin command from cygwin ,,,, Ahh it was successfull and finally i got graphical remote desktop on my windows machine connecting to Linux server.Thanks google again!!!
Saturday 17 April 2010
Recreate Bootable Image on RHEL and AIX
bosboot -ad /dev/hdiskx
This hdiskx could be hdisk0 or hdisk1 ( depending upon output of your lslv -m hd5 command ). In case of mirroring , you have to execute the same command against both disks in rootvg.
In case of RHEL, mkinitrd command can do the same function for you!!!
mkinitrd -v -f /boot/xxx.img xxx
where xxx=you kernel version.
Thursday 11 February 2010
World Cup Hockey 2010 Dehli- live Telecast
Here is the participation from continents
1. Australia & New Zeland from Oceana Continent ( Autralians are favourites)
2. Germany, Netherland,Spain, England from Europe
3. Pakistan, India and S.Korea from Asia
4.Canada from North America region
5. Argentina from South America
6. South Africa from Africa continent
This tournamnent is played every four years and considered as a mega event of field hockey. Unfortunately , unlike FiFA world cup or Cricke world cup, this event remains low profile , however hockey lovers deperately waiting for this event.This time however,many TV channels are telecasting these matches live . For example ten sports in India and Pakistan, Show sports 3 in Middleast / Asean and Fox sports in US and Canada. Beside this live telecast, FIH is promoting this event on face book, Twitter and you tube as well.
Here is the official web site of event
http://specials.msn.co.in/sp10/hockey/
Here are updated list of channels telecasting matches of world cup hockey 2010
Spanning all five continents, the Hero Honda FIH World Cup’s list of broadcasters and expected coverage is as follows. Please check local schedules for full details:
· Ten Sports (cable and satellite; India Subcontinent) – all matches live
· Astro Super sports (cable and satellite; Malaysia, Indonesia) – all matches live
· Starhub – (cable and satellite, Singapore) – all matches live or delayed
· PTV (terrestrial, Pakistan) – PAK matches and final
· NOS (terrestrial, Netherlands)– extended daily highlights and live coverage of selected matches
· Sport 1 (cable and satellite, Netherlands) – all matches live
· Teledeportes (digital terrestrial, Spain) – ESP matches and final
· Sport Digital (cable and satellite, Germany) – schedule TBC
· ARD/ZDF (terrestrial, Germany) – extended news
· Deutsche Welle (worldwide) – extended news
· Zee (cable and satellite; UK) – all matches live (to be screened on Zing (Sky 789 / Freesat 509 / Virgin Media) according to Zee TV and will be free)
· Cricket Plus (cable and satellite; USA and Canada) – all matches live and delayed
· ESPN Sur – (cable and satellite; Argentina, Uruguay, Paraguay) – all Argentina matches plus final
· SKY SPORTS – (cable and satellite, New Zealand) – NZ matches and final
· FOX Sports (cable and satellite, Australia) – AUS matches and final
· Showtime – (cable and satellite; Middle East) – all matches live
· Supersports (cable and satellite, pan-Africa) – RSA matches and final
Internet pay per view – all matches available live and on-demand via WorldHockey.org
· Highlights available free via WorldHockey.org
· BBC Online – extended news
· Telegraph.co.uk – coverage TBC
· Sport1.de – all matches live
Friday 22 January 2010
How to backup your Brocade SAN switches
Now doubt , it is important to take configuration of your san switches which includes fabric configuration , zones information etc.
Now for that purpose ,you may use the FOS command: configupload.
For this, you also need to get a ftp server that is contactable by your switches management IP. This FTP server can be any windows 2000 server or even your own workstation. Now if you want your own workstation to act as FTP server, you have to download ftp server softwares which include both free and commercial software like winftp.
When you execute the configupload command from your SAN switch FOS command line, you will have to specify the server ip, user name, password and directory where you want to keep the files.
In next blog entry , i will highlight, how we can automate this process so that SAN admins would not have to execute configupload command manually.
Thursday 7 January 2010
rmnod.. is there any command like that on AIX?
These devices had to be used for Oracle ARC implementation. While searching on internet for any command like rmnod , i realized that there is no such command available atleast on AIX. Some variants of linux do have rmnod command , but not AIX...
So what should be solution? After long research i concluded that best way to resolve this problem would be to delete hdisk device itslef. I deleted the device using rmdev -dl hdisk7 and all corresponding special devices ( which i created using mknod command ) were gone... Happ enough result!!
How to Enable Graphical Mode on Red Hat 7 he recommended way to enable graphical mode on RHEL V7 is to install first following packages # ...
-
Putting the physical control panel in manual operating mode There are many instances , where you want to use ASMI interface to login to Hype...
-
While Lpars and Wpars are both virtualization features of IBM Power systems , there are inherently differences which do reside between Lpars...
-
Have u met any auditor who ask you about security of your backups? For most of system and database administrators it is an annoying question...