25th December
December 25th, 2007Another Christmas come and gone !!
Another Christmas come and gone !!
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”
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 !!!
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!!!
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.
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
I was facing an issue with a newly installed SAP-NWSR2:
Lot of search happened over the net and SDN, but real men keep their words.
Installed components are:
PI-EP-BI-Add-Ins[V.7] SP-09, IBM-JAVA-1.4.2|64 bit on a single RH-AS-4 Linux box with Oracle-10g.
I was able to log onto /exchangeProfile and /irj for portal
RWB throws error after loggin:
Following error occurred while executing the application:
Error during communication with System Landscape Directory: HTTP response code: 403 (Forbidden)
Display Stack Trace
com.sap.aii.rwb.exceptions.BuildLandscapeException: Error during communication with System Landscape Directory: HTTP response code: 403 (Forbidden)
at com.sap.aii.rwb.agent.server.SLDAgentBean.convertException(SLDAgentBean.java:1472)
at com.sap.aii.rwb.agent.server.SLDAgentBean.buildSLD(SLDAgentBean.java:773)
at com.sap.aii.rwb.agent.server.SLDAgentBean.provideSld(SLDAgentBean.java:269)
at com.sap.aii.rwb.agent.server.SLDAgentBean.getXIDomain(SLDAgentBean.java:711)
at com.sap.aii.rwb.agent.api.SLDAgentObjectImpl0.getXIDomain(SLDAgentObjectImpl0.java:876)
at com.sap.aii.rwb.agent.api.SLDAgent_Stub.getXIDomain(SLDAgent_Stub.java:1665)
at com.sap.aii.rwb.agent.client.EJBAgent.getXIDomain(EJBAgent.java:255)
at com.sap.aii.rwb.util.web.model.AppMainModel.getSelectedDomain(AppMainModel.java:137)
at com.sap.aii.rwb.util.web.model.DomainRep.build(DomainRep.java:100)
at com.sap.aii.rwb.web.componentmonitoring.model.ObjectIdentificationTree.getComponentTree(ObjectIdentificationTree.java:102)
at jsp_component_monitoring1184877415279._jspService(jsp_component_monitoring1184877415279.java:209)
at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:68)
at com.sapportals.htmlb.page.PageProcessorServlet.doPost(PageProcessorServlet.java:22)
at com.sap.aii.rwb.web.componentmonitoring.viewcontroller.CmPageProcessor.doPost(CmPageProcessor.java:35)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at jsp_FC_Secure1184877411979._jspService(jsp_FC_Secure1184877411979.java:24)
at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Wait…
Query being processed
The following error code 500 I am getting when I try:
500 Internal Server Error Web Dynpro Container/SAP J2EE Engine/6.40 [Why it shows 640 instead 700]
Failed to process request. Please contact your system administrator.
Root Cause
The initial exception that caused the request to fail, was:
java.lang.StringIndexOutOfBoundsException
at at java.lang.String.substring(String.java:1019)
at at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.fillStaticTemplateContext(HtmlClient.java:516)
at at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:1213)
at at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.retrieveData(HtmlClient.java:252)
at at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRetrieveData(WindowPhaseModel.java:595)
Detailed Error Information
Detailed Exception Chain
java.lang.StringIndexOutOfBoundsException
at java.lang.String.substring(String.java:1019)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.fillStaticTemplateContext(HtmlClient.java:516)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:1213)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.retrieveData(HtmlClient.java:252)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRetrieveData(WindowPhaseModel.java:595)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:156)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
***The other thing I found was:****
dev_jrfc.trc under /usr/sap/LNW/DVEBMGS00/j2ee/cluster/server0
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR partner ‘127.0.0.1:sapgw00′ not reached
TIME Fri Jul 20 17:06:34 2007
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -10
MODULE nixxi.cpp
LINE 2764
DETAIL NiPConnect2
SYSTEM CALL connect
ERRNO 111
ERRNO TEXT Connection refused
COUNTER 2
Return code: RFC_FAILURE(1)
error group: 102
key: RFC_ERROR_COMMUNICATION
Error> occured >Fri Jul 20 17:06:35,859< RfcException:
message: Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=blxnws00 SYSNR=00 GWHOST=blxnws00 GWSERV=sapgw00 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR partner ‘blxnws00:sapgw00′ not reached
TIME Fri Jul 20 17:06:35 2007
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -10
MODULE nixxi.cpp
LINE 2764
DETAIL NiPConnect2
SYSTEM CALL connect
ERRNO 111
ERRNO TEXT Connection refused
COUNTER 2
Return code: RFC_FAILURE(1)
error group: 102
key: RFC_ERROR_COMMUNICATION
In trace file under work DIR:
Error occurred while preloading classes of security providers from jre/lib/ext folder: java.util.zip.ZipException: No such file or directory jar:file:/opt/IBMJava2-amd64-142/jre/lib/ext/ibmjceprovider.jar
I thought; does IBM-Java sucks!!! Nay….
Why the hell… we have gotta the Support Pack; Mr.Luke go ahead with it SP-11 for ALL execept
BW(ABAP) should be 12 [I suggest].
HappY nights and wee hours again… I have gotta some more midnight oil :)
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 :)
I am still a linux boy and SAP on top of it now!
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.
Just another day to have many wishes and blessings.
May be the day make me to jot these text after a long time and I am traveling.
I am on my way to Ahmedabad, another assignment.
Well..well…well, I’m doing well and g00d. How ya are doin ?
I got a chance to thank my colleagues and the people worked with me at client’s place, and I wrote for them all.
Dear All,
Everyday has got its own freshness, a lot to remember and forget.
Today is my last day with you in “client”; I am released and got to go.
With your permission, I write down this texting to thank you all.
Thanks a bunch for “ALL” of your support, co-operation, understanding and for the g00d time.
I had a great Team. Yes I did !
I can’t resist telling this at least, I really enjoyed my late night and the wee hours of this project.
A lot to remember!!!
Thank you all once again and wishing you Good Luck.
I don’t wanna say keep in touch, keep in sight… I should say; at least try!!!
Pretty please, with sugar on top; try.
Mob : +91-xxxxxxxxxx
e-mail: name@company.com vipinATvipinsagarDOTnet
Adios
~sagar
=======================================================================
: Whose motorcycle is this?
| It’s a chopper.
: Whose chopper is this?
| Zed’s.
: Who’s Zed?
| Zed’s dead, baby, Zed’s dead.