Examining the Siebel Docker 18.5 On OCI

Oracle has provided a powerful Cloud Native mechanism to quickly get a full fledged siebel instance up and running in a very sghort duration. This includes four separate components running on four docker containers within the same Oracle VM. For those of you not familiar with docker this is like having four VMs running on a single physical server except that doocker containers are even more lightweight than a full blown VM. So Dockers share 99% of the operating system drivers and other files with the base underlying system and only a very small portion of the system is actually overlayed using an overlay filesystem so that the docker container can have essential files such as configuration or software files that differ from the files on the host.

To understand what a revolution this lets contrast it with a traditional siebel deployment with SAI SES and CGS servers and a separate database server. So you need to create four separate VMs , you need to create the siebel database system. Assuming that you do not want to start from scratch you need to migrate your on premise DB schemas to the cloud ( for example using datapump ) . its a much more complex setup.

Post DB creation the Applications are installed via the installer


So as can be seen the docker image provides a single vm that has all 4 components in a single VM host which optimises deployment costs for test /dev or CI /CD scenarios.

The version of Docker image in the marketpalce today is 18.5 but there are later images available on the github site.

https://github.com/OracleSiebel/ConfiguringSiebel/tree/master/Containerization/Docker


And this is what the siebel docker image execution looks like as it is being deployed.



Using username "opc".

Authenticating with public key "TCS" from agent

Last login: Wed Apr 3 16:36:33 2019 from 45.123.160.140

[opc@siebel ~]$ netstat -apn|grep 1521

(No info could be read for "-p": geteuid()=1000 but you should be root.)

[opc@siebel ~]$ sudo su -

Last login: Wed Apr 3 16:37:36 GMT 2019 on pts/1

[root@siebel ~]# netstat -apn|grep 1521

[root@siebel ~]# docker ps

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

[root@siebel ~]# docker images

REPOSITORY TAG IMAGE ID CREATED SIZE

us-ashburn-1.ocir.io/siebeldev/siebel/cgw 18.5 59ef9bc9 6855 2 months ago 1.72GB

us-ashburn-1.ocir.io/siebeldev/siebel/ses 18.5 ee1c083a 964b 2 months ago 3.6GB

us-ashburn-1.ocir.io/siebeldev/siebel/sai 18.5 f259bdba 0538 2 months ago 2.03GB

container-registry.oracle.com/database/enterprise 12.2.0.1 12a359cd 0528 19 months ago 3.44GB

[root@siebel ~]# ls

DATA_PUMP_DIR

[root@siebel ~]# cd /OCI

[root@siebel OCI]# ls

checkwrapper.sh dockerociwrapper.sh

[root@siebel OCI]# ls -l

total 8

-rwxrwxr-x 1 root root 201 Jan 29 08:04 checkwrapper.sh

-rwxr--r-- 1 root root 2451 Apr 3 15:01 dockerociwrapper.sh

[root@siebel OCI]# ./checkwrapper.sh

[root@siebel OCI]# ls -l

total 8

-rwxrwxr-x 1 root root 201 Jan 29 08:04 checkwrapper.sh

-rwxr--r-- 1 root root 2451 Apr 4 10:09 dockerociwrapper.sh

[root@siebel OCI]# cd ..

[root@siebel /]# ls -l

total 36

lrwxrwxrwx 1 root root 7 Apr 3 18:35 bin -> usr/bin

dr-xr-xr-x. 4 root root 4096 Apr 3 18:41 boot

drwxr-xr-x 20 root root 3180 Apr 3 18:39 dev

drwxr-xr-x. 96 root root 8192 Apr 3 23:27 etc

drwxr-xr-x. 4 root root 34 Apr 11 2018 home

lrwxrwxrwx 1 root root 7 Apr 3 18:35 lib -> usr/lib

lrwxrwxrwx 1 root root 9 Apr 3 18:35 lib64 -> usr/lib64

drwxr-xr-x. 2 root root 6 Apr 11 2018 media

drwxr-xr-x. 3 root root 27 Apr 11 2018 mnt

drwxr-xr-x 2 root root 56 Apr 3 10:10 OCI

drwxr-xr-x 2 root root 135 Apr 3 15:51 OCI_scripts

drwxr-xr-x. 4 root root 34 Apr 3 18:39 opt

dr-xr-xr-x 150 root root 0 Apr 11 2018 proc

dr-xr-x---. 11 root root 4096 Apr 11 2018 root

drwxr-xr-x 33 root root 1080 Apr 3 18:41 run

lrwxrwxrwx 1 root root 8 Apr 3 18:35 sbin -> usr/sbin

drwxr-xr-x. 2 root root 6 Apr 11 2018 srv

dr-xr-xr-x 13 root root 0 Apr 11 2018 sys

drwxrwxrwt. 11 root root 4096 Apr 4 09:43 tmp

drwxr-xr-x. 13 root root 4096 Apr 3 18:35 usr

drwxr-xr-x. 20 root root 4096 Apr 3 18:35 var

[root@siebel /]# cd OCI_scripts

[root@siebel OCI_scripts]# ls

dockerociwrapper.sh oci_createpart.sh oci_siebel_config.sh setupdisk.sh setup_dockerimages.sh

[root@siebel OCI_scripts]# diff dockerociwrapper.sh ../OCI/dockerociwrapper.sh

[root@siebel OCI_scripts]# cd ../OCI

[root@siebel OCI]# ./dockerociwrapper.sh

Error :: --codeline is mandatory argument

[root@siebel OCI]# ./dockerociwrapper.sh --help

./dockerociwrapper.sh: option requires an argument -- h

Invalid option: -h

Usage: [--codeline 17.0 --build 23073 --updatecodeline 18.5 --updatebuild PATCHSET18_5 --siebelcompgroups 'EAI,eChannel,CallCenter,Workflow']

-codeline is mandatory argument

-build is mandatory argument

-updatecodeline is mandatory argument

-updatebuild is mandatory argument

-siebelcompgroups is mandatory argument

-h | --help - displays this message

[root@siebel OCI]# ./dockerociwrapper.sh --codeline 17.0 --build 23073 --updatecodeline 18.5 --updatebuild PATCHSET18_5 --siebelcompgroups 'EAI,eChannel,CallCenter,Workflow'

Filesystem Size Used Avail Use% Mounted on

/dev/sda3 192G 59G 134G 31% /

Warning :: Storage path already set...

ln: failed to create symbolic link ‘/datastorage01/docker_buildfiles’: No such file or directory

ln: failed to create symbolic link ‘/datastorage01/oracle_db’: No such file or directory

Running docker load --input DBserver.tar

Warning already Docker image is loaded

Running docker load --input cgw.tar

Warning already Docker image is loaded

Running docker load --input ses.tar

Warning already Docker image is loaded

Running docker load --input sai.tar

Warning already Docker image is loaded

Running docker network create siebelbridge

Warning :: Required Docker network already created...

Domain Name :: .docker.oraclecloud.com

-----------------------------------------------------------------------------------------------

Docker Images imported

-----------------------------------------------------------------------------------------------

REPOSITORY TAG IMAGE ID CREATED SIZE

us-ashburn-1.ocir.io/siebeldev/siebel/cgw 18.5 59ef9bc96855 2 months ago 1.72GB

us-ashburn-1.ocir.io/siebeldev/siebel/ses 18.5 ee1c083a964b 2 months ago 3.6GB

us-ashburn-1.ocir.io/siebeldev/siebel/sai 18.5 f259bdba0538 2 months ago 2.03GB

container-registry.oracle.com/database/enterprise 12.2.0.1 12a359cd0528 19 months ago 3.44GB

-----------------------------------------------------------------------------------------------

docker.oraclecloud.com

db

db

Start Oracle DB Docker Container...

7c856f9d6224d62222710ed8f2816bda2762dc6d19c4edc85915847e0c39c39d

...............................................................................................................

ORCLCDB = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 0.0.0.0)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORCLCDB.localdomain) ) )

ORCLPDB1 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 0.0.0.0)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORCLPDB1.localdomain) ) )

Configuring the Siebel Server based on input values...

-------------------------------------------------------------

-------------------------------------------------------------

Docker Siebel image with -o with onlyconfig was triggered

-------------------------------------------------------------

-------------------------------------------------------------

-------------------------------------------------------------

Generating the required keystore file ...

-------------------------------------------------------------

DNS.1:*.docker.oraclecloud.com,DNS.2:*.compute.oraclecloud.com,DNS.3:*.company.com


Warning:

The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /mnt/dockerstorage/docker_buildfiles/docker_build/SSL/Keys/siebelkeystore.jks -destkeystore /mnt/dockerstorage/docker_buildfiles/docker_build/SSL/Keys/siebelkeystore.jks -deststoretype pkcs12".

Keystore type: jks

Keystore provider: SUN


Your keystore contains 1 entry


Alias name: siebel

Creation date: Apr 4, 2019

Entry type: PrivateKeyEntry

Certificate chain length: 1

Certificate[1]:

Owner: CN=*.docker.oraclecloud.com

Issuer: CN=*.docker.oraclecloud.com

Serial number: 14ce1b6

Valid from: Thu Apr 04 10:22:29 GMT 2019 until: Wed Jul 03 10:22:29 GMT 2019

Certificate fingerprints:

MD5: 0F:B9:49:AE:BE:92:C5:4A:0C:1D:3A:D7:97:7D:D3:E7

SHA1: 82:38:DE:D6:48:5F:9B:CB:0B:AF:3B:29:30:BA:86:39:F9:22:26:BD

SHA256: 51:C9:21:6F:F5:2F:19:46:62:E0:5D:D6:06:6C:7B:01:AE:7A:C1:72:D5:5E:3E:B0:A5:A6:E4:FC:E4:66:99:A4

Signature algorithm name: SHA256withRSA

Subject Public Key Algorithm: 2048-bit RSA key

Version: 3


Extensions:


#1: ObjectId: 2.5.29.14 Criticality=false

SubjectKeyIdentifier [

KeyIdentifier [

0000: D8 C7 FC E4 BF 0B C7 D6 EE B2 E8 54 79 51 77 C5 ...........TyQw.

0010: B0 8B EF 6D ...m

]

]




*******************************************

*******************************************




Warning:

The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /mnt/dockerstorage/docker_buildfiles/docker_build/SSL/Keys/siebelkeystore.jks -destkeystore /mnt/dockerstorage/docker_buildfiles/docker_build/SSL/Keys/siebelkeystore.jks -deststoretype pkcs12".


Warning:

The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /mnt/dockerstorage/docker_buildfiles/docker_build/SSL/Keys/siebelkeystore.jks -destkeystore /mnt/dockerstorage/docker_buildfiles/docker_build/SSL/Keys/siebelkeystore.jks -deststoretype pkcs12".

Generating a 2048 bit RSA private key

...................................................................................................................................+++

........................+++

writing new private key to '/mnt/dockerstorage/docker_buildfiles/docker_build/SSL/CA/cakey.pem'

-----

Signature ok

subject=/CN=siebel-docker-ca

Getting Private key

Owner: CN=siebel-docker-ca

Issuer: CN=siebel-docker-ca

Serial number: a9b78012b8117441

Valid from: Thu Apr 04 10:22:33 GMT 2019 until: Sun Apr 01 10:22:33 GMT 2029

Certificate fingerprints:

MD5: 4B:5F:DA:69:44:6D:16:5E:B5:EB:D5:91:32:74:E8:E8

SHA1: D2:F6:83:CB:8F:BF:7B:38:8B:F9:BD:78:0C:43:D4:33:AF:FD:64:99

SHA256: E1:43:90:59:A5:C2:91:4D:B1:6B:96:74:C1:0A:A3:C8:7A:62:E4:44:46:04:7C:C8:50:7F:10:4A:D4:97:A3:BD

Signature algorithm name: SHA256withRSA

Subject Public Key Algorithm: 2048-bit RSA key

Version: 3


Extensions:


#1: ObjectId: 2.5.29.35 Criticality=false

AuthorityKeyIdentifier [

KeyIdentifier [

0000: CF 47 E9 8A 15 DE C4 A7 45 C4 45 D1 D0 AA 43 87 .G......E.E...C.

0010: 8D 82 45 0F ..E.

]

]


#2: ObjectId: 2.5.29.19 Criticality=true

BasicConstraints:[

CA:true

PathLen:2147483647

]


#3: ObjectId: 2.5.29.15 Criticality=false

KeyUsage [

Key_CertSign

Crl_Sign

]


#4: ObjectId: 2.5.29.14 Criticality=false

SubjectKeyIdentifier [

KeyIdentifier [

0000: CF 47 E9 8A 15 DE C4 A7 45 C4 45 D1 D0 AA 43 87 .G......E.E...C.

0010: 8D 82 45 0F ..E.

]

]


Signature ok

subject=/CN=*.docker.oraclecloud.com

Getting CA Private Key

Certificate was added to keystore


Warning:

The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /mnt/dockerstorage/docker_buildfiles/docker_build/SSL/Keys/siebelkeystore.jks -destkeystore /mnt/dockerstorage/docker_buildfiles/docker_build/SSL/Keys/siebelkeystore.jks -deststoretype pkcs12".

Certificate reply was installed in keystore


Warning:

The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /mnt/dockerstorage/docker_buildfiles/docker_build/SSL/Keys/siebelkeystore.jks -destkeystore /mnt/dockerstorage/docker_buildfiles/docker_build/SSL/Keys/siebelkeystore.jks -deststoretype pkcs12".

Keystore type: jks

Keystore provider: SUN


Your keystore contains 2 entries


Alias name: ca

Creation date: Apr 4, 2019

Entry type: trustedCertEntry


Owner: CN=siebel-docker-ca

Issuer: CN=siebel-docker-ca

Serial number: a9b78012b8117441

Valid from: Thu Apr 04 10:22:33 GMT 2019 until: Sun Apr 01 10:22:33 GMT 2029

Certificate fingerprints:

MD5: 4B:5F:DA:69:44:6D:16:5E:B5:EB:D5:91:32:74:E8:E8

SHA1: D2:F6:83:CB:8F:BF:7B:38:8B:F9:BD:78:0C:43:D4:33:AF:FD:64:99

SHA256: E1:43:90:59:A5:C2:91:4D:B1:6B:96:74:C1:0A:A3:C8:7A:62:E4:44:46:04:7C:C8:50:7F:10:4A:D4:97:A3:BD

Signature algorithm name: SHA256withRSA

Subject Public Key Algorithm: 2048-bit RSA key

Version: 3


Extensions:


#1: ObjectId: 2.5.29.35 Criticality=false

AuthorityKeyIdentifier [

KeyIdentifier [

0000: CF 47 E9 8A 15 DE C4 A7 45 C4 45 D1 D0 AA 43 87 .G......E.E...C.

0010: 8D 82 45 0F ..E.

]

]


#2: ObjectId: 2.5.29.19 Criticality=true

BasicConstraints:[

CA:true

PathLen:2147483647

]


#3: ObjectId: 2.5.29.15 Criticality=false

KeyUsage [

Key_CertSign

Crl_Sign

]


#4: ObjectId: 2.5.29.14 Criticality=false

SubjectKeyIdentifier [

KeyIdentifier [

0000: CF 47 E9 8A 15 DE C4 A7 45 C4 45 D1 D0 AA 43 87 .G......E.E...C.

0010: 8D 82 45 0F ..E.

]

]




*******************************************

*******************************************



Alias name: siebel

Creation date: Apr 4, 2019

Entry type: PrivateKeyEntry

Certificate chain length: 2

Certificate[1]:

Owner: CN=*.docker.oraclecloud.com

Issuer: CN=siebel-docker-ca

Serial number: e923eb2212be27c7

Valid from: Thu Apr 04 10:22:34 GMT 2019 until: Sun Apr 01 10:22:34 GMT 2029

Certificate fingerprints:

MD5: 2D:48:AE:6F:47:9F:DD:FD:64:AF:C0:7A:7B:CC:F4:01

SHA1: 0A:65:85:8E:54:25:00:ED:4A:54:44:9C:A8:3B:64:10:E6:60:AF:47

SHA256: 43:E7:2F:AE:82:94:6C:54:55:7A:9B:C2:60:4A:AB:C7:CC:45:4F:23:81:1D:B8:1A:E0:0F:6D:D1:EF:F2:49:95

Signature algorithm name: SHA256withRSA

Subject Public Key Algorithm: 2048-bit RSA key

Version: 3


Extensions:


#1: ObjectId: 2.5.29.19 Criticality=false

BasicConstraints:[

CA:false

PathLen: undefined

]


#2: ObjectId: 2.5.29.17 Criticality=false

SubjectAlternativeName [

DNSName: *.docker.oraclecloud.com

DNSName: *.compute.oraclecloud.com

DNSName: *.company.com

]


Certificate[2]:

Owner: CN=siebel-docker-ca

Issuer: CN=siebel-docker-ca

Serial number: a9b78012b8117441

Valid from: Thu Apr 04 10:22:33 GMT 2019 until: Sun Apr 01 10:22:33 GMT 2029

Certificate fingerprints:

MD5: 4B:5F:DA:69:44:6D:16:5E:B5:EB:D5:91:32:74:E8:E8

SHA1: D2:F6:83:CB:8F:BF:7B:38:8B:F9:BD:78:0C:43:D4:33:AF:FD:64:99

SHA256: E1:43:90:59:A5:C2:91:4D:B1:6B:96:74:C1:0A:A3:C8:7A:62:E4:44:46:04:7C:C8:50:7F:10:4A:D4:97:A3:BD

Signature algorithm name: SHA256withRSA

Subject Public Key Algorithm: 2048-bit RSA key

Version: 3


Extensions:


#1: ObjectId: 2.5.29.35 Criticality=false

AuthorityKeyIdentifier [

KeyIdentifier [

0000: CF 47 E9 8A 15 DE C4 A7 45 C4 45 D1 D0 AA 43 87 .G......E.E...C.

0010: 8D 82 45 0F ..E.

]

]


#2: ObjectId: 2.5.29.19 Criticality=true

BasicConstraints:[

CA:true

PathLen:2147483647

]


#3: ObjectId: 2.5.29.15 Criticality=false

KeyUsage [

Key_CertSign

Crl_Sign

]


#4: ObjectId: 2.5.29.14 Criticality=false

SubjectKeyIdentifier [

KeyIdentifier [

0000: CF 47 E9 8A 15 DE C4 A7 45 C4 45 D1 D0 AA 43 87 .G......E.E...C.

0010: 8D 82 45 0F ..E.

]

]




*******************************************

*******************************************




Warning:

The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /mnt/dockerstorage/docker_buildfiles/docker_build/SSL/Keys/siebelkeystore.jks -destkeystore /mnt/dockerstorage/docker_buildfiles/docker_build/SSL/Keys/siebelkeystore.jks -deststoretype pkcs12".

-------------------------------------------------------------

Docker Compose file generation and starting build ...

-------------------------------------------------------------

Warning :: SAI docker base image not found !!!

Warning :: CGW docker base image not found !!!

Warning :: SES docker base image not found !!!

-------------------------------------------------------------

Thu Apr 4 10:22:37 GMT 2019

-------------------------------------------------------------

Stopping started container ...

-------------------------------------------------------------

siebelsai

siebelsai

-------------------------------------------------------------

Stopping started container ...

-------------------------------------------------------------

siebelses

siebelses

-------------------------------------------------------------

Stopping started container ...

-------------------------------------------------------------

siebelcgw

siebelcgw

-------------------------------------------------------------

Creating Docker bridge network for the container ...

-------------------------------------------------------------

-------------------------------------------------------------

Cleaning Old persistent data

Cleaning Old persistent data

Cleaning Old persistent data

-------------------------------------------------------------

Starting SAI container ...

docker run -d -t --privileged --net siebelbridge -h siebelsai --network-alias siebelsai.docker.oraclecloud.com --name siebelsai -v /mnt/dockerstorage/docker_buildfiles/responsefile:/mnt/dockerStoreData/responsefile -v /mnt/dockerstorage/docker/persistent/siebelbridge/siebelsai:/persistent -v /mnt/dockerstorage/docker/persistent/siebelbridge/sfs:/sfs -e tnsConnectString=OLTPSIA -e dbServerName=db.docker.oraclecloud.com -e dbPort=1521 -e dbServiceName=ORCLPDB1.localdomain -p 4430:4430 us-ashburn-1.ocir.io/siebeldev/siebel/sai:18.5

ab86f472b50c286530de2ce9d2f89fed2a22ab9affa236b6912ec4a61efaa35e

-------------------------------------------------------------

Starting CGW container ...

docker run -d -t --privileged --net siebelbridge -h siebelcgw --network-alias siebelcgw.docker.oraclecloud.com --name siebelcgw -v /mnt/dockerstorage/docker_buildfiles/responsefile:/mnt/dockerStoreData/responsefile -v /mnt/dockerstorage/docker/persistent/siebelbridge/siebelcgw:/persistent -v /mnt/dockerstorage/docker/persistent/siebelbridge/sfs:/sfs -e tnsConnectString=OLTPSIA -e dbServerName=db.docker.oraclecloud.com -e dbPort=1521 -e dbServiceName=ORCLPDB1.localdomain -p 2320:2320 -p 6330:6330 us-ashburn-1.ocir.io/siebeldev/siebel/cgw:18.5

90fdc7f1f3359f946b0941b1de3ff3f95fa908e333b7b52936e25ce61265bd1d

-------------------------------------------------------------

Starting SES container ...

docker run -d -t --privileged --net siebelbridge -h siebelses --network-alias siebelses.docker.oraclecloud.com -v /mnt/dockerstorage/docker_buildfiles/responsefile:/mnt/dockerStoreData/responsefile -v /mnt/dockerstorage/docker/persistent/siebelbridge/siebelses:/persistent -v /mnt/dockerstorage/docker/persistent/siebelbridge/sfs:/sfs -e tnsConnectString=OLTPSIA -e dbServerName=db.docker.oraclecloud.com -e dbPort=1521 -e dbServiceName=ORCLPDB1.localdomain -e siebelEnterpriseName=siebel_ent -e enterpriseUsername=SADMIN -e enterprisePassword=******* --name siebelses us-ashburn-1.ocir.io/siebeldev/siebel/ses:18.5

926ac3df6efb2955b4e28f0d0af50dc585ac25cf05f270fd438265a5a1bc2e70

-------------------------------------------------------------

-------------------------------------------------------------

Waiting for CGW container to be healthy...

Waiting for SES container to be healthy...

Waiting for SAI container to be healthy...

-------------------------------------------------------------

Configuring Siebel on CGW container ...

-------------------------------------------------------------

Executing command :: sh siebeldockerimaging.sh -o onlyconfig -f config.ini -c siebelcgw

-------------------------------------------------------------

/mnt/dockerstorage/docker_buildfiles/docker_build

-------------------------------------------------------------

-------------------------------------------------------------

Docker Siebel image with -o with config was triggered

-------------------------------------------------------------

-------------------------------------------------------------

-------------------------------------------------------------

-------------------------------------------------------------

Docker Siebel Machine setup script

-------------------------------------------------------------

-------------------------------------------------------------

Creating OraInventory directory and applying permissions

-------------------------------------------------------------

-------------------------------------------------------------

Copying response file for Siebel Installation

-------------------------------------------------------------

cp: No match.

-------------------------------------------------------------

Updating OraInventory loc file

-------------------------------------------------------------

SES response Value replacement

DB check response Value replacement

Patchset SES configuration response Value replacement

-------------------------------------------------------------

Copying the Json files for configuration

-------------------------------------------------------------

/bin/sudo -u siebel -i cp /mnt/dockerStoreData/SupportFiles/initCGW.sh /config/

-------------------------------------------------------------

Performing DB check to Oracle Siebel Database

-------------------------------------------------------------


SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 4 10:26:04 2019


Copyright (c) 1982, 2016, Oracle. All rights reserved.


Last Successful login time: Wed Apr 03 2019 18:35:19 +00:00


Connected to:

Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production


SQL>

COUNT(*)

----------

6


SQL> Disconnected from Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

DB Check successful

-------------------------------------------------------------

-------------------------------------------------------------

Generating the Json files for configuration

-------------------------------------------------------------

CG Info json file value replacement

GatewaySecurityProfile json file value replacement

CG Boot strap json file value replacement

-------------------------------------------------------------

Running cginfo.json to configure CG

-------------------------------------------------------------

curl --noproxy siebelsai.docker.oraclecloud.com -u sadmin:sadmin -i -X POST -H Content-Type:application/json https://siebelsai.docker.oraclecloud.com:4430/siebel/v1.0/cginfo/ -d @/script/cginfo.json -k

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 89 100 33 100 56 8 14 0:00:04 0:00:03 0:00:01 14

HTTP/1.1 200

Access-Control-Allow-Origin: *

Content-Type: application/json

Content-Length: 33

Date: Thu, 04 Apr 2019 10:26:09 GMT


{"status":"Gateway host updated"}CG Configuration using CGcginfo.json successful

-------------------------------------------------------------

Running GatewaySecurityProfile.json to configure CG

-------------------------------------------------------------

curl --noproxy siebelsai.docker.oraclecloud.com -u sadmin:sadmin -i -X POST -H Content-Type:application/json https://siebelsai.docker.oraclecloud.com:4430/siebel/v1.0/cloudgateway/GatewaySecurityProfile/ -d @/script/GatewaySecurityProfile.json -k

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 1381 100 788 100 593 678 510 0:00:01 0:00:01 --:--:-- 678

HTTP/1.1 200

Content-Length: 788

Date: Thu, 04 Apr 2019 10:26:10 GMT


{

"Profile": {

"ProfileName": "Gateway",

"AccessPermission": "ReadOnly"

},

"SecurityConfigParams": {

"DataSources": [{

"Name": "Oracle",

"Type": "DB",

"Host": "db.docker.oraclecloud.com",

"Port": 1521,

"SqlStyle": "Oracle",

"Endpoint": "ORCLPDB1.localdomain",

"TableOwner": "SIEBEL"

}],

"SecAdptName": "DBSecAdpt",

"SecAdptMode": "DB",

"NSAdminRole": ["Siebel Administrator"],

"TestUserName": "",

"TestUserPwd": "",

"DBSecurityAdapterDataSource": "Oracle",

"DBSecurityAdapterPropagateChange": true,

"CertificateRoot": "\/siebel\/cgw\/applicationcontainer\/siebelcerts\/siebelkeystore.jks"

}

}CG Configuration using GatewaySecurityProfile.json successful

-------------------------------------------------------------

Exposing Zookeeper port

-------------------------------------------------------------

-------------------------------------------------------------

Running bootstrapCG.json to configure CG

-------------------------------------------------------------

curl --noproxy siebelsai.docker.oraclecloud.com -u SADMIN:Welcome1 -i -X POST -H Content-Type:application/json https://siebelsai.docker.oraclecloud.com:4430/siebel/v1.0/cloudgateway/bootstrapCG/ -d @/script/bootstrapCG.json -k

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 144 100 27 100 117 1 8 0:00:27 0:00:14 0:00:13 0

HTTP/1.1 200

Content-Length: 27

Date: Thu, 04 Apr 2019 10:26:25 GMT


Gateway configuration addedCG Configuration using bootstrapCG.json successful

..........................................................................................

Siebel Bootstrap configuration successful

-------------------------------------------------------------

-------------------------------------------------------------

Starting Siebel Enterprise configuration

-------------------------------------------------------------

-------------------------------------------------------------

Running setEnterprise.json to configure Siebel Enterprise

-------------------------------------------------------------

curl --noproxy siebelsai.docker.oraclecloud.com -u SADMIN:Welcome1 -i -X POST -H Content-Type:application/json https://siebelsai.docker.oraclecloud.com:4430/siebel/v1.0/cloudgateway/profiles/enterprises/ -d @/script/setEnterprise.json -k

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 463 100 54 100 409 184 1397 --:--:-- --:--:-- --:--:-- 1400

HTTP/1.1 200

Content-Length: 54

Date: Thu, 04 Apr 2019 10:27:56 GMT


{

"status" : "Enterprise Profile addition success"

}Siebel Enterprise Configuration using setEnterprise.json successful

-------------------------------------------------------------

Running deployEnterprise.json to configure Siebel Enterprise

-------------------------------------------------------------

curl --noproxy siebelsai.docker.oraclecloud.com -u SADMIN:Welcome1 -i -X POST -H Content-Type:application/json https://siebelsai.docker.oraclecloud.com:4430/siebel/v1.0/cloudgateway/deployments/enterprises/ -d @/script/deployEnterprise.json -k

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 225 100 41 100 184 122 550 --:--:-- --:--:-- --:--:-- 549

HTTP/1.1 200

Content-Length: 41

Date: Thu, 04 Apr 2019 10:27:56 GMT


{

"status" : "Deployment In Progress"

}Siebel Enterprise Configuration using deployEnterprise.json successful

..............................

Siebel Enterprise configuration successful

-------------------------------------------------------------

-------------------------------------------------------------

Configuration Successfully

-------------------------------------------------------------

-------------------------------------------------------------

-------------------------------------------------------------

Configuring Siebel on SES container ...

-------------------------------------------------------------

Executing command :: sh siebeldockerimaging.sh -o onlyconfig -f config.ini -c siebelses

-------------------------------------------------------------

/mnt/dockerstorage/docker_buildfiles/docker_build

-------------------------------------------------------------

-------------------------------------------------------------

Docker Siebel image with -o with config was triggered

-------------------------------------------------------------

-------------------------------------------------------------

-------------------------------------------------------------

-------------------------------------------------------------

Docker Siebel Machine setup script

-------------------------------------------------------------

-------------------------------------------------------------

Creating OraInventory directory and applying permissions

-------------------------------------------------------------

-------------------------------------------------------------

Copying response file for Siebel Installation

-------------------------------------------------------------

cp: No match.

-------------------------------------------------------------

Updating OraInventory loc file

-------------------------------------------------------------

SES response Value replacement

DB check response Value replacement

Patchset SES configuration response Value replacement

siebelBuildNumber_ses: Undefined variable.

-------------------------------------------------------------

Copying the Json files for configuration

-------------------------------------------------------------

-------------------------------------------------------------

Performing DB check to Oracle Siebel Database

-------------------------------------------------------------


SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 4 10:30:18 2019


Copyright (c) 1982, 2016, Oracle. All rights reserved.


Last Successful login time: Thu Apr 04 2019 10:28:16 +00:00


Connected to:

Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production


SQL>

COUNT(*)

----------

6


SQL> Disconnected from Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

DB Check successful

-------------------------------------------------------------

-------------------------------------------------------------

Starting Siebel Server configuration

-------------------------------------------------------------

-------------------------------------------------------------

Running setSiebelserver.json to configure Siebel Server

-------------------------------------------------------------

curl --noproxy siebelsai.docker.oraclecloud.com -u SADMIN:Welcome1 -i -X POST -H Content-Type:application/json https://siebelsai.docker.oraclecloud.com:4430/siebel/v1.0/cloudgateway/profiles/servers/ -d @/script/setSiebelserver.json -k

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 527 100 69 100 458 298 1980 --:--:-- --:--:-- --:--:-- 1982

HTTP/1.1 200

Content-Length: 69

Date: Thu, 04 Apr 2019 10:30:19 GMT


{

"status" : "Successful operation to add siebel server Profile."

}Siebel Server Configuration using setSiebelserver.json successful

-------------------------------------------------------------

Running deploySiebelserver.json to configure Siebel Server

-------------------------------------------------------------

curl --noproxy siebelsai.docker.oraclecloud.com -u SADMIN:Welcome1 -i -X POST -H Content-Type:application/json https://siebelsai.docker.oraclecloud.com:4430/siebel/v1.0/cloudgateway/deployments/servers/ -d @/script/deploySiebelserver.json -k

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 306 100 41 100 265 159 1031 --:--:-- --:--:-- --:--:-- 1035

HTTP/1.1 200

Content-Length: 41

Date: Thu, 04 Apr 2019 10:30:19 GMT


{

"status" : "Deployment In Progress"

}Siebel Server Configuration using deploySiebelserver.json successful

..........................................................................................

Siebel Server configuration successful

-------------------------------------------------------------

-------------------------------------------------------------

Configuration Successfully

-------------------------------------------------------------

-------------------------------------------------------------

-------------------------------------------------------------

Configuring Siebel on SAI container ...

-------------------------------------------------------------

Executing command :: sh siebeldockerimaging.sh -o onlyconfig -f config.ini -c siebelsai

-------------------------------------------------------------

/mnt/dockerstorage/docker_buildfiles/docker_build

-------------------------------------------------------------

-------------------------------------------------------------

Docker Siebel image with -o with config was triggered

-------------------------------------------------------------

-------------------------------------------------------------

-------------------------------------------------------------

-------------------------------------------------------------

Docker Siebel Machine setup script

-------------------------------------------------------------

-------------------------------------------------------------

Creating OraInventory directory and applying permissions

-------------------------------------------------------------

-------------------------------------------------------------

Copying response file for Siebel Installation

-------------------------------------------------------------

cp: No match.

-------------------------------------------------------------

Updating OraInventory loc file

-------------------------------------------------------------

SWSM response Value replacement

DB check response Value replacement

Patchset SWSM configuration response Value replacement

-------------------------------------------------------------

Copying the Json files for configuration

-------------------------------------------------------------

-------------------------------------------------------------

Performing DB check to Oracle Siebel Database

-------------------------------------------------------------


SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 4 10:35:20 2019


Copyright (c) 1982, 2016, Oracle. All rights reserved.


Last Successful login time: Thu Apr 04 2019 10:35:19 +00:00


Connected to:

Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production


SQL>

COUNT(*)

----------

6


SQL> Disconnected from Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

DB Check successful

-------------------------------------------------------------

-------------------------------------------------------------

Copying the Json files for configuration

-------------------------------------------------------------

CG Info json file value replacement

SWSM profile Deploy SIA json file value replacement

SWSM Profile create SIA json file value replacement

-------------------------------------------------------------

Running cginfo.json to configure CG

-------------------------------------------------------------

curl --noproxy siebelsai.docker.oraclecloud.com -u SADMIN:Welcome1 -i -X POST -H Content-Type:application/json https://siebelsai.docker.oraclecloud.com:4430/siebel/v1.0/cginfo/ -d @/script/cginfo.json -k

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 83 100 27 100 56 8 16 0:00:03 0:00:03 --:--:-- 16

HTTP/1.1 200

Access-Control-Allow-Origin: *

Content-Type: application/json

Content-Length: 27

Date: Thu, 04 Apr 2019 10:35:26 GMT


{"status":"Bootstrap Done"}CG Configuration using CGcginfo.json successful

-------------------------------------------------------------

Running swsmprofilesiacreate.json to configure CG

-------------------------------------------------------------

curl --noproxy siebelsai.docker.oraclecloud.com -u SADMIN:Welcome1 -i -X POST -H Content-Type:application/json https://siebelsai.docker.oraclecloud.com:4430/siebel/v1.0/cloudgateway/profiles/swsm/ -d @/script/swsmprofilesiacreate.json -k

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 77986 0 7 100 77979 0 7152 0:00:10 0:00:10 --:--:-- 0

HTTP/1.1 100 Continue


HTTP/1.1 200

Content-Length: 7

Date: Thu, 04 Apr 2019 10:35:37 GMT


SuccessSAI Configuration using swsmprofilesiacreate.json successful

-------------------------------------------------------------

Running swsmprofiledeploysia.json to configure CG

-------------------------------------------------------------

curl --noproxy siebelsai.docker.oraclecloud.com -u SADMIN:Welcome1 -i -X POST -H Content-Type:application/json https://siebelsai.docker.oraclecloud.com:4430/siebel/v1.0/cloudgateway/deployments/swsm/ -d @/script/swsmprofiledeploysia.json -k

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 304 100 41 100 263 73 468 --:--:-- --:--:-- --:--:-- 469

HTTP/1.1 200

Content-Length: 41

Date: Thu, 04 Apr 2019 10:35:37 GMT


{

"status" : "Deployment In Progress"

}SAI Configuration using swsmprofiledeploysia.json successful

-------------------------------------------------------------

Siebel SAI configuration successful

-------------------------------------------------------------

-------------------------------------------------------------

Configuration Successfully

-------------------------------------------------------------

-------------------------------------------------------------

----------------------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------------------

Docker image build started @ Thu Apr 4 10:22:37 GMT 2019 and completed @ Thu Apr 4 10:35:56 GMT 2019

----------------------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------------------


SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 4 10:35:57 2019


Copyright (c) 1982, 2016, Oracle. All rights reserved.


Last Successful login time: Thu Apr 04 2019 10:35:38 +00:00


Connected to:

Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production


SQL>

520 rows updated.


SQL>

Commit complete.


SQL> Disconnected from Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

[root@siebel OCI]#