Professional Documents
Culture Documents
Cloning With SSO
Cloning With SSO
6. If new managed server was setup, add entries to reverse proxy server
Login to usncv096 as oamdmgr
cd /mnt/oraoamd/instance/web1/config/OHS/ohs1
make a backup of mod_wl_ohs.conf
cp -p mod_wl_ohs.conf mod_wl_ohs.conf.bkp.2014<MM><DD>
vi mod_wl_ohs.conf
If the ebs environment does not exist, add the following at the end of file, just above
</VirtualHost>
<Location /ebsauth_[ebs env]>
WLProxySSL ON
WLProxySSLPassThrough ON
SetHandler weblogic-handler
WebLogicHost usncx242.diebold.com
WebLogicPort [port captured in step 1 above]
7. Change flag in apex database to SSO
Login to usncx010 as oemora
sqlplus "/ as sysdba"
update dbddba.ebiz_env
set sso='Y'
where env = '&ebs_env';
commit;
8. Generate Unix files on apex
9. Copy to Hamilton if required.
5. Register OID
On Main concurrent manager server as <env>mgr user
cd /mnt/oracle_stage_NAS/clones/scripts/ebiz/apps
./sso_oidd_register_oid.sh
Scripts :-
[]-->cat mslist
jedi
tst12
uat12
svc12
pch12
tst12
lion
icon
faro
agua
tst13
arch1
army
dev12
[]-->cat start_eag_ms.sh
if [ $# -ne 1 ]
then echo "Usage: start_eag_ms.sh [EBS sid]
Example start_eag_ms.sh svc12";exit 1
fi
echo "vnodeManagerPort=5556
vuserConfigFile='wlConfigFile'
vuserKeyFile='wlUserKeyFile'
vdomainName='eag'
vdomainDir='/mnt/oraoamd/product/fmw/user_projects/domains/eag'
vurl='t3://localhost:7041'
import time
from os import popen
class Namespace: pass
result=Namespace()
result.ErrorLevel=0
print('Starting E-Business Accessgate')
print('Connecting to Node Manager... ')
hideDumpStack('true')
connect(userConfigFile=vdomainDir+'/xxdbd/'+vuserConfigFile,userKeyFile=vdomainDir+'/xxdbd/'+vuserKeyFile,host='localhost',url=vurl)
try:
print('Starting managed server eag_$1')
start('eag_$1')
except:
print('Failed to start managed server eag_$1')
result.ErrorLevel=1
print('Startup Complete')
exit(exitcode=result.ErrorLevel) " > ~/bin/start_eag_ms.py
. ~/bin/setenv.sh
. $WL_TOP/server/bin/setWLSEnv.sh
java weblogic.WLST ~/bin/start_eag_ms.py
[]-->cat oam_rreg.sh
if [ $# -ne 1 ]
then
echo "Usage: $0 [ebs env]"; exit 1
fi
SID=`echo $1|tr [:upper:] [:lower:]`
RREG_HOME=/mnt/oraoamd/product/fmw/Oracle_IDM1/oam/server/rreg
TEMPLATE=$RREG_HOME/input/ebs.template.oam.conf
OUTFILE=$RREG_HOME/input/ebs.${SID}.oam.conf
if [ -f $OUTFILE ]
then echo "$OUTFILE already exists.
Hit Enter to Continue or Ctrl+C to exit";read x
fi
cd /mnt/oraoamd/product/fmw/Oracle_IDM1/oam/server/rreg
(echo oamadmin; echo K3e9#u6cjyt8vf1W; echo n; echo y )| ./bin/oamreg.sh inband input/Diebold_webgate_usncv096.xml -
noprompt /mnt/oraoamd/product/fmw/Oracle_IDM1/oam/server/rreg/input/ebs.$SID.oam.conf