Wednesday, April 15, 2015

WebSphere Portal - Google sitemap.xml

Sitemap XML feed could be accessed from Search sitemap portlet.


  1. Find the Search Sitemap in Portal Administration > Portlets
  2. Click configure
    1. Set EXPORT to true. 
    2. If there is no EXPORT variable, add it (key=EXPORT, value=true).
  3. Restart Portal or just the PA_Search_Center application from the WAS Integration Solution Console.
  4. Open a page with Search Sitemap, and you should see a button to download sitemap.xml.
  5. You can this use in Google Webmasters Tools as sitemap.xml feed.
  6. To find out url use browser inspector, or just see downloaded sitemap.xml url

http://<yourdomain>/wps/PA_SearchSitemapPort/exportServlet?lastMod=&priority=&frequency=&topLevelListPref=Z6_CGAH47L0004820IDBHD79M00I6&showLvl1=no&showLocales=no&localeListPref=cs

Now you can  disable export again (EXPORT is only about frontend functionality), URL should works in both situation (EXPORT=true or EXPORT=false).

Tuesday, January 27, 2015

IBM Installation Manager v1.8.1 / RedHat CentOS 6 get JVM terminated. Exit code=1

Error  JVM terminated. Exit code=1

We are getting an error JVM terminated. Exit code=1 after few steps during installing update WebSphere Application Server 8.0.0.8.


Solution

Our solution was modifiing this config Eclipse files:

/opt/IBM/InstallationManager/eclipse/IBMIM.ini
/opt/IBM/InstallationManager/eclipse/configuration/config.ini

and we added in to the first file following parameter :

-Dorg.eclipse.swt.internal.gtk.cairoGraphics=false

and in to the secound file:


org.eclipse.swt.internal.gtk.cairoGraphics=false



Wednesday, December 12, 2012

Install Quickr 8.5 for WPS - Part 3 (HTTP and LDAP)

Now I will install HTTP server to access Quickr over port 80/443 and configure LDAP (Domino LDAP)

I will use Apache HTTP server from OS installation media

  • My CD is mounted under  /media/RHEL_5.8\ x86_64\ DVD/ folder.
    • Navigate into the folder #cd /media/RHEL_5.8\ x86_64\ DVD/Server and install httpd rpm
    • #rpm -Uvh  httpd-2.2.3-63.el5.x86_64.rpm
    • After installation run #service httpd start
    • Test port 80 - type your server IP in to browser. You should get apache welcome page 
  • No it is time to install WAS plug-in which is used for communication betwen WAS and HTTP server
  • Navigate to Quicker Installation Media IL-7.
    • #cd /opt/install/IL-7/q850_extras/plugin
    • #./install
    • Installation wizard will be opened in a graphic mode
      • Click NEXT
      • Accept license NEXT
      • System prerequisites check failed ... do not worry click NEXT
      • Select Apache Web Server V2 and click NEXT
      • Select local option
      • /opt/IBM/Quickr/Plugins click NEXT
      • /opt/IBM/Quickr/AppServer and click NEXT
      • /etc/httpd/conf/httpd.conf and port 80 - click NEXT
      • leave webserver1 and click NEXT
      • Leave plugin-cfg.xml in default ... NEXT
      • Check summary and click NEXT, NEXT
      • Install will be finished with status: Partial Success. We must configure WAS to use  HTTP server only.
  • Install FP for plugin http://www-01.ibm.com/support/docview.wss?uid=swg24031962
  • Configure HTTP server in WAS console
    • Go to https://<IP>:10041/admin and login
    • Navigate to Servers>Web Servers and click NEW
    • Step 1 - fill name, type, hostname and os. Click NEXT
    • Step 2 - Click NEXT
    • Step 3 - Set port 80 and /opt/IBM/Quickr/Plugins and select All. Click NEXT
    • Step 4 - click FINISH
    • After server is created, click SAVE link abow Web Servers table
  • Edit httpd.conf as and chage last 2 lines to have module version ap22 and not ap20
    • LoadModule was_ap22_module /opt/IBM/Quickr/Plugins/bin/64bits/mod_was_ap22_http.so
    • WebSpherePluginConfig /opt/IBM/Quickr/Plugins/config/webserver1/plugin-cfg.xml
    • #service httpd start
  • Enable SSL
    • install  #rpm -Uvh distcache-1.4.5-14.1.x86_64.rpm
    • install  #rpm -Uvh mod_ssl-2.2.3-63.el5.x86_64.rpm
  • Edit /etc/httpd/conf/ssl.conf and find line <VirtualHost _default_:443> and add under
    •  RewriteEngine On
    •  RewriteRule ^/$ /places/login [R]
  • Edit /etc/httpd/conf/httpd.conf add this lines on the end of the file
AllowEncodedSlashes On

NameVirtualHost *:443
NameVirtualHost *:80

<VirtualHost *:80>
        ServerName examlpe.ibm.com
        ErrorLog logs/examlpe.ibm.com-error_log
        CustomLog logs/examlpe.ibm.com-access_log common
        RewriteEngine On
        RewriteCond %{HTTPS} off
        RewriteRule (.*) https://%{HTTP_HOST}/places/login
</VirtualHost>

LoadModule was_ap22_module /opt/IBM/Quickr/Plugins/bin/64bits/mod_was_ap22_http.so
WebSpherePluginConfig /opt/IBM/Quickr/Plugins/config/webserver1/plugin-cfg.xml


  • Configure Domino LDAP
    • goto # cd /opt/IBM/Quickr/wp_profile/PortalServer/wizard
    • start graphic wizard #./configwizard.sh
    • you will need only actual was admin account, LDAP bind account, hostname of LDAP, LDAP type is Domino 7 even we have 8.5.2.
    • I configured LDAP as federated. All other options could be  left in defaults.
    • Restart WebSphere_Portal

Thursday, November 29, 2012

Install Quickr 8.5 for WPS - Part 2

In this post, I would like to show you how to update Quickr installation before we will configure it.

Most important link for this part is:

Update strategy for IBM Lotus Quickr 8.5 for WebSphere Portal
http://www-01.ibm.com/support/docview.wss?uid=swg21434121

In my case, I am installing on CentOS, I had a problem to run an updateinstaller for WebSphere SW.
The problem is, that install.sh script check OS version from /etc/redhat-release file.
So there are two options how to go around:

  • Change redhat-release file to contain a valid RHEL release information 
    • Red Hat Enterprise Linux Server release 5.8 (Tikanga)
or
  • Change the install script ... comment out line where version variable is set and add new one and set it to value 5. 
After this I was able to run ./install of WebSphere update installer.

Keep in mind, you must add password for wasadmin and portaladmin in to wkplc.properties file!


During installation of Portal FP I get an error because this file has no execute
So after I started installation a changed file as follow. It is important to change it after installer is started

Run commands in this order
./updatePortal.sh -install -installDir "/opt/IBM/Quickr/PortalServer/" -fixpack -fixpackDir "/opt/IBM/Quickr/PortalServer/update/fixpacks/" -fixpackID WP_PTF_6106

& in new terminal run this to change access:


# ls -al /opt/IBM/Quickr/PortalServer/version/actions/PUIAction.sh
-rw-r--r-- 1 root root 1457 Nov 29 16:07 /opt/IBM/Quickr/PortalServer/version/actions/PUIAction.sh

# chmod +x /opt/IBM/Quickr/PortalServer/version/actions/PUIAction.sh


 # ls -al /opt/IBM/Quickr/PortalServer/version/actions/PUIAction.sh
-rwxr-xr-x 1 root root 1457 Nov 29 16:11 /opt/IBM/Quickr/PortalServer/version/actions/PUIAction.sh

! The same thing I did during Quickr CF8 ... because there was exactly the same problem.


After portal FP installation, there is a error every time you run a portalupdateinstaller or a WPVersionInfo.sh.
There is a typo in this files:
/opt/IBM/Quickr/PortalServer/version/prereq.wcm.webdav.component
/opt/IBM/Quickr/PortalServer/wcm/prereq.wcm.fp615/version/prereq.wcm.webdav.component


build-version="Build CF51 51.0.4"prereq.wcm.webdav"
Correct one is as a follow:
build-version="Build CF51 51.0.4" name="prereq.wcm.webdav"


After two day of work it is done ... BLUE HELL?!

Friday, November 23, 2012

Install Quickr 8.5 for WPS - Part 1

Useful links - Quickr 8.5  for WebSphere Portal on CentOS 64bit

First some useful links:
I downloaded following installation packages: 
CZHX4MLIBM Lotus Quickr 8.5 for WebSphere Portal Install (Setup) ML
Optional: Required if installing optional product IBM Lotus Quickr 8.5
CZHY0MLIBM Lotus Quickr 8.5 for WebSphere Portal - WP 1 of 3 (A-3, IL-3, W-3, ZL-3) ML
Optional: Required if installing optional product IBM Lotus Quickr 8.5
CZHY1MLIBM Lotus Quickr 8.5 for WebSphere Portal - WP 2 of 3 (A-4, IL-4, W-4, ZL-4) ML
Optional: Required if installing optional product IBM Lotus Quickr 8.5
CZHY2MLIBM Lotus Quickr 8.5 for WebSphere Portal - WP 3 of 3 (A-5, IL-5, W-5, ZL-5) ML
Optional: Required if installing optional product IBM Lotus Quickr 8.5
CZHY3MLIBM Lotus Quickr Connectors 8.5 Multiplatform Multilingual (A-6, IL-6, W-6, ZL-6)
Optional: Required if installing optional product IBM Lotus Quickr 8.5. Required for installation on all platforms but supported only on Windows
CZHY6MLIBM Lotus Quickr 8.5 for WebSphere Portal - WebSphere Application Server Network Deployment for Linux 64-bit (IL-1) Multilingual
Optional: Required if installing optional product IBM Lotus Quickr 8.5
CZHY7MLIBM Lotus Quickr 8.5 for WebSphere Portal - DB2 Enterprise Server Edition for Linux 64-bit (IL-2) ML
Optional: Required if installing optional product IBM Lotus Quickr 8.5
CZHY8MLIBM Lotus Quickr 8.5 for WebSphere Portal WAS Extras Linux 64-bit (IL-7) ML
Optional: Required if installing optional product IBM Lotus Quickr 8.5


  • Installation scenario is standalone server (all-in-one) 
  • My configuration is: 
    • 5GB RAM
    • 100HDD
    • 2 CPU
    • VMware platform
    • CentOS release 5.8 (Final) 64bit / it is not supported by IBM ... but who care? (May be only IBM support will)
    • Domino as LDAP / already installed on different server


OS installation and Quickr pre-installation tasks

  1. Install OS with gui (Gnome/KDE) make your own choose and
  2. disable SELinux + Firewall during installation process.
  3. Log in as root and install vmware tools (if you are on vmware platform)
  4. You will need a libstdc++.so.5 to install DB2 so run as root 
    1. #yum install compat-libstdc++-33
  5. Update your OS installation - run as root:
    1. #yum update
  6. change limits - run as root
    1. #ulimit -n 40000
    2. #vim /etc/security/limits.conf
      1. add line  "*                -       nofile          40000"
      2. and save the file by ESC + :x
  7. Try to ping your FQDN ... if its not resolve rout name edit /etc/hosts file and add line with your IP and your FQDN 
    1. Note: Use #ifconfig command to find your IP
  8. Create installation folder structure to prevent installer asking for installation CDs
    1. #mkdir -p /opt/install/IL-Setup
    2. #mkdir /opt/install/IL-1
    3. repeat  command 2. to create IL-2 to IL-7
    4. Extract each installation package into the correct folder you just created.
      1. Note: See the table on the top of this page 
      2. Use #unzip <filename.zip> to extract each package
      3. Note: To install zip/unzip run #yum install unzip

Run quicker Installer

  1. Run as root user
    1. # cd /opt/install/IL-Setup/
    2. # ./install.sh -console
      1. I am running installer in text mode so adding parameter -console
    3. Installer will be started in console mode. Here is what I select during installation
      1. English
      2. Accept Licence
      3. Single Server
      4. DB2
      5. /opt/IBM/Quickr
      6. quickernode
      7. my FQDN
      8. quikradm
      9. my password
-------------------------------------------------------------------------------
IBM Lotus Quickr is ready to install.

To change any settings, choose Back. If you are satisfied with the settings
choose Next to begin copying files.

Products to install:

IBM Lotus Quickr 8.5 installation location:

/opt/IBM/Quickr

Installation details:

Host name: extranet.mydomain.com

Node name:  quickernode

User ID: quikradm

IBM Lotus Quickr 8.5 profile location:

/opt/IBM/Quickr/wp_profile

Total size on disk: 8 GB

If installer failed and you will run installer again, you must first delete all lines from /root/vpd.properties and delete all from /opt/IBM. Do it only if you do NOT have installed any other IBM SW on the server.


-------------------------------------------------------------------------------
Installation was successful.

IBM Lotus Quickr is now installed on your computer. Installation and
configuration details can be found in /opt/IBM/Quickr/PortalServer/log.

The IBM Lotus Quickr page is now available at
http://extranet.praha1.cz:10040/lotus/quickr.

Installation details:

IBM Lotus Quickr 8.5 installation location:

/opt/IBM/Quickr

Host name: extranet.praha1.cz

Node name:  quickrnode

User ID: quikradm

IBM Lotus Quickr 8.5 profile location:

/opt/IBM/Quickr/wp_profile

Total size on disk: 8 GB







Tuesday, June 12, 2012

Startup Script for IHS on RHEL

Today I'm going to show you how to setup IHS to run after boot/reboot on RHEL.


  • First you need to know what is your default runtime level. To determinate default level see your inittab file:
  • [root@ic ~]# less /etc/inittab
  • find line start with id:< some number >:initdefault:
  • In my case I have level 3 as default:
  • id:3:initdefault:
  • As root, create a new file ihs in  /etc/init.d/
  • [root@ic ~]# vim /etc/init.d/ihs 



#!/bin/bash
# SERVICENAME should match this filename
SERVICENAME=$(basename $0)
LOCKFILE="/var/lock/subsys/${SERVICENAME}"
APACHECTL=/opt/IBM/HTTPServer/bin/apachectl

# The next lines are for chkconfig on RedHat systems.
# chkconfig: 2345 98 02
# description: Starts and stops IHS 

case "$1" in
  start)
    touch $LOCKFILE 
    ;;

  stop)
    rm -f $LOCKFILE
    ;;

  *)
    echo "Usage: $0 {start|stop|status|restart}"
    exit 1
    ;;
esac

$APACHECTL "$@"

  • Save file and add executable mark to be able to run the script:
  • [root@ic ~]# chmod u+x /etc/init.d/ihs
  • Now add new service and set up if to run on level 3
  • [root@ic ~]# chkconfig --add ihs
  • [root@ic ~]# chkconfig --level 3 ihs on




Monday, May 28, 2012

IBM Connection 3.0.1.1 update to CR1

See my notes from installing Cumulative Refreshe 1  (CR1)

I did not make any changes in themes or other LC files so I do not need to backup them, before installation.

IBM page with CR1: http://www-304.ibm.com/support/docview.wss?uid=swg21595154&myns=swglotus&mynp=OCSSYGQH&mync=E

  1. It is good idea to make a shapshot of your servers (I made snapshots for my DB and WAS server)
  2. I started DB server and DMGR ... it must be started during installation
  3. I used latest Update installer Download Update Installer 3.0.1.x-IC-Multi-UPDI-20120403 (downloaded from IBM FixCentral).
  4. Ok, after you download Update Installer, delete or backup /opt/IBM/LotusConnections/updateInstaller and extract updateinstaller in  /opt/IBM/LotusConnections/ - it will make folder updateinstaller again. 
  5. Download all (depends what parts of LC did you install) CR jar/zip files in to /opt/IBM/LotusConnections/updateInstaller/fixes. If there are any zip, extract them.
  6. To run /opt/IBM/LotusConnections/updateInstaller/updateWizard.sh add execute permissnion on this file
    1. [root@ic ~]# cd /opt/IBM/LotusConnections/updateInstaller
    2. [root@ic updateInstaller]# chmod +x updateWizard.sh
    3. Make sure you have xserver started - you will be able to run graphic installation wizard.
    4. Setup was home path: [root@ic updateInstaller]# cd /opt/IBM/WebSphere/AppServer/bin
    5. Run: [root@ic bin]#. ./setupCmdLine.sh
    6. [root@ic updateInstaller]# cd -
    7. [root@ic updateInstaller]# ./updateWizard.sh
  7. Update Wizard for Lotus Connections 3.0.1.1 will be launched. 
    1. Click NEXT
    2. Select Install updates and make sure there is path in to folder with jar files sfom step 5.
    3. Click NEXT, on Update Selection page, depends on your installation, select what you want to install (In my case wizard selected all). Click NEXT.
    4. I selected "I have not made any changes to IBM Connections application files." >> OK
    5. Fill in your DMGR admin account and password. Click NEXT and wait for Validation success >> Click OK
    6. Click INSTALL and go with your dog for a walk ... it will take some time to install.
    7. After successful update installation start all nodes and node agents and perform a full synchronization to push the update to all nodes.