Archive for September, 2007

SAP on Linux

Monday, September 17th, 2007

I was at my Chennai office to conduct training and I called it as “SAP on Linux
I started by Thursday for two days training, to meet some of my counterparts and friends out there.

The class was packed with around 20 new joiners, who have just started to venture into SAP Basis. I started my session by keeping in mind: On the long run; if they have to make a choice between Windows and Linux/UNIX on SAP, there wouldn’t be a second thought to have the fun with Linux.

I picked up RedHat Linux for the demo session; since I had deployed FIVE SAP systems at my Bangalore office and they are running well on RedHat AS-4 and CentOS-5 [The number FIVE really matters for me]

I would like to paste the contents of some of the important slides:

    0.ENV_VARIABLE settings :

On Bash shell before you run ./sapinst as root


• JAVA_HOME=/opt/java1.4;
export JAVA_HOME
• SAPINST_JRE_HOME=/opt/java1.4/jre;
export SAPINST_JRE_HOME
• PATH=$PATH:/opt/java1.4/bin;
export PATH
• PATH=$PATH:/opt/java1.4/jre/bin;
export PATH

    1. Aditional Package Information for RHEL-4

: rpm -ivh

• glibc-2.3.4-2.9.x86_64.rpm
• kernel-smp-2.6.9-42.EL.x86_64.rpm [The kernel patch is important]
• glibc-common-2.3.4-2.9.x86_64.rpm
• mkinitrd-4.2.1.6-1.x86_64.rpm
• IBMJava2-AMD64-142-SDK-1.4.2-7.0.x86_64.rpm [For Java]
• saplocales-2.3.4-3.x86_64.rpm
• libaio-0.3.103-3.x86_64.rpm‎ [To avoid Oracle: error while loading Libraries libio.so.1 ]

    3. Important SAP Notes

• Red Hat Enterprise Linux 5: Installation and Upgrade (Note 1048303)
• Red Hat Enterprise Linux 3 and 4: Installation and upgrade (Note 722273)

I packed up on Sunday night after the fun with the same ‘ol feelings; Chennai, it’s still not a classic rock


Tail:
Closely an year back at the same workplace: My first CRM installation on “ ONE ” server out of 30 other running SAP servers.
I proposed to do it on Linux, but it didn’t happened since the senior was comfortable with Windows-2003. I said to myself “My call is not too far but FAR and the count started from FIVE

    Current Music:- The temple of the king by Rainbow -

Xen: I am a para-virtualized one!

Thursday, September 6th, 2007

The party over and my virtual machine is ready for topping with SAP.

One point: I have done a kernel upgrade from 2.6.18-8 to 2.6.18-8.1.8 at the guest OS level; in fact the dom0 machine too.

Heck with, I wanna know what would happen if I use the normal kernel on my PV/guest_OS and I change the default kernel-2.6.18-8.1.8.el5xen to kernel-2.6.18-8.1.8.el5 :)

[fubar@blxvirtual ~]# xm reboot cenos5v

screwed! [Didn’t came up]

Later I have resolved the issue. All I have done

mount my image

[foobar@blxvirtual sagar]# lomount -diskimage /var/lib/xen/images/cenos5v.img -partition 1 /vipin

[foobar@blxvirtual sagar]# cd /vipin/grub/grub.conf

change default 1 to 0 :)

Happy Xenning around !!!

Xen, Let’s do it

Sunday, September 2nd, 2007

Its been another work-around and Xen is the opted card I chose to play.

Making a virtualized environment on CentOS-5 [final] linux distro and SAP on top of both.

Happy Xenning around!!!