This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
domainInfo: | |
AdminUserName: '@@PROP:ADMIN_USER@@' | |
AdminPassword: '@@PROP:ADMIN_PWD@@' | |
domainLibraries: [ wlsdeploy/domainLibraries/fndext.jar ] | |
topology: | |
Name: asr_domain | |
ProductionModeEnabled: false | |
Cluster: | |
AsrPOC_Cluster: | |
DefaultLoadAlgorithm: 'round-robin' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[oracle@ebsasserter]$cd /u01/install/projects/tools/imagetool/bin | |
. ./setup.sh | |
export JAVA_HOME=/u01/install/software/jdk1.8.0_211 | |
export PATH=$JAVA_HOME/bin:$PATH | |
imagetool create --tag wls:12.2.1.3.0 --latestPSU --version 12.2.1.3.0 --jdkVersion=8u211 --wdtModel=/u01/install/software/sample.yaml --wdtVariables=/u01/oracle/properties/domain.properties --wdtArchive /u01/install/software/archive.zip --wdtDomainHome /u01/oracle/Middleware/domains/asr_domain --wdtVersion 1.7.0 --chown oracle:oinstall --additionalBuildCommands=/u01/install/projects/tools/imagetool/bin/buildargs --additionalBuildFiles=/u01/install/software/wlsdeploy/applications/ebs/cwallet.sso,/u01/install/software/wlsdeploy/applications/ebs/idcs-1.cer,/u01/install/software/wlsdeploy/applications/ebs/idcs-2.cer,/u01/install/software/wlsdeploy/applications/ebs/idcs-3.cer --user username@****.com --password ******* --opatchBugNumber=28186730_13.9.4.2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.url=http://ebsasserter.omcs.tech:30018/ebs | |
app.serverid=************************************************************* | |
ebs.url.homepage=http://ebspoc.omcs.tech:8000/OA_HTML/OA.jsp?OAFunc=OANEWHOMEPAGE | |
ebs.ds.name=ebsdbDS | |
ebs.user.identifier=email | |
ebs.jit.provisioning=false | |
idcs.iss.url=https://identity.oraclecloud.com | |
idcs.aud.url=https://idcs-<************************>.identity.oraclecloud.com | |
wallet.path=/u01/oracle/Middleware/domains/asr_domain/cwallet.sso | |
post.logout.url=http://ebsasserter.omcs.tech:30018/ebs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[before-wdt-command] | |
RUN mkdir -p /u01/oracle/Middleware/domains/asr_domain/ | |
COPY --chown=oracle:oinstall files/* /u01/oracle/Middleware/domains/asr_domain/ | |
[final-build-commands] | |
CMD ["/u01/oracle/Middleware/domains/asr_domain/bin/startWebLogic.sh"] | |
[after-jdk-install] | |
COPY --chown=oracle:oinstall files/* /u01/oracle/Middleware/domains/asr_domain/ | |
ENV JAVA_HOME=/u01/jdk \ | |
PATH=$PATH:$JAVA_HOME/bin | |
RUN $JAVA_HOME/bin/keytool -importcert -noprompt -keystore /u01/jdk/jre/lib/security/cacerts -storepass changeit -alias idcs_int -file /u01/oracle/Middleware/domains/asr_domain/idcs-3.cer \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
~ Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved. | |
~ | |
--> | |
<weblogic-web-app> | |
<context-root>/ebs</context-root> | |
<container-descriptor> | |
<prefer-web-inf-classes>true</prefer-web-inf-classes> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# as root user | |
cd /etc/yum.repos.d/ | |
wget http://yum.oracle.com/public-yum-ol7.repo | |
cat public-yum-ol7.repo | |
yum install docker-engine -y | |
systemctl start docker | |
systemctl enable docker | |
systemctl status docker | |
sudo usermod -a -G docker oracle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Declare | |
value Boolean; | |
val varchar2(500); | |
pnm varchar2(500); | |
prev_val varchar2(500); | |
post_val varchar2(500); | |
Begin | |
select profile_option_name into pnm from fnd_profile_options_tl where USER_PROFILE_OPTION_NAME='Application Authenticate Agent'; | |
DBMS_OUTPUT.PUT_LINE('Profile name to be updated: ' || pnm); | |
select fnd_profile.value(pnm) into prev_val from dual; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d --name ebsasserter --hostname wlsadmin --network=SampleNET -v /u01/oracle/properties/domain.properties:/u01/oracle/properties -p 7001:7001 -p 30012:7012 wls:12.2.1.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#replace EBS Asserter public ip with actual value. | |
docker run -d --name asrPOCserver1 --link wlsadmin:wlsadmin --network=SampleNET -p 7003:7003 -p 30018:7018 -v /u01/oracle/properties/domain.properties:/u01/oracle/properties -e MS_NAME=asrPOCserver1 wls:12.2.1.3.0 /u01/oracle/Middleware/domains/asr_domain/bin/startManagedWebLogic.sh asrPOCserver1 http://<EBS Asserter Public IP Address>:7001 -Dweblogic.management.allowPasswordEcho=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ADMIN_USER=weblogic | |
ADMIN_PWD=welcome1 | |
username=weblogic | |
password=welcome1 | |
EBSDB_PWD=apps | |
NM_USER=weblogic | |
NM_PWD=welcome1 |