Closed thushaaanthan closed 4 years ago
I would request you, please try RAC on Docker on xfs file system (overlay2). For details, please check Oracle Container runtime documentation and refer to Docker storage section.
https://docs.oracle.com/cd/E52668_01/E87205/html/index.html
Also, it seems I might need to put some minor updates for 12.2 dockerfiles, can you please try RAC on Docker 18.3. I will try to update 12.2 dockerfiles asap and will let you know.
Hi, When I tried Docker 18.3, I had another issue
COPY failed: stat /var/lib/docker/tmp/docker-builder346217711/p28322130_183000OCWRU_Linux-x86-64.zip: no such file or directory There was an error building the image.
cloud-user@oracle-rac-12c dockerfiles]$ ./buildDockerImage.sh -v 18.3.0 Checking if required packages are present and valid... LINUX.X64_180000_grid_home.zip: OK LINUX.X64_180000_db_home.zip: OK DOCKER info: Containers: 1 Running: 0 Paused: 0 Stopped: 1 Images: 5 Server Version: 18.09.1-ol Storage Driver: devicemapper Pool Name: docker-251:0-17174089-pool Pool Blocksize: 65.54kB Base Device Size: 64.42GB Backing Filesystem: xfs Udev Sync Supported: true Data file: /dev/loop0 Metadata file: /dev/loop1 Data loop file: /var/lib/docker/devicemapper/devicemapper/data Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata Data Space Used: 399.4MB Data Space Total: 107.4GB Data Space Available: 107GB Metadata Space Used: 819.2kB Metadata Space Total: 2.147GB Metadata Space Available: 2.147GB Thin Pool Minimum Free Space: 10.74GB Deferred Removal Enabled: true Deferred Deletion Enabled: true Deferred Deleted Device Count: 0 Library Version: 1.02.135-RHEL7 (2016-09-28) Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: bridge host macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: runc Default Runtime: runc Init Binary: docker-init containerd version: c4446665cb9c30056f4998ed953e6d4ff22c7c39 runc version: 4bb1fe4ace1a32d3676bb98f5d3b6a4e32bf6c58 init version: fec3683 Security Options: seccomp Profile: default selinux Kernel Version: 4.1.12-61.1.18.el7uek.x86_64 Operating System: Oracle Linux Server 7.3 OSType: linux Architecture: x86_64 CPUs: 8 Total Memory: 31.17GiB Name: oracle-rac-12c.novalocal ID: JMX5:ZIKI:HZOQ:5KVL:RUQN:42S5:KCUH:TAKH:OI6Z:HW2C:ZWVT:SZK4 Docker Root Dir: /var/lib/docker Debug Mode (client): false Debug Mode (server): false Registry: https://index.docker.io/v1/ Labels: Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false Product License: Community Engine
WARNING: the devicemapper storage-driver is deprecated, and will be removed in a future release.
WARNING: devicemapper: usage of loopback devices is strongly discouraged for production use.
Use --storage-opt dm.thinpooldev
to specify a custom block storage device.
Registries: docker.io (secure)
Building image 'oracle/database-rac:18.3.0' ...
Sending build context to Docker daemon 9.947GB
Step 1/11 : FROM oraclelinux:7-slim
---> 90e39322df71
Step 2/11 : MAINTAINER Paramdeep Saini paramdeep.saini@oracle.com
---> Running in 2ddc4e38f4b6
Removing intermediate container 2ddc4e38f4b6
---> b13c41871748
Step 3/11 : ENV SETUP_LINUX_FILE="setupLinuxEnv.sh" INSTALL_DIR=/opt/scripts GRID_BASE=/u01/app/grid GRID_HOME=/u01/app/18.3.0/grid INSTALL_FILE_1="LINUX.X64_180000_grid_home.zip" GRID_INSTALL_RSP="grid.rsp" GRID_SW_INSTALL_RSP="grid_sw_inst.rsp" GRID_SETUP_FILE="setupGrid.sh" FIXUP_PREQ_FILE="fixupPreq.sh" INSTALL_GRID_BINARIES_FILE="installGridBinaries.sh" INSTALL_GRID_PATCH="applyGridPatch.sh" INVENTORY=/u01/app/oraInventory CONFIGGRID="configGrid.sh" ADDNODE="AddNode.sh" DELNODE="DelNode.sh" ADDNODE_RSP="grid_addnode.rsp" SETUPSSH="setupSSH.expect" GRID_PATCH="p28322130_183000OCWRU_Linux-x86-64.zip" PATCH_NUMBER="28322130" DOCKERORACLEINIT="dockeroracleinit" GRID_USER_HOME="/home/grid" SETUPGRIDENV="setupGridEnv.sh" ASM_DISCOVERY_DIR="/dev" RESET_OS_PASSWORD="resetOSPassword.sh" DB_BASE=/u01/app/oracle DB_HOME=/u01/app/oracle/product/18.3.0/dbhome_1 INSTALL_FILE_2="LINUX.X64_180000_db_home.zip" DB_INSTALL_RSP="db_inst.rsp" DBCA_RSP="dbca.rsp" DB_SETUP_FILE="setupDB.sh" PWD_FILE="setPassword.sh" RUN_FILE="runOracle.sh" STOP_FILE="stopOracle.sh" ENABLE_RAC_FILE="enableRAC.sh" CHECK_DB_FILE="checkDBStatus.sh" USER_SCRIPTS_FILE="runUserScripts.sh" REMOTE_LISTENER_FILE="remoteListener.sh" INSTALL_DB_BINARIES_FILE="installDBBinaries.sh" FUNCTIONS="functions.sh" COMMON_SCRIPTS="/common_scripts" CHECK_SPACE_FILE="checkSpace.sh" EXPECT="/usr/bin/expect" BIN="/usr/sbin" container="true"
---> Running in 632f4fdc0b4a
Removing intermediate container 632f4fdc0b4a
---> d29ff05c44e1
Step 4/11 : ENV INSTALL_SCRIPTS=$INSTALL_DIR/install PATH=/bin:/usr/bin:/sbin:/usr/sbin:$PATH SCRIPT_DIR=$INSTALL_DIR/startup GRID_PATH=$GRID_HOME/bin:$GRID_HOME/OPatch/:/usr/sbin:$PATH DB_PATH=$DB_HOME/bin:$DB_HOME/OPatch/:/usr/sbin:$PATH GRID_LD_LIBRARY_PATH=$GRID_HOME/lib:/usr/lib:/lib DB_LD_LIBRARY_PATH=$DB_HOME/lib:/usr/lib:/lib
---> Running in 4246bd265425
Removing intermediate container 4246bd265425
---> 723cceee4b43
Step 5/11 : COPY $GRID_SW_INSTALL_RSP $INSTALL_GRID_PATCH $SETUP_LINUX_FILE $GRID_SETUP_FILE $INSTALL_GRID_BINARIES_FILE $FIXUP_PREQ_FILE $DB_SETUP_FILE $CHECK_SPACE_FILE $DB_INSTALL_RSP $INSTALL_DB_BINARIES_FILE $ENABLE_RAC_FILE $INSTALL_FILE_1 $INSTALL_FILE_2 $GRID_PATCH $INSTALL_SCRIPTS/
COPY failed: stat /var/lib/docker/tmp/docker-builder346217711/p28322130_183000OCWRU_Linux-x86-64.zip: no such file or directory
There was an error building the image.
Thanks for trying 18.3. Did you download the zip file p28322130_183000OCWRU_Linux-x86-64.zip from following link? https://www.oracle.com/technetwork/database/database-technologies/clusterware/downloads/docker-4418413.html
Also, did you follow the steps from following README.MD? https://github.com/oracle/docker-images/blob/master/OracleDatabase/RAC/OracleRealApplicationClusters/README.md
Hi @psaini79 , It is my fault. I didnt add the patch(p28322130_183000OCWRU_Linux-x86-64.zip ). now i added that and have tried the flow. I got a different error,
DOCKER info: Client: Debug Mode: false Plugins: app: Docker Application Packages (Docker Inc., v0.6.0-202-gbaf0b246c7)
Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 19.03.0-beta1 Storage Driver: devicemapper Pool Name: docker-251:0-1509967760-pool Pool Blocksize: 65.54kB Base Device Size: 10.74GB Backing Filesystem: xfs Udev Sync Supported: true Data file: /dev/loop0 Metadata file: /dev/loop1 Data loop file: /var/lib/docker/devicemapper/devicemapper/data Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata Data Space Used: 11.73MB Data Space Total: 107.4GB Data Space Available: 107.4GB Metadata Space Used: 581.6kB Metadata Space Total: 2.147GB Metadata Space Available: 2.147GB Thin Pool Minimum Free Space: 10.74GB Deferred Removal Enabled: true Deferred Deletion Enabled: true Deferred Deleted Device Count: 0 Library Version: 1.02.149-RHEL7 (2018-07-20) Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: runc Default Runtime: runc Init Binary: docker-init containerd version: bb71b10fd8f58240ca47fbb579b9d1028eea7c84 runc version: 2b18fe1d885ee5083ef9f0838fee39b62d653e30 init version: fec3683 Security Options: seccomp Profile: default Kernel Version: 4.1.12-61.1.18.el7uek.x86_64 Operating System: Oracle Linux Server 7.6 OSType: linux Architecture: x86_64 CPUs: 8 Total Memory: 31.17GiB Name: oracle-rac-12c.novalocal ID: a5399e75-d0b7-460c-8de9-ddc1587511e2 Docker Root Dir: /var/lib/docker Debug Mode: false Registry: https://index.docker.io/v1/ Labels: Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false
--storage-opt dm.thinpooldev
to specify a custom block storage device.Building image 'oracle/database-rac:18.3.0' ... Sending build context to Docker daemon 10.49GB Step 1/11 : FROM oraclelinux:7-slim 7-slim: Pulling from library/oraclelinux 473ea9871b29: Pull complete Digest: sha256:76f330ae2797bcce363c5267da3b3d49377397fe7c01fc0c1ee13fe86fec185a Status: Downloaded newer image for oraclelinux:7-slim ---> 90e39322df71 Step 2/11 : MAINTAINER Paramdeep Saini paramdeep.saini@oracle.com Failed to mount; dmesg: <4>[603216.265901] XFS (dm-3): xlog_recover_process_ophdr: bad clientid 0x0
<4>[603216.270020] XFS (dm-3): log mount/recovery failed: error -5 <4>[603216.273806] XFS (dm-3): log mount failed : mount /dev/mapper/docker-251:0-1509967760-fb4dbe2ccffce59f60a57a7ac45af0151294bdcbeb1795799f64d2bc4884395d-init:/var/lib/docker/devicemapper/mnt/fb4dbe2ccffce59f60a57a7ac45af0151294bdcbeb1795799f64d2bc4884395d-init, data: nouuid: input/output error There was an error building the image. Do you have any idea about this building the image.As @psaini79 said in an earlier comment: please switch to using either the overlay2
storage driver on an XFS file system or btrfs
. You're using the default devicemapper storage engine and that's breaking because of limitations of that engine.
I followed [1] doc to install overlay2. when i try to start the docker i got an error,
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
● docker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled) Drop-In: /etc/systemd/system/docker.service.d └─override.conf Active: failed (Result: start-limit) since Thu 2019-04-11 12:26:22 +0530; 4s ago Docs: https://docs.docker.com Process: 23900 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE) Main PID: 23900 (code=exited, status=1/FAILURE)
Apr 11 12:26:20 oracle-rac-12c.novalocal systemd[1]: Failed to start Docker Application Container Engine. Apr 11 12:26:20 oracle-rac-12c.novalocal systemd[1]: Unit docker.service entered failed state. Apr 11 12:26:20 oracle-rac-12c.novalocal systemd[1]: docker.service failed. Apr 11 12:26:22 oracle-rac-12c.novalocal systemd[1]: docker.service holdoff time over, scheduling restart. Apr 11 12:26:22 oracle-rac-12c.novalocal systemd[1]: Stopped Docker Application Container Engine. Apr 11 12:26:22 oracle-rac-12c.novalocal systemd[1]: start request repeated too quickly for docker.service Apr 11 12:26:22 oracle-rac-12c.novalocal systemd[1]: Failed to start Docker Application Container Engine. Apr 11 12:26:22 oracle-rac-12c.novalocal systemd[1]: Unit docker.service entered failed state. Apr 11 12:26:22 oracle-rac-12c.novalocal systemd[1]: docker.service failed.
Any recommendation for this error? [1] https://docs.docker.com/storage/storagedriver/overlayfs-driver/
Configuration of Docker is outside the scope of this repository. Further, this output doesn't show the actual error. Please ask your sysadmin to troubleshoot why Docker is not starting.
I got the following error, when changing to overlay2
[cloud-user@oracle-rac-12c dockerfiles]$ sudo dockerd -s overlay2 --storage-opt overlay2.size=1G
INFO[2019-04-14T23:41:51.308202195+05:30] parsed scheme: "unix" module=grpc
INFO[2019-04-14T23:41:51.308388787+05:30] scheme "unix" not registered, fallback to default scheme module=grpc
INFO[2019-04-14T23:41:51.308459181+05:30] parsed scheme: "unix" module=grpc
INFO[2019-04-14T23:41:51.308471521+05:30] scheme "unix" not registered, fallback to default scheme module=grpc
INFO[2019-04-14T23:41:51.308551830+05:30] ccResolverWrapper: sending new addresses to cc: [{unix:///run/containerd/containerd.sock 0 <nil>}] module=grpc
INFO[2019-04-14T23:41:51.308594187+05:30] ClientConn switching balancer to "pick_first" module=grpc
INFO[2019-04-14T23:41:51.308589715+05:30] ccResolverWrapper: sending new addresses to cc: [{unix:///run/containerd/containerd.sock 0 <nil>}] module=grpc
INFO[2019-04-14T23:41:51.308613881+05:30] ClientConn switching balancer to "pick_first" module=grpc
INFO[2019-04-14T23:41:51.308652283+05:30] pickfirstBalancer: HandleSubConnStateChange: 0xc4207eef40, CONNECTING module=grpc
INFO[2019-04-14T23:41:51.308658270+05:30] pickfirstBalancer: HandleSubConnStateChange: 0xc420080e40, CONNECTING module=grpc
INFO[2019-04-14T23:41:51.308934159+05:30] pickfirstBalancer: HandleSubConnStateChange: 0xc420080e40, READY module=grpc
INFO[2019-04-14T23:41:51.308962582+05:30] pickfirstBalancer: HandleSubConnStateChange: 0xc4207eef40, READY module=grpc
Error starting daemon: error initializing graphdriver: overlay2: the backing xfs filesystem is formatted without d_type support, which leads to incorrect behavior. Reformat the filesystem with ftype=1 to enable d_type support. Backing filesystems without d_type support are not supported.
XFS file systems must be formatted with the -n ftype=1
option to mkfs.xfs
for use as an overlay backing store. If you're trying to use the root filesystem, this cannot be changed so you'll need to use a different block device.
thank you for your help, I was able to build and start the RAC container. But I am having the following log when starting the container,
[cloud-user@oracle-rac ~]$ sudo docker logs -f racnode1
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=racnode1
TERM=xterm
NODE_VIP=172.15.1.160
VIP_HOSTNAME=racnode1-vip
PRIV_IP=192.168.17.150
PRIV_HOSTNAME=racnode1-priv
PUBLIC_IP=172.15.1.150
PUBLIC_HOSTNAME=racnode1
SCAN_NAME=racnode-scan
SCAN_IP=172.15.1.70
OP_TYPE=INSTALL
DOMAIN=example.com
ASM_DISCOVERY_DIR=/oradata
ORACLE_PWD=Oracle_12c
ASM_DEVICE_LIST=/oradata/asm_disk01.img,/oradata/asm_disk02.img,/oradata/asm_disk03.img,/oradata/asm_disk04.img,/oradata/asm_disk05.img
CMAN_HOSTNAME=racnode-cman1
CMAN_IP=172.15.1.15
OS_PASSWORD=Oracle_12c
SETUP_LINUX_FILE=setupLinuxEnv.sh
INSTALL_DIR=/opt/scripts
GRID_BASE=/u01/app/grid
GRID_HOME=/u01/app/12.2.0/grid
INSTALL_FILE_1=linuxx64_12201_grid_home.zip
GRID_INSTALL_RSP=grid.rsp
GRID_SETUP_FILE=setupGrid.sh
FIXUP_PREQ_FILE=fixupPreq.sh
INSTALL_GRID_BINARIES_FILE=installGridBinaries.sh
INSTALL_GRID_PATCH=applyGridPatch.sh
INVENTORY=/u01/app/oraInventory
CONFIGGRID=configGrid.sh
ADDNODE=AddNode.sh
DELNODE=DelNode.sh
ADDNODE_RSP=grid_addnode.rsp
SETUPSSH=setupSSH.expect
GRID_PATCH=p27383741_122010_Linux-x86-64.zip
PATCH_NUMBER=27383741
SETUPDOCKERORACLEINIT=setupdockeroracleinit.sh
DOCKERORACLEINIT=dockeroracleinit
GRID_USER_HOME=/home/grid
SETUPGRIDENV=setupGridEnv.sh
DB_BASE=/u01/app/oracle
DB_HOME=/u01/app/oracle/product/12.2.0/dbhome_1
INSTALL_FILE_2=linuxx64_12201_database.zip
DB_INSTALL_RSP=db_inst.rsp
DBCA_RSP=dbca.rsp
DB_SETUP_FILE=setupDB.sh
PWD_FILE=setPassword.sh
RUN_FILE=runOracle.sh
STOP_FILE=stopOracle.sh
ENABLE_RAC_FILE=enableRAC.sh
CHECK_DB_FILE=checkDBStatus.sh
USER_SCRIPTS_FILE=runUserScripts.sh
REMOTE_LISTENER_FILE=remoteListener.sh
INSTALL_DB_BINARIES_FILE=installDBBinaries.sh
FUNCTIONS=functions.sh
COMMON_SCRIPTS=/common_scripts
CHECK_SPACE_FILE=checkSpace.sh
EXPECT=/usr/bin/expect
BIN=/usr/sbin
container=true
INSTALL_SCRIPTS=/opt/scripts/install
SCRIPT_DIR=/opt/scripts/startup
GRID_PATH=/u01/app/12.2.0/grid/bin:/u01/app/12.2.0/grid/OPatch/:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
DB_PATH=/u01/app/oracle/product/12.2.0/dbhome_1/bin:/u01/app/oracle/product/12.2.0/dbhome_1/OPatch/:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
GRID_LD_LIBRARY_PATH=/u01/app/12.2.0/grid/lib:/usr/lib:/lib
DB_LD_LIBRARY_PATH=/u01/app/oracle/product/12.2.0/dbhome_1/lib:/usr/lib:/lib
HOME=/home/grid
systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
Detected virtualization other.
Detected architecture x86-64.
Welcome to Oracle Linux Server 7.5!
Set hostname to <racnode1>.
Failed to parse kernel command line, ignoring: No such file or directory
Failed to parse kernel command line, ignoring: No such file or directory
Failed to parse kernel command line, ignoring: No such file or directory
/usr/lib/systemd/system-generators/systemd-fstab-generator failed with error code 1.
Binding to IPv6 address not available since kernel does not support IPv6.
Binding to IPv6 address not available since kernel does not support IPv6.
Cannot add dependency job for unit display-manager.service, ignoring: Unit not found.
[ OK ] Reached target RPC Port Mapper.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Created slice Root Slice.
[ OK ] Listening on Journal Socket.
[ OK ] Created slice System Slice.
[ OK ] Created slice system-getty.slice.
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Slices.
[ OK ] Listening on Delayed Shutdown Socket.
[ OK ] Reached target Local Encrypted Volumes.
[ OK ] Reached target Swap.
Starting Journal Service...
Couldn't determine result for ConditionKernelCommandLine=|rd.modules-load for systemd-modules-load.service, assuming failed: No such file or directory
Couldn't determine result for ConditionKernelCommandLine=|modules-load for systemd-modules-load.service, assuming failed: No such file or directory
Starting Configure read-only root support...
Starting Rebuild Hardware Database...
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
Starting Read and set NIS domainname from /etc/sysconfig/network...
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Started Journal Service.
[ OK ] Started Read and set NIS domainname from /etc/sysconfig/network.
Starting Flush Journal to Persistent Storage...
[ OK ] Started Configure read-only root support.
Starting Load/Save Random Seed...
[ OK ] Reached target Local File Systems.
Starting Rebuild Journal Catalog...
Starting Preprocess NFS configuration...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Rebuild Journal Catalog.
Starting Create Volatile Files and Directories...
[ OK ] Started Preprocess NFS configuration.
[ OK ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
Mounting RPC Pipe File System...
[FAILED] Failed to mount RPC Pipe File System.
See 'systemctl status var-lib-nfs-rpc_pipefs.mount' for details.
[DEPEND] Dependency failed for rpc_pipefs.target.
[DEPEND] Dependency failed for RPC security service for NFS client and server.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Rebuild Hardware Database.
Starting Update is Completed...
[ OK ] Started Update is Completed.
[ OK ] Reached target System Initialization.
[ OK ] Started Flexible branding.
[ OK ] Reached target Paths.
[ OK ] Listening on RPCbind Server Activation Socket.
Starting RPC bind service...
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Resets System Activity Logs...
Starting LSB: Bring up/down networking...
Starting GSSAPI Proxy Daemon...
Starting Login Service...
[ OK ] Started D-Bus System Message Bus.
Starting OpenSSH Server Key Generation...
[ OK ] Started Self Monitoring and Reporting Technology (SMART) Daemon.
[ OK ] Started RPC bind service.
[ OK ] Started Resets System Activity Logs.
[ OK ] Started GSSAPI Proxy Daemon.
Starting Cleanup of Temporary Directories...
[ OK ] Reached target NFS client services.
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Reached target Remote File Systems.
Starting Permit User Sessions...
[ OK ] Started Login Service.
[ OK ] Started Permit User Sessions.
[ OK ] Started Command Scheduler.
[ OK ] Started Cleanup of Temporary Directories.
[ OK ] Started OpenSSH Server Key Generation.
[ OK ] Started LSB: Bring up/down networking.
[ OK ] Reached target Network.
Starting /etc/rc.d/rc.local Compatibility...
Starting OpenSSH server daemon...
[ OK ] Reached target Network is Online.
Starting Notify NFS peers of a restart...
[ OK ] Started /etc/rc.d/rc.local Compatibility.
[ OK ] Started Console Getty.
[ OK ] Reached target Login Prompts.
[ OK ] Started Notify NFS peers of a restart.
[ OK ] Started OpenSSH server daemon.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes...
04-16-2019 16:10:18 UTC : : Process id of the program :
[ OK ] Started Update UTMP about System Runlevel Changes.
04-16-2019 16:10:18 UTC : : #################################################
04-16-2019 16:10:18 UTC : : Starting Grid Installation
04-16-2019 16:10:18 UTC : : #################################################
04-16-2019 16:10:18 UTC : : Pre-Grid Setup steps are in process
04-16-2019 16:10:18 UTC : : Process id of the program :
04-16-2019 16:10:18 UTC : : Disable failed service var-lib-nfs-rpc_pipefs.mount
Failed to parse kernel command line, ignoring: No such file or directory
Failed to parse kernel command line, ignoring: No such file or directory
Failed to parse kernel command line, ignoring: No such file or directory
04-16-2019 16:10:18 UTC : : Resetting Failed Services
04-16-2019 16:10:18 UTC : : Systemctl state is running!
04-16-2019 16:10:18 UTC : : Setting correct permissions for /bin/ping
04-16-2019 16:10:18 UTC : : Public IP is set to 172.15.1.150
04-16-2019 16:10:18 UTC : : RAC Node PUBLIC Hostname is set to racnode1
04-16-2019 16:10:18 UTC : : racnode1 already exists : 172.16.1.150 racnode1.example.com racnode1
192.168.17.150 racnode1-priv.example.com racnode1-priv
172.16.1.160 racnode1-vip.example.com racnode1-vip, no update required
04-16-2019 16:10:19 UTC : : racnode1-priv already exists : 192.168.17.150 racnode1-priv.example.com racnode1-priv, no update required
04-16-2019 16:10:19 UTC : : racnode1-vip already exists : 172.16.1.160 racnode1-vip.example.com racnode1-vip, no update required
04-16-2019 16:10:19 UTC : : racnode-scan already exists : 172.16.1.70 racnode-scan.example.com racnode-scan, no update required
04-16-2019 16:10:19 UTC : : racnode-cman1 already exists : 172.16.1.15 racnode-cman1.example.com racnode-cman1, no update required
04-16-2019 16:10:19 UTC : : Preapring Device list
04-16-2019 16:10:19 UTC : : Changing Disk permission and ownership /oradata/asm_disk01.img
04-16-2019 16:10:19 UTC : : Device /oradata/asm_disk01.img does not exist! Please verify
04-16-2019 16:10:19 UTC : : Error has occurred in Grid Setup, Please verify!
Oracle Linux Server 7.5
Kernel 4.1.12-61.1.18.el7uek.x86_64 on an x86_64
Do you have any idea about this
Did you create RACStorage container? Please paste the following command output:
docker ps -a
docker exec -i -t racnode1 /bin/bash
ls -ltr /oradata/*
Also, I would request you to look into following paper to understand RAC on Docker in detail.
https://www.oracle.com/technetwork/database/options/clustering/rac-ondocker-bp-wp-5458685.pdf
We are able to resolve the issues and create the RAC. But when someone tries to create 12.2.0.1 version, the doc in the master tag will not work. We need to check out to the older commit. It is better to point in the readme.
Good to know you were able to build it.
Can you please elaborate the issue so that I can understand it correctly and fix it accordingly.
If you dont install Oracle storage and use your own NFS server- ASM#.img file is not created. You can create it with : dd if=/dev/zero of=/path to oradata share/asm_disk01.img bs=1G count=10
@alexcooler
Are you able to install RAC? If you are seeing issue, please let me know, I will look into it.
@alexcooler
No Response. Closing this thread and if the issue still persist, please reopen it.
When I tried to build the image I get an error. su: System error Removing intermediate container cf132e54fac9
Any suggestions?