Saturday, March 31, 2012

IBM Connections 3.0.1 on RHEL - how to install - 2. Application Server

In this post I will demonstrate how to prepare a server for running WebSphere Application server as base runtime for IBM Connections.


You will need:
installation packages:
  • C1G35ML.tar.gz  WebSphere Application Server Network Deployment V7.0 for Linux on x86-64 bit
  • C1G33ML.tar.gz WebSphere Application Server Network Deployment Supplements V7.0 for Linux on x86-64 bit (1 of 2)​
  • C1G34ML.tar.gz WebSphere Application Server Network Deployment Supplements V7.0 for Linux on x86-64 bit (2 of 2)​
Oupsss!!!  I just tried to install FixPack 19 for IHS and Plugin and an UpdateInstaller is unable to install FP19 for 64bit - wrong architecture is in a log! when I run /opt/IBM/IBMHTTPSrv/bin/versionInfo.sh and it returned me it is 32 bit version ... but in download document they have 64bit.   After small investigation I found, there is mistake in download document! 
64bit WAS Supplemental 1 and 2 are C1G36ML and  C1G37ML and not C1G33ML and C1G34ML
I sent a feedback to IBM so it should be correct soon.
and already installed RHEL 5.4 server with graphic environment.

WAS Installation pre-requisites 

  1. After standard OS installation check hostname if you can ping by FQDN.
  2. Disable SELinux and Firewall!
  3. [root@ic ~]#ping ic.ys.cz   - should works
  4. Edit hosts table
    1. [root@ic ~]#vim /etc/hosts
    2. Add line 192.168.50.125 ic.ys.cz ic
  5. Check umask R
    1. run command: umask
    2. if there is 0022 it is OK, else run command: umask 022
  6. Set the ulimit on your Linux command shells by adding the command to your shell profile script. The shell profile script is usually found under your home directory:
    1. [root@ic ~]# cd ~
    2. [root@ic ~]# vim .bashrc
    3. Enter line: ulimit -n 20480 
    4. Lets save and exit file, and set ulimit to current session too. Run command: 
    5. [root@ic ~]#ulimit -n 20480
    6. You can now check values by command: 
    7. [root@ic ~]# ulimit -a
      core file size (blocks, -c) 0
      data seg size (kbytes, -d) unlimited
      scheduling priority (-e) 0
      file size (blocks, -f) unlimited
      pending signals (-i) 40960
      max locked memory (kbytes, -l) 32
      max memory size (kbytes, -m) unlimited
      open files (-n) 20480
      pipe size (512 bytes, -p) 8
      POSIX message queues (bytes, -q) 819200
      real-time priority (-r) 0
      stack size (kbytes, -s) 10240
      cpu time (seconds, -t) unlimited
      max user processes (-u) 40960
      virtual memory (kbytes, -v) unlimited
      file locks (-x) unlimited
  7. Create installation directory under opt directory
    1. [root@ic ~]# mkdir -p /opt/install/WAS
    2. [root@ic ~]# mkdir /opt/install/WASSupp1
    3. [root@ic ~]# mkdir /opt/install /WASSupp2
    4. [root@ic ~]# chmod 777 /opt/install/
  8. OPTIONAL - If you run in vmware infrastructure install vmware tools
    1. Mount vmware tools image and install it
    2. [root@ic media]# mkdir -p /media/cdrom
      [root@ic media]# mount /dev/hdc /media/cdrom
      [root@ic install]# cd /opt/install/
      [root@ic install]# tar xvzf  /media/cdrom VMwareTools-8.3.7-341836.tar.gz
      [root@ic install]# cd vmware-tools-distrib/
      [root@ic vmware-tools-distrib]# ./vmware-install.pl
  9. Leave all options in default during installation wizard and run  [root@ic vmware-tools-distrib]# reboot
  10. Install all required rpms from installation DVD or other source. See Preparing Red Hat Enterprise Linux 5 for installation http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.installation.nd.doc/info/ae/ae/tins_linuxsetup_rhel5.html
  11. OPTIONAL - Configure yum to use DVD as a source of packages
    1. [root@ic ~]#  mkdir -p /media/cdrom
    2. [root@ic ~]#  mkdir -p /opt/RHELrepo
    3. [root@ic ~]#  chmod 777 -R /opt/RHELrepo
    4. [root@ic ~]#  cd /media/cdrom/Server
    5. [root@ic Server]#  rpm -ihv createrepo-0.4.4-2.fc6.noarch.rpm
    6. [root@ic RHELrepo]  cd /opt/RHELrepo
    7. [root@ic RHELrepo]  createrepo -vpo /opt/RHELrepo /media/cdrom/Server
    8. [root@ic RHELrepo]  ln -s /media/cdrom/Server Server
    9. Then create a file /etc/yum.repos.d/DVD.repo with the following content:
    10. [dvd]
      name=RHEL4 DVD
      baseurl=file:///opt/RHELrepo
      enabled=1
      gpgcheck=0
    11. run
    12. [root@ic RHELrepo]  yum clean all
    13. [root@ic RHELrepo]  yum update
    14. and you are done, you can use yum to install required rpms without manual solving of dependencies.

WebSphere Application Server 7 installation

  1. Untar WAS installation package and run installer in graphic mode
    1. [root@ic ~]# cd /opt/install/WAS
    2. [root@ic ~]# tar xvfz C1G35ML.tar.gz
    3. [root@ic ~]# ./launchpad.sh
  2. Previous step will open Launchpad in browser window (your terminal must support X). Click on "Launch the installation wizard of WebSphere Application Server network Deployment".
    1. Click NEXT, Accept License > NEXT > NEXT > NEXT >
    2. in Product Installation location set /opt/IBM/WebSphere/AppServer > NEXT
    3. in WebSphere Application Server Environments select Cell option > NEXT
    4. in Enable Administrativ Security set
      1. User name: wasadmin
      2. User name: Pass4conn  > NEXT
    5. > NEXT
    6. in Installation Summary > NEXT
    7. Installation must finish with Success! > FINISH
    8. No you have installed WAS! 
In the next chapter we will install IHS and WebSphere Application Server Plug-in.

No comments:

Post a Comment