Version 12 (modified by yxin, 11 years ago)

--

DN:

ORCA Master: go-m1: 192.168.201.11

ORCA VM Inventory go-1: 192.168.201.12 go-2: 192.168.201.14 go-3: 192.168.201.15 go-4: 192.168.201.16

ORCA Storage: go-s1: 192.168.201.20

Installation Notes

* KVM

  • Master: double hit 'PrtScr?'
  • Rack: 6
  • Port mapping
    • 1: ubuntu-1
    • 2: ubuntu-2
    • 16: BEN GW:

* PXE install CENTOS

  • Software RAID and partition on 'go-m1' (2x 500G HD)
    • softraid: /boot,/LVM VG
    • LVM group (VGos) -> LV(/,/home,/opt,/var)
  • Software RAID and partition on 'go-1' (2x 80G HD)
    • soft RAID: /boot,/swap,/LVM
    • LVM group (VGos) -> LV(/,/home,/opt,/var)
  • Partition on 'go-1,2,3,4) (1x80G HD)
    • Partition: / (5G),/swap (70G),/LVM (2G)

* Network config:

  • /etc/sysconfig/network-scripts/ (static IP)
    • ifcfg-eth0 (172.x),ifcfg-eth1(192.168.201.x)
  • /etc/sysconfig/network
    • HOSTNAME=go-1.renci.ben
  • Go to DNS (https://gw.ben.renci.org:10000/) to change the DN and reload the zone file.

* OPENVPN to BEN GW (gw.ben.renci.org)

  • Create an LDAP account (ldap.ben.renci.org)
  • Ask Ilia for your credential package including cert and key
  • Use OPENVPN client
  • Mac users can use Tunnelblick (opensource)

* LDAP authentication:

  • Install libnss_ldap if not existing.
  • Copy following files to /etc:
    • ldap.conf nsswitch.conf resolv.conf
    • renci_ca.pem sudoers
    • /etc/pam.d/common.*

ORCA Installation

* Tools

  • /home/orca
  • ./environment
    • export ANT_HOME=/home/orca/software/apache-ant-1.7.1/
    • export MV2_HOME=/home/orca/software/apache-maven-2.1.0-M1/
    • export MV2_REPO=/home/orca/.m2/repository
    • export JAVA_HOME=/usr/local/java
    • export JRE_HOME=/usr/local/java
    • export PATH=$JAVA_HOME/bin:$MV2_HOME/bin:$ANT_HOME/bin:$PATH
    • export ORCA_HOME=/home/orca/svn/orca/core/trunk
    • export ORCA_DB_USER=orca
    • export ORCA_DB_USER_PASSWORD=
    • export ORCA_DB_NAME=orca
    • export HOST=localhost
    • export ORCA_DB_SERVER=localhost
    • export ORCA_WEB=$ORCA_HOME/portal/webapp
  • JAVA 1.5.0_16
  • Ant 1.7.1
  • Maven 2.1.0-M1
  • maven-ant-tasks-2.0.9.jar into $ANT_HOME/lib
  • yum install mysql_server
    • mysql -u root
    • mysql> grant all privileges on orca.* to 'orca'@'localhost' identified by ;
    • mysql> quit
    • mysql -u orca
    • mysql> create database orca;
    • mysql> quit
    • mysql -u orca -p -h localhost < $ORCA_HOME/schema/mysql/full.schema.sql
    • mysql -u orca -p -h localhost < $ORCA_HOME/schema/mysql/full.data.sql

* Installing ORCA

  • mvn deploy (or ant build)
    • orca/tools/build/trunk
    • orca/pom/
    • orca/dependencies/trunk
    • orca/util/trunk
    • orca/tools/axis2/trunk
    • orca/tools/authmodule/trunk
    • orca/tools/axis2repository/trunk
    • orca/tools/vservlet/trunk
    • orca/log/logger/trunk
    • orca/core/trunk
    • orca/nodeagent/trunk
    • orca/nodeagenthost/trunk
    • orca/drivers/trunk
    • orca/manage/boot/trunk
    • orca/manage/standard/trunk
    • orca/tests/core/trunk
    • orca/tests/unit/trunk
    • orca/tools/imagemanager/trunk
    • orca/handlers/standard/trunk
    • orca/controllers/sge/trunk
    • orca/controllers/jaws/trunk
      • Note1: You may need to copy some missing artifacts to ~/.m2/repository
      • Note2: Try to follow this sequence because of the dependency
  • mvn install
    • tools/config/trunk
      • change ./ant/build.properties: tools/build version is 1.0 instead of 1.0.snapshot
    • ant security.create.admin.config
      • axis2 configuration stored in: /home/orca/svn/orca/tools/config/trunk/runtime/axis2/admin.axis2.xml
  • Generate a public/private key pair for the Orca administrator