DX NetOps Manager

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
1 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.