Task #110
Install Centos 4.8
Status: | Closed - End of life cycle | Start date: | June 15, 2010 | |
---|---|---|---|---|
Priority: | Normal | Due date: | July 26, 2010 | |
Assignee: | Abu Bakar Mohamed Sahabanali | % Done: | 100% | |
Category: | Office Task | Spent time: | - | |
Target version: | - |
Description
Need to reformat the Centos 5.4 and replace it with Centos 4.8 because Broadvision not support Centos version 5 and above.
History
#1 Updated by Ahmad Hazri over 14 years ago
Follow how to install Oracle 10g from following sites
http://www.oracledba.org/inst/install10g.html <<-- this is for CentOS 4
http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/ <<---- This is for CentOS 5, but some steps are almost the same and good to follow.
#2 Updated by Abu Bakar Mohamed Sahabanali over 14 years ago
- Status changed from New - Begin Life Cycle to Development / Work In Progress
- % Done changed from 0 to 10
Centos 4.8 installation complete. Need to install some RPM file as the requirement to install Oracle database.
#3 Updated by Abu Bakar Mohamed Sahabanali over 14 years ago
Oracle 10g installation complete. Start to install Broadvision 8.1 on centos but got permission problem.(different group name)
#4 Updated by Ahmad Hazri over 14 years ago
- Category set to Office Task
Now try install with user = Oracle.
Make sure Oracle DB & listener is up before proceed.
#5 Updated by Abu Bakar Mohamed Sahabanali over 14 years ago
- % Done changed from 10 to 30
Broadvision 8.1 complete.
OPERATING SYSTEM : CENTOS 4.8
MACHINE IP : 219.95.244.226
CENTOS USER : oracle
CENTOS PASSWD : oracle123
ORACLE VERSION 10g
ORACLE SID : db102
ORACLE PASSWD : password
BROADVISION 8.1
BROADVISION SID : bvuser
BROADVISION PASSWD : password
#Now working on clustering.
#6 Updated by Ahmad Hazri over 14 years ago
Since we gonna match with Demo1 server;
Uninstall the current BV then change some parameter as follow
Cluster no = set to 10 instances
service = from C3, change to ibsdemo
#7 Updated by Abu Bakar Mohamed Sahabanali about 14 years ago
- % Done changed from 30 to 60
CLUSTERING JBOSS WITH BROADVISION PORTAL
a ) Set the command environment
$BV1TO1/bin/setEnv.sh
b ) Creating the JBoss cluster configuration
$BV1TO1/JBoss/server/bv_framework/jb_cluster.sh n <-- n= no of instance to create
c ) Reconfiguring broadvision portal
$BV1TO1_VAR/appConfig/bv_framework/bv-config.xml <-- add all information for every instance created
c1) Enable clustering with,
$BV1TO1/bin/bvtool set-param -name bv.core.common.IS_CLUSTER -value true
c2) Deploy the changes to the application platform
$BV1TO1/bin/bvtool deploy-config -config bv_framework -no-res
d ) Enabling EJB cluster
$/opt/BV1TO1/JBoss/server/bv_framework0/deploy
d1) Extract
jar xvf bvf.ear bv_svc_ejb.jar
d2) Then extract
jar xvf bv_svc_ejb.jar META-INF/jboss.xml
d3) Open META-INF/jboss.xml in a text editor and add <clustered>true</clustered> parameter to every 'session' and
'entity bean' definition in the 'enterprise-beans' group.
d4) Put the edited META-INF/jboss.xml file back into bv_svc_ejb.jar:
jar uvf bv_svc_ejb.jar META-INF/jboss.xml
d5) Put bv_svc_ejb.jar back into bvf.ear:
jar uvf bvf.ear bv_svc_ejb.jar
d6) Remove all the temporary extracted files,
bv_svc_ejb.jar and META-INF/jboss.xml
d7) Copy the modified bvf.ear to the other clustered JBoss instance’s deploy directory
cp bvf.ear $/opt/BV1TO1/JBoss/server/app_config1/deploy
- All the instance can RUN properly
#8 Updated by Abu Bakar Mohamed Sahabanali about 14 years ago
Create username and password to all user that will use the new server. Later will be informed to them their username and password.
#9 Updated by Abu Bakar Mohamed Sahabanali about 14 years ago
- % Done changed from 60 to 80
All the instance for BV run properly. Just the instance cannot recognize each other but, still can be used. The user now test it to make sure BV works properly although with clustering. Then this task will be closed.
#10 Updated by Abu Bakar Mohamed Sahabanali about 14 years ago
- Due date set to July 26, 2010
Reinstall back the new server with Oracle Linux 4.5 to replace CentOS 4.8. Because Oracle Linux more stable than CentOS for BroadVision 8.1 installation.
#11 Updated by Abu Bakar Mohamed Sahabanali about 14 years ago
1. The Oracle Linux 4.5 installation done.
2. Oracle 10g and Broadvision 8.1 also installed and can run properly with 4 instance after few lines of codes added
in run.sh file --> /opt/BV1TO1/JBoss/server/Bv_framework0/run.sh
if
[ "`uname`" = "Linux" ]; then
JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
fi
3. The error caused by the conflict between IPv4 and IPv6, where we need to use IPv4.
4. After add the line in the run.sh file, the cluster member can recognize each other.
5. The latest error that we are facing now is, the cluster member cannot recognize each other if we use the Internal
IP or Public IP where it's only working if we using the localhost IP.
#Now waiting for some suggestion from the BV customer support staff to solve this issue.
#12 Updated by Abu Bakar Mohamed Sahabanali about 14 years ago
- Status changed from Development / Work In Progress to Work Completed-End life cycle
- % Done changed from 80 to 100
1. The localhost IP issue resolved with add the IP (127.0.0.1)in bv-config.xml
2. The /etc/hosts file should be edit like this :
- Do not remove the following line, or various programs # that require network functionality will fail.
- 127.0.0.1 demo4.penril.net demo4 localhost.localdomain localhost*
- Now Darsy working on it to upgrade the database.
#13 Updated by Tan Lee Yong about 14 years ago
- Status changed from Work Completed-End life cycle to Closed - End of life cycle