Prepare DB
Create Tablespace
CREATE TABLESPACE EBMS_USER_DATA
DATAFILE ‘/oradata/EBMS_USER_DATA.ORA’ SIZE 256M
DEFAULT STORAGE
(
INITIAL 16K
NEXT 16K
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 50
)
ONLINE;
CREATE TEMPORARY TABLESPACE EBMS_TEMPORARY_DATA
TEMPFILE ‘/oradata/EBMS_TEMPORARY_DATA.ORA’ SIZE 64M
EXTENT MANAGEMENT LOCAL;
Create User
CREATE USER ebms
IDENTIFIED BY pass
DEFAULT TABLESPACE EBMS_USER_DATA;
GRANT create session, create table, create sequence, create view
To ebms;
ALTER USER ebms
QUOTA UNLIMITED ON EBMS_USER_DATA;
Install SBM75
Unzip Zip File
cd /opt/sw/soa $JAVA_HOME/bin/jar xf SBM75130.zip cd SBM75130
Start Install Wizard
chmod u+x Install.sh ./Install.sh
Install location: /opt/sw/SBM75
Host name: sbmhost
Domain name: my.com
Username: ebms
Password: pass
Embedded Application Server (Pramati 5.0 SP4)
Or
JBoss EAP 4.3
EJB Server JNDI Port: 18026
Portal Server Http Port: 18793
Remove Ant Port: 18000
Portal URL: http://sbmhost.my.com:18793
Outgoing email server: smtp.my.com
Administrator email: me@my.com
BizLogic email: me@my.com
User Management: BusinessManager JDBC Realm
Database: Oracle 10g
Server host name: db.my.com
Port: 1525
SID: orcl
Username: ebms
Password: pass
Summary
Install location: /opt/sw/SBM75
Features: BusinessManager, Documentation
Total size: 533.2 MB
Copy license file
Copy license.xml to $SBM_HOME/conf directory.
Setup SBM75
cd $SBM_HOME/bin ./firststeps.sh OR ./setupSBM.sh -c all
Click Prepare Repository to setup repository database.
Start Servers
Add nohup and run as background processes to startup scripts
cd $SBM_HOME/pramati/server/bin vi startEjbServer.sh #For Pramati: nohup $SBM_JVM $VM_ARGS -node ejbServer -noshell & #For JBoss: nohup $SBM_HOME/jboss/bin/jbossrun.sh -c ejbServer -b sbmhost.my.com & vi startPortalServer.sh VM_ARGS="${VM_ARGS} -Djava.awt.headless=true" #For Pramati: nohup $SBM_JVM $VM_ARGS -node portalServer -noshell & #For JBoss: nohup $SBM_HOME/jboss/bin/jbossrun.sh -c portalServer -b sbmhost.my.com & cd $SBM_HOME/bin vi startBizLogicServer.sh #For Pramati: elif [ $APPSERVER_TYPE = pramati ]; then nohup $SBM_JVM -classpath $sbmcp com.savvion.sbm.bizlogic.client.BLMain -cmd start $* & #For JBoss: elif [ $APPSERVER_TYPE = jboss ]; then #$SBM_JVM $VM_ARGS -classpath $sbmcp com.savvion.sbm.bizlogic.client.BLMain -cmd start $* nohup $SBM_JVM $VM_ARGS -classpath $sbmcp com.savvion.sbm.bizlogic.client.BLMain -cmd start $* & vi startBizPulseServer.sh #For Pramati: elif [ "${APPSERVER_TYPE}" = "pramati" ]; then nohup $SBM_JVM -DCommand.ScriptName=startBizPulseServer.sh -classpath $sbmcp com.savvion.ejb.bizpulse.manager.BizPulseClient -start & #For JBoss: elif [ "${APPSERVER_TYPE}" = "jboss" ]; then #$SBM_JVM $VM_ARGS -classpath $sbmcp com.savvion.ejb.bizpulse.manager.BizPulseClient -start nohup $SBM_JVM $VM_ARGS -classpath $sbmcp com.savvion.ejb.bizpulse.manager.BizPulseClient -start &
Run startup scripts in sequnce
# Start Pramati Servers cd $SBM_HOME/pramati/server/bin ./startEjbServer.sh -noshell ./startPortalServer.sh -noshell # Start JBoss Servers cd $SBM_HOME/jboss/bin ./startEjbServer.sh ./startPortalServer.sh # Start SBM cd $SBM_HOME/bin ./startSBM.sh
Stop Servers
cd $SBM_HOME/bin ./stopSBM.sh # Stop Pramati Servers cd $SBM_HOME/pramati/server/bin ./stopserver.sh portalServer ./stopserver.sh ejbServer # Stop Jboss Servers cd $SBM_HOME/jboss/bin ./stopPortalServer.sh ./stopEjbServer.sh
Uninstall
cd $SBM_HOME/_uninst ./uninstall.bin
Update License
*Shutdown all servers.
*Copy license.xml to
# For Pramati:
*Copy license.key to
*Delete
*Restart all servers.