Saturday, 30 October 2021

 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


# yum groupinstall gnome-desktop x11 fonts


Alternatively  you can also target the "Server with GUI" group instead.


# yum groupinstall "Server with GUI"


Once all required packages are installed , we need to configure to start GNOME related services automatically at system reboot.


This can be done by following command:


# systemctl set-default graphical.target

Monday, 21 December 2015

Verse - Arrahman from Al-quran

 Surah - Ar-rehman from holy Quran with English Translation

https://www.youtube.com/watch?v=6WvHMNuhH3Y

Saturday, 2 May 2015

Surah-e_Fatiha

Surah-e-Fatiha


One of the most important verse of Holy Quran which is recited by every muslim in his/her five days prayers.

https://www.youtube.com/watch?v=_opPRRIX3gc

Sunday, 25 January 2015

  


Surat An-Naba' (The Tidings) 

  It is the 78th chapter (sura) of the Quran with 40 verses.[1]

Below is English and French translation of this great sura ( chapter ) of Quran. To listen to  this chapter , go to  following link

https://www.youtube.com/watch?v=kay_gerBczY 


Translation:



Sourate L’événement (Al-Naba´)
(Fr) M. Chiadmi
Au nom de Dieu, le Clément, le Miséricordieux.
Surah The Event (Al-Naba´)
Pickthall
In the name of Allah, the Beneficent, the Merciful.
Surah The Event (Al-Naba´)
Original Text
بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيمِ
Qur'an 78:1 À propos de quoi s’interrogent-ils? Whereof do they question one another? عَمَّ يَتَسَاءَلُونَ
Qur'an 78:2 À propos de la grande nouvelle (It is) of the awful tidings, عَنِ النَّبَإِ الْعَظِيمِ
Qur'an 78:3 qui ne cesse de les diviser ! Concerning which they are in disagreement. الَّذِي هُمْ فِيهِ مُخْتَلِفُونَ
Qur'an 78:4 Qu’ils patientent ! Ils en seront bientôt informés ! Nay, but they will come to know! كَلَّا سَيَعْلَمُونَ
Qur'an 78:5 Oui, qu’ils patientent ! Ils en seront bientôt informés ! Nay, again, but they will come to know! ثُمَّ كَلَّا سَيَعْلَمُونَ
Qur'an 78:6 N’avons-Nous pas disposé la Terre comme un berceau Have We not made the earth an expanse, أَلَمْ نَجْعَلِ الْأَرْضَ مِهَادًا
Qur'an 78:7 et les montagnes comme des rivets de fixation? And the high hills bulwarks? وَالْجِبَالَ أَوْتَادًا
Qur'an 78:8 Ne vous avons-Nous pas créés par couples, And We have created you in pairs, وَخَلَقْنَاكُمْ أَزْوَاجًا
Qur'an 78:9 institué le sommeil pour votre repos, And have appointed your sleep for repose, وَجَعَلْنَا نَوْمَكُمْ سُبَاتًا
Qur'an 78:10 étendu la nuit sur vous comme un manteau And have appointed the night as a cloak, وَجَعَلْنَا اللَّيْلَ لِبَاسًا
Qur'an 78:11 et réservé le jour à la recherche de votre subsistance? And have appointed the day for livelihood. وَجَعَلْنَا النَّهَارَ مَعَاشًا
Qur'an 78:12 N’avons-Nous pas élevé au-dessus de vous sept Cieux inébranlables, And We have built above you seven strong (heavens), وَبَنَيْنَا فَوْقَكُمْ سَبْعًا شِدَادًا
Qur'an 78:13 dans lesquels Nous avons placé un flambeau éblouissant? And have appointed a dazzling lamp, وَجَعَلْنَا سِرَاجًا وَهَّاجًا
Qur'an 78:14 Et des nuages accumulés ne faisons-Nous pas descendre une pluie abondante, And have sent down from the rainy clouds abundant water, وَأَنْزَلْنَا مِنَ الْمُعْصِرَاتِ مَاءً ثَجَّاجًا
Qur'an 78:15 par laquelle Nous faisons pousser des grains, des plantes Thereby to produce grain and plant, لِنُخْرِجَ بِهِ حَبًّا وَنَبَاتًا
Qur'an 78:16 et des jardins luxuriants? And gardens of thick foliage. وَجَنَّاتٍ أَلْفَافًا
Qur'an 78:17 En vérité, le Jour du Règlement des comptes est inéluctable ! Lo! the Day of Decision is a fixed time, إِنَّ يَوْمَ الْفَصْلِ كَانَ مِيقَاتًا
Qur'an 78:18 C’est le jour où l’on soufflera dans le Clairon, où vous vous présenterez en masses, A day when the trumpet is blown and ye come in multitudes, يَوْمَ يُنْفَخُ فِي الصُّورِ فَتَأْتُونَ أَفْوَاجًا
Qur'an 78:19 où le ciel s’ouvrira et présentera partout de grandes failles And the heaven is opened and becometh as gates, وَفُتِحَتِ السَّمَاءُ فَكَانَتْ أَبْوَابًا
Qur'an 78:20 et où les montagnes, ébranlées, deviendront un mirage. And the hills are set in motion and become as a mirage. وَسُيِّرَتِ الْجِبَالُ فَكَانَتْ سَرَابًا
Qur'an 78:21 En vérité, la Géhenne sera ce jour-là à l’affût, Lo! hell lurketh in ambush, إِنَّ جَهَنَّمَ كَانَتْ مِرْصَادًا
Qur'an 78:22 pour constituer le dernier refuge des tyrans, A home for the rebellious. لِلطَّاغِينَ مَآبًا
Qur'an 78:23 qui y demeureront des siècles durant, They will abide therein for ages. لَابِثِينَ فِيهَا أَحْقَابًا
Qur'an 78:24 sans jamais y goûter ni fraîcheur ni boisson agréable, Therein taste they neither coolness nor (any) drink لَا يَذُوقُونَ فِيهَا بَرْدًا وَلَا شَرَابًا
Qur'an 78:25 hormis un breuvage fétide et bouillant, Save boiling water and a paralysing cold: إِلَّا حَمِيمًا وَغَسَّاقًا
Qur'an 78:26 comme juste rétribution de leurs oeuvres. Reward proportioned (to their evil deeds). جَزَاءً وِفَاقًا
Qur'an 78:27 C’est qu’ils ne pensaient pas devoir, un jour, rendre compte de leurs actes For lo! they looked not for a reckoning; إِنَّهُمْ كَانُوا لَا يَرْجُونَ حِسَابًا
Qur'an 78:28 et qu’ils traitaient avec insolence Nos signes de mensonges, They called Our revelations false with strong denial. وَكَذَّبُوا بِآيَاتِنَا كِذَّابًا
Qur'an 78:29 alors que Nous notions tout par écrit. Everything have We recorded in a Book. وَكُلَّ شَيْءٍ أَحْصَيْنَاهُ كِتَابًا
Qur'an 78:30 «Goûtez donc ce supplice que Nous ne ferons désormais qu’aggraver !», sera-t-il dit à ces négateurs. So taste (of that which ye have earned). No increase do We give you save of torment. فَذُوقُوا فَلَنْ نَزِيدَكُمْ إِلَّا عَذَابًا
Qur'an 78:31 Quant aux hommes pieux, une douce félicité leur sera réservée. Lo! for the duteous is achievement - إِنَّ لِلْمُتَّقِينَ مَفَازًا
Qur'an 78:32 C’est ainsi qu’ils auront des vergers et des vignes, Gardens enclosed and vineyards, حَدَائِقَ وَأَعْنَابًا
Qur'an 78:33 des jeunes femmes d’une égale jeunesse And voluptuous women of equal age; وَكَوَاعِبَ أَتْرَابًا
Qur'an 78:34 et des coupes débordantes. And a full cup. وَكَأْسًا دِهَاقًا
Qur'an 78:35 Là, ils n’entendront ni vaines paroles ni propos mensongers. There hear they never vain discourse, nor lying - لَا يَسْمَعُونَ فِيهَا لَغْوًا وَلَا كِذَّابًا
Qur'an 78:36 Et ce sera là une récompense bien méritée et un don généreux de ton Seigneur, Requital from thy Lord - a gift in payment - جَزَاءً مِنْ رَبِّكَ عَطَاءً حِسَابًا
Qur'an 78:37 le Maître des Cieux, de la Terre et des espaces interstellaires, le Miséricordieux auquel nul ne pourra adresser la parole. Lord of the heavens and the earth, and (all) that is between them, the Beneficent; with Whom none can converse. رَبِّ السَّمَاوَاتِ وَالْأَرْضِ وَمَا بَيْنَهُمَا الرَّحْمَنِ لَا يَمْلِكُونَ مِنْهُ خِطَابًا
Qur'an 78:38 Ce sera le jour où l’Esprit et les anges se présenteront silencieux et en rangs, et où seul prendra la parole celui que le Miséricordieux aura autorisé à tenir des propos pertinents, On the day when the angels and the Spirit stand arrayed, they speak not, saving him whom the Beneficent alloweth and who speaketh right. يَوْمَ يَقُومُ الرُّوحُ وَالْمَلَائِكَةُ صَفًّا لَا يَتَكَلَّمُونَ إِلَّا مَنْ أَذِنَ لَهُ الرَّحْمَنُ وَقَالَ صَوَابًا
Qur'an 78:39 car ce jour-là sera le jour de la Vérité ! Et quiconque l’aura voulu trouvera refuge auprès de son Seigneur. That is the True Day. So whoso will should seek recourse unto his Lord. ذَلِكَ الْيَوْمُ الْحَقُّ فَمَنْ شَاءَ اتَّخَذَ إِلَى رَبِّهِ مَآبًا
Qur'an 78:40 En vérité, Nous vous mettons en garde contre un châtiment imminent, car, ce jour-là, chacun sera mis en face de ses oeuvres et le négateur s’écriera : «Comme j’aurais aimé n’être que poussière !» Lo! We warn you of a doom at hand, a day whereon a man will look on that which his own hands have sent before, and the disbeliever will cry: "Would that I were dust!"

Thursday, 29 November 2012

Installing AIX Lpars using NIM server



Activate Lpar profile , go to SMS menu and then configure remote IPL settings by defining client IP address, Server IP address and gateway IP address. You can additionally execute ping test as well as shown below.
PC Firmware
-------------------------------------------------------------------------------
Main Menu
1. Select Language
2. Setup Remote IPL (Initial Program Load)
3. Change SCSI Settings
4. Select Console
5. Select Boot Options
Select Ethernet Adapter as below screen .
PowerPC Firmware
-------------------------------------------------------------------------------
NIC Adapters
Device Location Code Hardware
Address
1. Port 1 - IBM 2 PORT 10/100/100 U787B.001.WEBDEV-P1-C1-T1 001a6491a656
Now select 1 for IP Parameters as follows
PowerPC Firmware
-------------------------------------------------------------------------------
Network Parameters
Port 2 - IBM 2 PORT 10/100/1000 Base-TX PCI-X Adapter : U787B.001.WEBDEV-P1-C1-
1. IP Parameters
2. Adapter Configuration
3. Ping Test
4. Advanced Setup: BOOTP
Now fill up the parameters as below
PowerPC Firmware
-------------------------------------------------------------------------------
IP Parameters
Port 1 - IBM 2 PORT 10/100/1000 Base-TX PCI-X Adapter : U787B.001.WEBDEV-P1-C1-
1. Client IP Address [10.86.125.150] 
2. Server IP Address [10.86.125.152 
3. Gateway IP Address [10.86.124.1]
4. Subnet Mask [255.255.240.0]
Now go back previous menu and select Ping Test (option 3)
Make sure you get a ping success; else, the NIM will fail. If ping failure, check the address info entered; check if the adapter is correct and if the adapter is connected into the network. When ping test OK, proceed to next step:

Type menu item number and press Enter or select Navigation key:3
PowerPC Firmware
-------------------------------------------------------------------------------
 
Ping Test
Port 1 - IBM 2 PORT 10/100/1000 Base-TX PCI-X Adapter : U787B.001.WEBDEV-P1-C1
Speed, Duplex: auto,auto
Client IP Address: 10.86.125.150
Server IP Address: 10.86.125.152
Gateway IP Address: 10.86.124.1
Subnet Mask: 255.255.240.000
Protocol: Standard
Spanning Tree Enabled: 0
Connector Type:
 
1. Execute Ping Test
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:1
 
.---------------------.
| Attempting Ping... |
`---------------------'
 
.-----------------.
| Ping Success. |
`-----------------'
Go back to Main Menu and Select 5 for Select Boot Options
Main Menu
1. Select Language
2. Setup Remote IPL (Initial Program Load)
3. Change SCSI Settings
4. Select Console
5. Select Boot Options
Now Select 1 Select Install/Boot Device and Select 6 for Network. Then Select Adapter # from previous step as option 2
Multiboot
1. Select Install/Boot Device
2. Configure Boot Device Order
3. Multiboot Startup
PowerPC Firmware
-------------------------------------------------------------------------------
Select Device Type
1. Diskette
2. Tape
3. CD/DVD
4. IDE
5. Hard Drive
6. Network
7. List all Devices
 
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:6
PowerPC Firmware
 
-------------------------------------------------------------------------------
Select Device
Device Current Device
Number Position Name
1. - Ethernet
(loc=U787B.001.WEBDEV-P1-C1-T1 )
Now select Normal Mode Boot and Select 1 to Exit System Management Services
PowerPC Firmware
-------------------------------------------------------------------------------
Select Task
 
Ethernet
( loc=U787B.001.WEBDEV-P1-C1-T2 )
 
1. Information
2. Normal Mode Boot
3. Service Mode Boot
 
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:2
 
PowerPC Firmware
 
-------------------------------------------------------------------------------
Are you sure you want to exit System Management Services?
1. Yes
2. No


1.2.5. After Lpar boots and get AIX bootable image from NIM server , mksysb restoration will automatically start. You may have point to correct destination disk for mksysb restoration purpose.

1.2.6. After mksysb image has been restored on client Lpar , it will automatically get its hostname and IP address as defined on NIM master server. You can change that IP address , if needed.



1.2.7. If no TCPIP change is required , go to smitty nim and then configure client communication services where you have to specify nimsh as “future” communication protocol between NIM master server and NIM client.

FCOE - A new Trend in Storage world

FCOE or Fiber channel over ethernet is one of the newest technology which was introduced as convergence for ethernet and Fiber traffic. What it actually means in simpler words that hosts or servers are using some special type of adapters or Modules ( in Blade center world ) which is capable of carrying ethernet and FC traffic on same set of physical ports.
The Host OS is usually running some device driver for these special adapters which present this adapter as two virtual adapters. One virtual adapter is for ethernet traffic while other virtual adapters is for FC traffic.

Now these FCOE adapters usually connect to special kind of Ethernet Switches with FCOE ports . Example would be Cisco 5000 series switches.

The Cisco switches can then be configured in NPV or Switch mode where VLAN to VSAN mappings allow FC traffic to flow towards SAN switches ( like Cisco MDS or Brocade switches). Connections between Ethernet and FC switches can be either FCOE or FC , although FC connections are more preferred as having FCOE connections between ethernet and FC switches will result in FCOE hops which might impact on performance if not properly sized.


Wednesday, 7 November 2012

Islamic Concept of GOD

While living in non muslim part of the world , one question which i came across very often is that what is Islamic concept of GOD? Unfortunately most of my non muslim friends believes that Muslims worships some "arabic" God. In other words , they believe that Islamic concept of GOD is very different from christian or Jews concept of GOD.

Let me correct the concept.  We have to look into the original concept of GOD in Christianity and Judaism .The original concept of GOD in all of these religions were same, which is one and only one GOD.

We ,as Muslim, also believe in one and only GOD. We believe that GOD is one and only one ( no son , no father) and he is GOD of all humanity and  prophets ( prophet Moses, prophet Christ  Prophet Jones , prophet Noah  Prophet David , Prophet Abraham and Prophet Muhammad). All of these prophets came with same message and message was initially same "come to one GOD, he who is the one creator of whole universe and all mankind". With the passage of time ,when human beings kept confusing and kept making changes in this message on their own ( like concept of 3 Gods instead of one was introduced by christian scholars and priests long after Christ ) , GOD kept sending same message again and again with his messengers or prophets. This process ended with Prophet Muhammad till the day of judgement.

For some non Muslim friends , the name "ALLAH" is confusing. They think that Muslims worship a different GOD. Let me clarify this point as well. In fact , name ALLAH is a arabic name of GOD , which actually points to one and only one GOD. The almighty GOD , the almighty ALLAH, creator of whole universe, human being , mountains , rivers and lakes is the GOD of all beloved prophets.



Coming back to the name "Allah", It is a known fact that every language has one or more terms that are used in reference to God and sometimes to lesser deities. This is not the case with Allah. Allah is the personal name of the One true God. Nothing else can be called Allah. The term has no plural or gender. This shows its uniqueness when compared with the word god which can be made plural, gods, or feminine, goddess. It is interesting to notice that Allah is the personal name of God in Aramaic, the language of Jesus and a sister language of Arabic.
The One true God is a reflection of the unique concept that Islam associates with God. To a Muslim, Allah is the Almighty, Creator and Sustainer of the universe, Who is similar to nothing and nothing is comparable to Him. The Prophet Muhammad was asked by his contemporaries about Allah; the answer came directly from God Himself in the form of a short chapter of the Quran, which is considered the essence of the unity or the motto of monotheism. This is chapter 112 which reads:

"In the name of God, the Merciful, the Compassionate.
Say (O Muhammad) He is God the One God, the Everlasting Refuge, who has not begotten, nor has been begotten, and equal to Him is not anyone."

Some non-Muslims allege that God in Islam is a stern and cruel God who demands to be obeyed fully. He is not loving and kind. Nothing can be farther from truth than this allegation. It is enough to know that, with the exception of one, each of the 114 chapters of the Quran begins with the verse: "In the name of God, the Merciful, the Compassionate." In one of the sayings of Prophet Muhammad (PBUH) we are told that "God is more loving and kinder than a mother to her dear child."
But God is also Just. Hence evildoers and sinners must have their share of punishment and the virtuous, His bounties and favors. Actually God's attribute of Mercy has full manifestation in His attribute of Justice. People suffering throughout their lives for His sake and people oppressing and exploiting other people all their lives should not receive similar treatment from their Lord. Expecting similar treatment for them will amount to negating the very belief in the accountability of man in the Hereafter and thereby negating all the incentives for a moral and virtuous life in this world. The following Quranic verses are very clear and straightforward in this respect:

"Verily, for the Righteous are gardens of Delight, in the Presence of their Lord. Shall We then treat the people of Faith like the people of Sin? What is the matter with you? How judge you?" (68:34-36)

Islam rejects characterizing God in any human form or depicting Him as favoring certain individuals or nations on the basis of wealth, power or race. He created the human beings as equals. They may distinguish themselves and get His favor through virtue and piety only.
The concept that God rested in the seventh day of creation, that God wrestled with one of His soldiers, that God is an envious plotter against mankind, or that God is incarnate in any human being are considered blasphemy from the Islamic point of view.
The unique usage of Allah as a personal name of God is a reflection of Islam's emphasis on the purity of the belief in God which is the essence of the message of all God's messengers. Because of this, Islam considers associating any deity or personality with God as a deadly sin which God will never forgive, despite the fact He may forgive all other sins.

[Note that what is meant above applies ONLY to those people who die in a state wherein they are associating others with God. The repentance of those who yet live is acceptable to God if He wills. - MSA of USC]
The Creator must be of a different nature from the things created because if he is of the same nature as they are, he will be temporal and will therefore need a maker. It follows that nothing is like Him. If the maker is not temporal, then he must be eternal. But if he is eternal, he cannot be caused, and if nothing outside him causes him to continue to exist, which means that he must be self-sufficient. And if the does not depend on anything for the continuance of his own existence, then this existence can have no end. The Creator is therefore eternal and everlasting: "He is the First and the Last."
He is Self-Sufficient or Self-Subsistent or, to use a Quranic term, Al-Qayyum. The Creator does not create only in the sense of bringing things into being, He also preserves them and takes them out of existence and is the ultimate cause of whatever happens to them.

"God is the Creator of everything. He is the guardian over everything. Unto Him belong the keys of the heavens and the earth." (39:62, 63)

"No creature is there crawling on the earth, but its provision rests on God. He knows its lodging place and it repository." (11:6)

Reference : www.allah.org


Monday, 9 July 2012

Displaying Performance Statistics across pSeries CEC

In last few days , i was trying to find out a simple way to display performance statistics across multiple Lpars in one Pseries CEC or in more simpler words across whole Pseries Lpar.

Quite recently -C parameter is added to both topas and nmon command which displays performance statistics across multiple Lpars in one CEC or pseries Server.

One of the useful tip of using CEC capability with Nmon Analyzer is available at http://www.ibm.com/developerworks/wikis/display/WikiPtype/nmon but the fact is that -C parameter is available on real time view of topas and nmon command as well.

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. 

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

Sometimes ,it happens that nothing works for you. You struggle and struggle again for a task which seems very very easy for you.
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!!!

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