The point of no return

How to install IBM Director Common Linux Agent 6.3.5 on CentOS6

29th October 2014 by Ali Erdinç Köroğlu

If you’ve IBM hardware you already know about IBM Director, if you dont please leave now :)
As may know IBM only supports IBM Systems Director Common Agent 6.3.5 for RHEL5, RHEL6, SLES10 and SLES11 distributions. So what about CentOS6 users ??

Dont panic..

1. Discover your X86 server from Director Inventory
2. Give root permission for SSH access to Director and finish request access stage
3. Download the latest common agent from IBM website into the server where IBM Director is running!
4. Import the latest agent from Director > Release Management > Agents
5. Goto System x Management > View System x servers and operating systems
6. Find you server’s IP address and right click it
7. Choose Release Management > Install Agent
8. Follow Agent Installation steps but you gonna select CommonAgent 6.3.5 xLinux and finish installation agent.

Dont worry you’ll get errors :)
At this stage IBM Director is copied releated files into you server’s /tmp/commonagent_tmp directory, so let’s begin..

[root@dbs ~]# cd /tmp/commonagent_tmp/
[root@dbs commonagent_tmp]# mkdir rpm
[root@dbs commonagent_tmp]# ./dir6.3.5_commonagent_linux_x86 -x rhel6 -p rpm/
[1-Agree|0-Disagree]: 1
Extracting RPM files to rpm/
.............................
654801 blocks

Now we have rhel6 releated rpms..

[root@dbs commonagent_tmp]# cd rpm/
[root@dbs rpm]# ls
brocade_adapter_cimprovider-3.2.3.0-lsb.i386.rpm     ibmcim-baseserver-6.3.5-rhel6.i386.rpm        ibmcim-snmp-5.2.1-rhel6.i386.rpm
cassite-linux-x86.zip                                ibmcim-baseserver-mof-6.3.5-1.i386.rpm        ibmcim-snmpextensions-6.3.5-rhel6.i386.rpm
diruninstall.agent                                   ibmcim-icu-36.0-rhel6.i386.rpm                ibmcim-ssl-1.0.1.7-rhel6.i386.rpm
dsa-2.26-rhel6.i386.rpm                              ibmcim-instrumentation-6.3.5-rhel6.i386.rpm   install
emulex_fc_provider_ibm-10.2.261.13-rhel6.i686.rpm    ibmcim-network-6.3.5-rhel6.i386.rpm           ISDCommonAgent-6.3.5-1.noarch.rpm
emulex_ucna_provider_ibm-10.2.261.13-rhel6.i686.rpm  ibmcim-network-mof-6.3.5-1.i386.rpm           Lib_Utils-1.00-09.noarch.rpm
ibmcim-6.3.5-rhel6.i386.rpm                          ibmcim-objectmanager-6.3.5-rhel6.i386.rpm     lsi_mr_hhr-00.50.0506-rhel6.i386.rpm
ibmcim-agentextensions-6.3.5-rhel6.i386.rpm          ibmcim-openslp-2.1.1636-rhel6.i386.rpm        qlogic_cna_providers-1.5.6-rhel6.i386.rpm
ibmcim-agentextensions-mof-6.3.5-1.i386.rpm          ibmcim-sblim-2.2.8-1rhel6.i386.rpm            setup.lin
ibmcim-baseos-6.3.5-rhel6.i386.rpm                   ibmcim-serviceprocessor-6.3.5-rhel6.i386.rpm
ibmcim-baseos-mof-6.3.5-1.i386.rpm                   ibmcim-serviceprocessor-mof-6.3.5-1.i386.rpm
[root@dbs rpm]#

Apply my patch to install file..

--- install.org	2014-10-28 23:24:55.208104735 +0200
+++ install	2014-10-28 23:46:12.973181647 +0200
@@ -70,8 +70,8 @@
 RC_POWER_PAM_SLES_DEP_FAILED=70
 
 # Distribution list and versions
-DISTROS="redhat-release redhat-release-server redhat-release-workstation sled-release sles-release SUSE_SLES_SAP-release SLES-for-VMware-release release vmware-esx-vmware-release-4"
-SUPPORTED_RELEASES="rhel5 rhel6 sles10 sles11"
+DISTROS="redhat-release redhat-release-server redhat-release-workstation centos-release sled-release sles-release SUSE_SLES_SAP-release SLES-for-VMware-release release vmware-esx-vmware-release-4"
+SUPPORTED_RELEASES="rhel5 rhel6 centos6 sles10 sles11"
 
 # RPM attributes
 ARCH=i386
@@ -336,6 +336,13 @@
 	return 1
 }
 
+check_centos6()
+{
+        [ "${1}" == "centos-release-6" ] && \
+                RELEASE=rhel6 && BINARY_COMPAT_RELEASE=rhel6 && return 0
+        return 1
+}
+
 check_sles10()
 {
 	if [ "${1}" == "sles-release-10" ] || \
@@ -2453,6 +2460,8 @@
 	[ $1 == "redhat-release-server" ] || \
 	[ $1 == "redhat-release-workstation" ] && \
 	    RELEASE_RPM=$(rpm --qf '%{name}-%{version}\n' -q --whatprovides /etc/redhat-release)
+	[ $1 == "centos-release" ] && \
+            RELEASE_RPM=$(rpm --qf '%{name}-%{version}\n' -q --whatprovides /etc/redhat-release)
 	[ $1 == "sles-release" ] || \
 	[ $1 == "SUSE_SLES_SAP-release" ] || \
 	[ $1 == "SLES-for-VMware-release" ] || \

And then install the agent :)

[root@dbs rpm]# wget http://ae.koroglu.org/doc/install.patch
--2014-10-29 02:08:42--  http://ae.koroglu.org/doc/install.patch
Resolving ae.koroglu.org... 78.46.226.107
Connecting to ae.koroglu.org|78.46.226.107|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1413 (1.4K) [application/octet-stream]
Saving to: “install.patch”
 
100%[==============================================================================>] 1,413       --.-K/s   in 0s      
 
2014-10-29 02:08:47 (265 MB/s) - “install.patch” saved [1413/1413]
 
[root@dbs rpm]# patch -p0 < install.patch 
patching file install
[root@dbs rpm]# ./install -ivs -p /tmp/commonagent_tmp/rpm

PS: You may need to install pam.i686 before installation.

Ayrılık..

3rd October 2008 by Ali Erdinç Köroğlu

Yaklaşık 1,5 yıldır çalışmakta olduğum IBM‘den Yakın Doğu Üniversitesi‘ne geçip Kıbrıs’a yerleştim, eski şirketim ile bundan sonra yapacağımız ortak akademik projelerde yine bir arada olacağım. İyi, kötü, acı, tatlı bir çok şey yaşadığım tüm çalışma arkadaşlarıma her şey için çok teşekkür ederim..

PS: 15 Kasım 2008 tarihinde Yakın Doğu Üniversitesi İnovasyon ve Bilişim Teknolojileri Merkezi’nin açılışına herkes davetlidir :)

İnternet Haftası 2008 KKTC

8th April 2008 by Ali Erdinç Köroğlu

ih2008

İnternet Haftası 2008 etkinlikleri kapsamında 10-11 Nisan 2008 tarihlerinde Kuzey Kıbrıs Türk Cumhuriyetinde iki ayrı güzide üniversitede “Linux nedir, yenir mi?” semineri vereceğim, her iki üniversiteninde Lefkoşa içinden üniversitelere ücretsiz öğrenci servisleri bulunmaktadır. Tabiki seminer sırasında bundan da bahsetmeden geçemeyeceğim :)

Seminer Programı:
10 Nisan 2008 @ 12.40 : Yakın Doğu Üniversitesi Atatürk Kültür Merkezi Salon4
11 Nisan 2008 @ 10.00 : Uluslararası Kıbrıs Üniversitesi Konferans Salonu

Cell HPC Linux installations

25th January 2008 by Ali Erdinç Köroğlu

I forgot to mention about we have also Cell HPC nodes here in Cyprus :)

blade cell

SuperComputer & SuperOS

11th January 2008 by Ali Erdinç Köroğlu

SuperComputer kurulur da üzerine süper işletim sistemi kurulmaz mı?

sc1
Göremediniz mi? Gelin biraz daha yakından bakalım :)

sc2
Ufak bir ipucu: Kümenin yaklaşık gücü 12TeraFlops

Building the SuperComputer in Cyprus

24th December 2007 by Ali Erdinç Köroğlu

sp1
sp2
Details will be here soon..

Announcement

28th March 2007 by Ali Erdinç Köroğlu

At the end of this week I’ll leave TÜBİTAK / UEKAE and start to work for IBM. It doesn’t mean that I’m leaving Pardus, I’ll continue to maintain my packages and bugs too like other pardus developers. Doesn’t matter where you work for as long as you’re in the open source community, so I’ll be around…

I would like to say thank you Tekman and rest of the team for everything, I’m so proud to work with you guys.
I love you Pardus and always have…

« Previous Entries