DX NetOps Manager

 View Only

CABI 4.1 SP3 - Spectrum 10 Integration notes for Linux RHEL 6.x 

Dec 07, 2015 03:17 PM

Hello,

 

As I can see there're many people who didn't get it works so I would like to share my experience that is running fine. I created 2 VMWork Station : RHEL 6.4  - 64 bits Spectrum 10 and RHEL 6.2 - 64 bits CABI 4.1 SP3. This is a fresh installation, there wasn't CABI 3.1 installed before.

 

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Vmware  RHEL 6.4  - 64 bits Spectrum 10

- hostname : fr0spectrum

- OS : Redhat 6.4 64 bits - Minimum server install option

- packages linux installed :

  • yum -y install elfutils-libelf libaio ncurses ncurses-libs xterm ksh xorg-x11-fonts-misc xauth
  • yum install - y openmotif.x86_64 glibc.x86_64 nss-softokn-freebl.x86_64 libICE.x86_64 libSM.x86_64 libX11.x86_64 libXext.x86_64 libXft.x86_64 libXmu.x86_64 libXp.x86_64 libXrender.x86_64 libXt.x86_64 fontconfig.x86_64 freetype.x86_64 libjpeg-turbo.x86_64 libpng.x86_64 libuuid.x86_64 libxcb.x86_64 libXau.x86_64 expat.x86_64 zlib.x86_64 libstdc++.x86_64 libgcc.x86_64 libXi.x86_64 libXtst.x86_64
  • yum install - y openmotif.i686 glibc.i686 nss-softokn-freebl.i686 libICE.i686 libSM.i686 libX11.i686 libXext.i686 libXft.i686 libXmu.i686 libXp.i686 libXrender.i686 libXt.i686 fontconfig.i686 freetype.i686 libjpeg-turbo.i686 libpng.i686 libuuid.i686 libxcb.i686 libXau.i686 expat.i686 zlib.i686 libstdc++.i686 libgcc.i686 libXi.i686 libXtst.i686

 

- SpectroServer Installed

- OC installed

- SRM installed

- users : root and spectrum

 

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Vmware  RHEL 6.2 - 64 bits CABI 4.1 SP3

- hostname : fr0cabi

- OS : Redhat 6.4 64 bits - Minimum server install option

 

INSTALLATION

 

1. packages linux for CABI :

  • yum install -y libstdc++.i686 libstdc++.x86_64 compat-libstdc++-33.i686 compat-libstdc++-33.x86_64 glibc.i686 glibc.x86_64 libX11.i686 libX11.x86_64 libXext.i686 libXext.x86_64 expat.i686 expat.x86_64 libgcc.i686 libgcc.x86_64 libXcursor.i686 libXcursor.x86_64 libXrender.i686 libXrender.x86_64 libXfixes.i686 libXfixes.x86_64 libxcb.i686 libxcb.x86_64 libXau.i686 libXau.x86_64 && yum install -y compat-libstdc++-33-3.2.3-69.el6.i686 compat-libstdc++-33.i686 compat-libstdc++-33-3.x86_x64 glibc.i686 libstdc++.i686 libX11-1.3-2.el6.i686 && yum install -y libXext-devel.i686 libXext-devel.x86_64

 

2. Create cabiuser and cabi's installation directory

  • useradd cabiuser   
  • passwd cabiuser
  • chown -G root cabiuser
  • mkdir /opt/CAINSTALL
  • mkdir /opt/SRC_CABI
  • chown -R cabiuser:cabiuser /opt/CABIINSTALL
  • chmod -r 775 /opt/

 

3. Disable selinux and iptables

  • setenforce 0
  • vi /etc/selinux/config => disabled
  • iptables -F
  • chkconfig iptables off  

 

4. Modify limits configuration by switching to "su -" and run following commands :

 

  • echo "*          soft     nproc          65535" >> /etc/security/limits.conf
  • echo "*          hard     nproc          65535" >> /etc/security/limits.conf
  • echo "*          soft     nofile         65535" >> /etc/security/limits.conf
  • echo "*          hard     nofile         65535" >> /etc/security/limits.conf

 

  • echo "*          soft     nproc          65535" >> /etc/security/limits.d/90-nproc.conf
  • echo "*          hard     nproc          65535" >> /etc/security/limits.d/90-nproc.conf
  • echo "*          soft     nofile         65535" >> /etc/security/limits.d/90-nproc.conf
  • echo "*          hard     nofile         65535" >> /etc/security/limits.d/90-nproc.conf
  • echo "root soft nproc unlimited" >> /etc/security/limits.d/90-nproc.conf

 

5. Export variables into ~/.bashrc and ~/.bash_profile of user cabiuser and root

  • export TZ=PST8PDT
  • export LC_ALL=en_US.utf8
  • export BO_INST_PATH=/opt/CABIINSTALL
  • export CASHCOMP=/opt/CABIINSTALL

 

6. vi /etc/hosts and set the hostname of your cabi server inside

 

7. Log into root account (su -) and run installation setup.sh by mounting DVD :

  • mount -o loop -t iso6440 /DVDPath/DVDCABI.iso /mnt
  • su - cabiuser
  • /mnt/./setup.sh

   During the installation process of CABI, please set the installation directory as /opt/CABIINSTALL/       <=== please don't forget "/", it's important.

 

When it finished, you switch to root again and run : /opt/CA//sap_bobj/init/setupinit.sh.

 

It'll create your start and stop command of CABI as following example show us :  /etc/init.d/SAPBOBJEnterpriseXI40 { start | stop }

 

Check CABI installation by entering following URL into browser : http://fr0cabi:8080/BOE/CMC <===== but don't log into it right now.

 

Reboot your cabi server when everything seems to be ok. Don't worry, the hardest step is over.

 

POST- INSTALLATION

 

0. please check following critias :

a. set the same date on both servers spectrum and cabi. It's should be synchronized correctly before running postinstallation step. If you don't have ntp server, you can run date -s "12/07/2015 21:44:00" and hwclock -w commands.

b. startSS.pl can start without issue on fr0spectrum

c. you can get the page CMC of fr0cabi without any issue (don't need to log inside of it, we don't care about it at this level)

d. fr0spectrum can ping fr0cabi by hostname and vice versa.

 

1. Run utilities scripts :

  • mount -o loop -t iso6440 /DVDPath/DVDCABI.iso /mnt
  • cp -r /mnt/utilities/ /opt/SRC_CABI/
  • chmod -R 775 /opt/SRC_CABI/
  • su - cabiuser
  • cd /opt/SRC_CABI/utilities/SpectrumUpdate && ./SpectrumUpdate.sh -host http://fr0spectrum:8080 -username spectrum -password spectrum
  • cd /opt/SRC_CABI/utilities/CA_NVM_EXE && ./nvm_boxi_post_install_unix.sh

 

2. Switch to root account by using su - command and run :

  • cd /opt/SRC_CABI/utilities/PostInstall/
  • ./postinstall.sh /opt/CABIINSTALL/

 

Microsoft (R) Windows Script Host Version 5.8

Copyright (C) Microsoft Corporation. All rights reserved.

Do you want to migrate data from CABI 3.x? (y/n)

n

Do you want to install CA Sample Templates? (y/n)

n

Enter CABI 4.1 Administrator password and press Enter key

CABI1234

Wait .................

 

CABI 4.1 Post installation is completed with errors

 

3. You can go to the page of Spectrum Administration => Report Manager => BO Integration and do the Integration Steps as usual (Enter hostname of cabiserver + password + click on Enabled and click on Save)

 

4. If you get following error :

Error importing SRM content: Required dependencies not found on target system : '[AVYDObjipdxKrrrygS6CMmU, AXwuBX_sujVHmcMI6.X9taI, AQck.q67O5dHtfsJTBBtsU0, AQuGhZ2EfP1NkSXoQTUcKz0, AWrzaVbUYLlMuwq2JW16UUc]' (FWM 04014)

 

- Keep cool and take a deep breath !!! Don't worry, the hardest step is over. Please run following instructions (Source : ca communities)  :

 

a. Make sure you have done the Post Installation Configuration for CABI steps as per the following link.

  https://wiki.ca.com/display/CASP10/Post%20Installation%20Configuration%20for%20CABI

Note: The PostInstall script, even after successful execution gives the "Post installation is completed with errors" message. Ignore this message. This is the known anomaly.

 

b. Move all biar files on your OneClick Server under $SPECROOT/Install-Tools/SRM-Tools/BIAR directory except the following

CABI_DefaultGroups.biar  repmgr-core.biar

keep them in a backup directory. 

 

    • su -
    • cd /usr/Spectrum//Install-Tools/SRM-Tools/BIAR
    • mkdir bck && mv *.biar bck/ && cp bck/CABI_DefaultGroups.biar . && cp bck/repmgr-core.biar .
    • chown spectrum:spectrum *.biar
    • chmod 770 *.biar

 

c. Test the integration by using OneClick Administration page. And then run the integration again. Integration process may take time. Just leave it and wait for the end result.

d. Once the integration is successful restore back moved biar files into the original directory and click the [Update Content] button on Administration -> Report Manager -> Manage Business Objects Content page. This process may take time. Just leave it and wait for the end result.

 

    • su -
    • cd /usr/Spectrum//Install-Tools/SRM-Tools/BIAR
    • cp bck/*.biar .
    • chown spectrum:spectrum *.biar
    • chmod 770 *.biar

 

- Open http://fr0cabi:8080/BOE/BI and try to run a report of CA Spectrum by double-clicking (not using View option). You would get following error : An error occurred while creating a subprocess in the processing server. [RCIRAS0603]

(source : http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec1388328.aspx) . ) And you would get 404 page error also.

 

Run following command (your cabi server should have internet access or a local repo of redhat)  to resolve error RCIRAS0603.

  • yum -y downgrade libX{11,11-common,11-devel,cursor,ext,ext-devel}

 

 

Don't worry, the hardest step is over ^_^

 

PATCH 008a

 

NOTE: As `root`

 

1. Connect to Spectrum server and shutdown the OneClick server.    

  • su - spectrum
  • /usr/Spectrum/bin/./stopSS.pl
  • su -
  • /usr/Spectrum/lib/SDPM/./processd.pl stop

    

2. Copy the SPECTRUM release files into your a clean directory and start the installation as follows:

 

-For Linux:

- Save "Spectrum_10.00.00.D08a.Linux.txe" in a directory of your choice.

- Type: "chmod 755 Spectrum_10.00.00.D08a.Linux.txe" to

  change the permissions of the file.

- "./Spectrum_10.00.00.D08a.Linux.txe"

 

3. Start the OneClick server.

 

  • /usr/Spectrum/lib/SDPM/./processd.pl start
  • /usr/Spectrum/bin/./startSS.pl

 

4. Connect to Cabi server and run SpectrumUpdate command :

  • su - cabiuser
  • cd /opt/SRC_CABI/utilities/SpectrumUpdate
  • ls     <=== if you see a NEW_UdmCAFApp.jar here, delete it
  • ./SpectrumUpdate.sh -host http://fr0spectrum:8080 -username spectrum -password spectrum
  • /opt/CABIINSTALL/sap_bobj/tomcatshutdown.sh  <== please check it again and ensure that tomcat has been stopped for real.

 

5. Delete localhost directory

  • rm -rf /opt/CABIINSTALL/sap_bobj/tomcat/work/Catalina/localhost

 

6. Copy UdmCAFApp.jar file

  • su -
  • cp /opt/CABIINSTALL/sap_bobj/tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.UdmCAFApp/web/WEB-INF/lib/UdmCAFApp.jar  /tmp/
  • rm -rf /opt/CABIINSTALL/sap_bobj/tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.UdmCAFApp/web/WEB-INF/lib/UdmCAFApp.jar
  • cp /opt/SRC_CABI/utilities/SpectrumUpdate/NEW_UdmCAFApp.jar /opt/CABIINSTALL/sap_bobj/tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.UdmCAFApp/web/WEB-INF/lib/UdmCAFApp.jar
  • chmod 644   /opt/CABIINSTALL/sap_bobj/tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.UdmCAFApp/web/WEB-INF/lib/UdmCAFApp.jar
  • chown root:root  /opt/CABIINSTALL/sap_bobj/tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.UdmCAFApp/web/WEB-INF/lib/UdmCAFApp.jar

 

7. Copy jsp files from Spectrum

  • su -
  • mv /opt/CABIINSTALL/sap_bobj/tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.UdmCAFApp/web/jsp/runReport.jsp /tmp/
  • mv /opt/CABIINSTALL/sap_bobj/tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.UdmCAFApp/web/jsp/listParameters.jsp /tmp/
  • scp root@fr0spectrum:/usr/Spectrum/tomcat/webapps/spectrum/repmgr/admin/runReport.jsp /opt/CABIINSTALL/sap_bobj/tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.UdmCAFApp/web/jsp/
  • scp root@fr0spectrum:/usr/Spectrum/tomcat/webapps/spectrum/repmgr/admin/listParameters.jsp /opt/CABIINSTALL/sap_bobj/tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.UdmCAFApp/web/jsp/
  • chown root:root /opt/CABIINSTALL/sap_bobj/tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.UdmCAFApp/web/jsp/runReport.jsp
  • chown root:root /opt/CABIINSTALL/sap_bobj/tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.UdmCAFApp/web/jsp/listParameters.jsp
  • chmod 644 /opt/CABIINSTALL/sap_bobj/tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.UdmCAFApp/web/jsp/listParameters.jsp
  • chmod 644 /opt/CABIINSTALL/sap_bobj/tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.UdmCAFApp/web/jsp/runReport.jsp

 

 

8.  Restart CABI Tomcat server :

su - cabiuser

/opt/CABIINSTALL/sap_bobj/tomcatstartup.sh

 

9. Connect to http://fr0cabi:8080/BOE/BI  and test again the reporting module that should be ok right now.

 

Keep cool and take a deep breath ^_^

 

Hope that can help you !!!

Statistics
0 Favorited
2 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

Jun 01, 2016 01:41 AM

I found a little mistake in the steps above, i.e. INSTALLATION step 2. "chown -G root cabiuser" command. This command is wrong, it should be "usermod  -G root cabiuser". This command is to add 'cabiuser' user to 'root' group. Failing to run this command can lead to problem that is reports launch on BI LaunchPad yield a blank "loading..." tab (no reports are generated). Please check the TEC1189513 for details.

Mar 09, 2016 03:58 AM

Hi Nagesh,

 

Yes that's right. I've got fatal internal error while trying to run a report of CABI. I found out also (RCIRAS0624). boe_crprocd[8684]: A subprocess in the processing serer was forced to terminate. (RCIRAS0622) inside of var/log/message

But I've found some solution after 15h of debugging non stop, I'll update a new doc asap.

 

Regards

Mar 08, 2016 11:59 PM

Hi PhucsiNGUYEN,

 

Wanted to check on the details on the issues which you running with CABI and Spectrum 10.1. So what I understand so far is you have encountered new sets of errors while following the steps in the documentation, which were working earlier for you. Is that correct?

 

Thanks,

Nagesh

 

Mar 06, 2016 04:56 PM

CABI is really a nightmare

Mar 04, 2016 08:27 PM

I have Red Hat 6.6 and I would want to say with to do a downgrade manually is from rpm files.

 

Several customers in Chile dont have Red Hat Subscription because is not necessary when its servers dont have internet access.

 

I had to make the downgrade from rpm files, one for one, with several errors and library conflicts that I could fix.  (Finally you must downgrade only the LibXext and libXext-devel (I686 and x86_64) libraries with rpm -Uvh --oldpackage option.

 

When you install CABI 4.1 SP3 in Red Hat 6.6 in my case, it is finished successfully but the state of Crystal Report Application Server is "Failed".

 

If you check the /var/log/messages file you will can see these errors

 

Failed to create CrystalReports.AgentOptions. Please make sure DTSAgent.dll is installed. Also, make sure that DTSAgent.dll is registered as an in-process COM server by running the following on the command line: 'regsvr32.exe DTSAgent.dll

 

Mar  4 12:52:52 RHEL6 boe_crprocd[3438]: A subprocess in the processing serer was forced to terminate. (RCIRAS0622)

Mar  4 12:52:59 RHEL6 boe_crprocd[6714]: The function PEOpenEngineEx failed. Reason:  Crystal Reports: Print Engine Error.

Mar  4 12:52:59 RHEL6 boe_crprocd[3438]: Error in the report processing unit. (RCIRAS0624)

 

It is produced because the CABI registration files are lost with the downgrade.

 

To fix it is necessary reinstall the product with option "Repair" or running the SAP script registry_repair_script40.tar (SAP Account is required)

Mar 04, 2016 06:55 PM

Hi,

Following link can be helpful to you : http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec1388328.aspx

 

I have never do that kind of downgrading task without rhn_register activated.

 

What do you mean by downgrade manualy ? using rpm file ? That would be a huge effort.

 

Which is the version of your RHEL ?

Mar 03, 2016 01:24 PM

PhucsiNGUYEN

 

In the Step:

 

Run following command (your cabi server should have internet access or a local repo of redhat)  to resolve error RCIRAS0603.

  • yum -y downgrade libX{11,11-common,11-devel,cursor,ext,ext-devel}

 

What files muat I downgrade if I am not registered to Red Hat Subscription Management?

 

If I try to downgrade LibX11manually I receive several libraries conflicts.

 

If I run the line directly I receive:

 

Only Upgrade available on package: libX11-1.6.0-2.2.el6.i686

Only Upgrade available on package: libX11-1.6.0-2.2.el6.x86_64

Only Upgrade available on package: libX11-common-1.6.0-2.2.el6.noarch

Only Upgrade available on package: libX11-devel-1.6.0-2.2.el6.x86_64

Only Upgrade available on package: libXcursor-1.1.14-2.1.el6.i686

Only Upgrade available on package: libXcursor-1.1.14-2.1.el6.x86_64

Only Upgrade available on package: libXext-1.3.2-2.1.el6.i686

Only Upgrade available on package: libXext-1.3.2-2.1.el6.x86_64

Only Upgrade available on package: libXext-devel-1.3.2-2.1.el6.i686

Only Upgrade available on package: libXext-devel-1.3.2-2.1.el6.x86_64

 

did you try to downgrade these packets manually?

Mar 03, 2016 12:36 PM

Hello,

 

This documentation doesn't work anymore for Spectrum 10.1.

 

I got new errors, am trying to debug CABI with less hope.

 

Regards

Jan 22, 2016 09:56 AM

Hello,

 

Yes, you must apply the patch before.

 

 

Regards

Jan 18, 2016 01:30 PM

Hi PhucsiNGUYEN,

 

I'm trying follow your examples, but in step 7, I have no these files in my OneClick server. Why? Because I need apply the patch before?

 

Thanks in advance,

Dec 20, 2015 09:21 AM

This is great! Thanks so much..

I will point our docs team to this as well

 

Regards,

Kiran Diwakar

Dec 15, 2015 10:09 AM

Thank you for sharing this with the community PhucsiNGUYEN   . I will feature this in my 'what you may have missed' blog series.

Dec 12, 2015 06:21 AM

Nice tutorial! Thank you for posting it!

Dec 08, 2015 10:36 AM

Thank you very much !
I have followed your steps and now CABI4 integration with Spectrum10 works for me.

 

Arnaud

Related Entries and Links

No Related Resource entered.