Archive for the ‘infO’ Category

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 SAP installation [SAP-CRM4] 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!!!

Let There be Light and Freedom

Tuesday, August 14th, 2007

I was interested to make some points which I mentioned below at work-place, and I was not satisfied with the way it went

and I named : Let There be Light and Freedom

“First they ignore you, then they laugh at you, then they fight you, then you win.”
-M K Gandhi

I am not here for any Anti-Microsoft-ism or a flame war, but the happenings and the hot keywords buzzing around, Linux, Open Source, Virtualization and Total Cost of Ownership [TCO].

    Linux: The Choice of Freedom

Today Linux is being used everywhere. Linux has proved it’s suitability for every workload–even the largest, most business-mission critical applications. Its security, performance and economic benefits can be applied to every level in the IT infrastructure. On the other hand Open source is powerful and it’s un-stoppable. The major Linux vendors like Red Hat and Novell/SUSE Linux are built on the open standards.

Of course, Linux dominates. The quality of Open Source software is well established. The Figure 1 shows the ranking of most available servers on the Internet.

    OpenSource Rules: Open Source is powerful. Open Source is unstoppable

According to “Wiki” the online encyclopedia, Open source is a set of principles and practices that promote access to the design and production of goods and knowledge. The term is most commonly applied to the source code of software that is available to the general public with relaxed or non-existent intellectual property restrictions. This allows users to create software content through incremental individual effort or through collaboration.

Another important point to note that Open Source software differs significantly from “freeware”. Freeware is software distributed without a fee, but without source code access but Open Source software allows anyone to inspect, identifies, and resolve flaws in the code.

The Open Source model doesn’t hide its code like Microsoft which claims that secret code is more secure. Although that seems reasonable at first glance, in reality it is patently false. When I heard this statement for the first time, I took a little while for a conclusion. Hundreds of thousands of Open Source developers, testers, bug-fixers and maintainers work as a community around the globe to make sure the flexibility, innovation, reliability, faster development of the project they working on. Sourceforge.net, a leading website for Open Source software, hosts over 130,000 projects and has 1.4 million registered users. This power exceeds that of even the mightiest proprietary software company. What would be your conclusion, by seeing the Figure 2 – Open Source movement.

    Virtualization: Many to One

Virtualization is a technology with wide range of options to improve the usage of the hardware resources and greater potentials to reduce the Total Cost of Ownership [TCO]. All most all Linux distribution now bundled with virtualization capabilities and Microsoft may have it’s built in server virtualization technology with the upcoming Windows Server-2008. Now in the market with their Microsoft Virtual Server 2005 R2

Why do we require virtualization technique and how does it reduce the cost.
Think about a business model which requires to develop and test its business applications on different platforms, which in turn required different hardware, its administration, space requirement at datacenter or inside a server rack. How do you feel if all these platform and test environment in one hardware with same performance? I think this simplifies and accelerate the productivity with low power usage. That is what virtualization does.

The most common virtualization technologies are:
0. Operating System Virtualization
1. Server Virtualization
2. Desktop Virtualization
3. Application Virtualization
4. Storage Virtualization

The major players of virtual machines are XEN, KVM and VMware with their own pros and cons.

Redhat and SUSE Linux run their Para-virtualization technology on Xen, an open source virtual machine system.

    TCO: Total Cost of Ownership

The decision makers and the IT managers of an organization consider the fact and myth about TCO, when they venture into any kind of technology deployment. This is critical and important because it’s a long term deal with the technology. Hope you might have seen the Microsoft Ad campaign/survey over the internet named “Get the Fact” Microsoft Vs Linux over TCO.

If you have already seen or ever get a chance to read about Get the Fact whitepapers in future, would you consider the following “facts”

The study NOT talk about Client Access License [CAL], the key section of a product’s licensing cost. Linux doesn’t charge you a license fee for every user accessing the server like Microsoft does.

Redhat Linux says, their subscriptions are not tied to a machine. When the hardware requirements change, Redhat subscription can be transferred to a replacement or a new machine for no additional cost. For one annual subscription, the customer gets access to the technology, documentation, updates, upgrades and un-limited technical support.

According to Novell’s Suse Linux, the figures are based on a subscription fee of $50 for Suse Linux Enterprise Desktop [SLED], compared to $299 for a Windows Vista license, as well as additional maintenance fees of $86 for Vista Business. SLED costs $50 for one year and $125 for three years, compared to Vista’s $385 for one year and $557 for three years. Add in the fact that Novell’s SLED contains a version of the OpenOffice.org, an OpenSource office productivity suite while Microsoft Office costs an additional $400 to $500.

When the Robert Frances Group study, titled “TCO For Application Servers: Comparing Linux With Windows And Solaris” and commissioned by IBM, compared the cost of acquiring, implementing, and running an application server on Linux, Windows, and Sun Solaris, it found that Linux is 40% less expensive than a comparable x86-based Windows server and 54% less than a comparable Sparc-based Solaris server. The Linux server’s costs were $40,149, compared with $67,559 for Windows and $86,478 for Solaris.
Never follow the summary or wacky ads of a survey. Make sure you have got the information that how the authors collected and analyze the data on what basis. Does that really mean to your organization and technology. And finally who sponsored the survey, was it biased.

Conclusion:

Where do we see the world of OpenSource and Linux stand by today? If you still feel the darkness around you, all I have to say: Let there be light and freedom.

Reference:

0. Official Redhat linux website http://www.redhat.com/rhel/resource_center/
1. Novell Suse linux website http://www.novell.com/linux
2. Frances Group study, titled “TCO For Application Servers: Comparing Linux With Windows And Solaris” and commissioned by IBM.
3. Online encyclopedia, Wiki. http://en.wikipedia.org/wiki/Portal:Free_software
4. Succeeding with Open Source by Bernard Golden
5. The Practical Manager’s Guide to Open Source by Maria Winslow

500 Internal Server Error Web Dynpro Container/SAP J2EE Engine/6.40 [Why it shows 640 instead 700]

Friday, July 20th, 2007

Kernel Update List

Sunday, July 8th, 2007

There were times I need to get the update of latest stable version of the Linux kernel, pre-patch, snapshots of 2.6.x.x 2.4.x and with a single click; you are watching :)

Kernel update list:

I am still a linux boy and SAP on top of it now!

SAP admits to ‘inappropriate downloads’ in Oracle case

Friday, July 6th, 2007

Responding to a lawsuit filed by Oracle earlier this year, SAP admitted on Tuesday that its TomorrowNow division in the U.S. made some “inappropriate downloads” from an Oracle Web site but said SAP never had access to the material.
Even a single inappropriate download is unacceptable from my perspective,” Kagermann said in a statement: “We regret very much that this occurred.

The company launched a Web site where it will publish information related to the case, including court filings and a time line of events.

Delhi_00

Sunday, February 18th, 2007

Woof…! I am lucky that I put on an extra woolen kind of brown T-Shirt, which I got from my brother.

It’s really chilling at the Airport and I walked towards the pre-paid taxi stall. Shown up my forefinger “Eak, single aadmi… mein….….taxi chahiye; Maruthi Udyog Vihar, Gurgaon”

Smiles exchanged, paid the bill and I move out of the airport premises. It was five minutes past 1 AM when I search for a telephone booth outside but it was locked.

My mobile was dead in both SIGNAL and battery charge.

What’s next…? I need to make some calls, and a call to my counterpart at Gurgaon office. The next best option was to ask for a favor from the young man who was sitting inside the Airtel shop, [New] connection/service provider.

Hi, this is Sagar…new to Delhi……hmmm… can I borrow your Nokia mobile charger for a while, if ya keep one.

:> ahha ..Yes no problem.

I kept my mobile charged and walked out of the shop, saying “I shall get some coffee for you”

:> No Sir… that is ok…. You can come and sit here.

I sat with him and we had some general conversation over the hot Nescafé. In the middle I found the first person/friend I met in Delhi was a mallu [Keralite, who speaks my mother-tongue]

Spent around half-an-hour with him, exchange numbers, he made some arrangements for the taxi; remind me to ask/call for any help needed…. Thank you so much and goodbye my friend!

Tail: He doesn’t have any balance to make a single call from his mobile. No problem I adjusted with the Taxi driver :)

Eclipse | Mono, don’tNET

Monday, February 12th, 2007

This post is an excerpt of a discussion happened over a couple of drink at one of my close friend’s apartment. To some of his understandable queries, I mailed him after the fun…

Dai,

Hope you would be interested the following texts and some keywords [highlighted] :)

I just gotta flash of the discussion, which we had at your flat.

“Porting your Application/Software from Windows to Linux”

There are two choices available:

Eclipse with the C# plug-in and MonoDevelop.

Eclipse is now bundled with latest Linux distros these days.

MonoDevelop is not as mature as Eclipse as a complete IDE, but it provides a very tight integration with Mono, auto-completion for all the class libraries, support for various programming languages (C#, Visual Basic, Boo, Nemerle, and ILASM) and a GUI designer specifically designed for Gtk#.

Mind you, Mono’s goal is not to create an exact replica of the .NET Framework. There seems no point in that. Rather, Mono places a high priority on implementing in open source those components that are essential to let applications run on alternative platforms — and Linux in particular. This means that it looks at what features and libraries are required for existing .NET applications to run, and focuses on correct implementations of those.

A dedicated team of engineers at Novell is working on Mono. Mainsoft (NOT a typo) also has a dedicated team working on the project components shared in common. Both companies are highly focused on implementing those parts of the .NET platform that Microsoft has placed with the ECMA standards body.

Reference:

https://eclipse-tutorial.dev.java.net/

http://www.mono-project.com/Main_Page

http://en.wikipedia.org/wiki/Mono_Project

Good Luck

~sagar

Classic [blue to black]

Saturday, February 10th, 2007

It’s been a while I put some text here, in fact there were many under the drafts section.

Frequent visitors, may find a little change on the look and feel of my page…classic [blue to black]…eha…???

I went for an up-grade of my wordpress-1.5 to 2.1 (gotta something to fiddle around for today’s night). The upgrade went like a breeze…and I go to bed at 6:00 and some stubs left behind.