Build Virtual 11.2.0.4 Oracle Restart
Build Virtual 11.2.0.4 Oracle RestartReference: the VM'svagrant up will build the VM's to the specification in hosts.yml and run the base provisionerIf there are extra provisioners defined you need one of the following:setup=true vagrant up (if VM's are not created)setup=true vagrant provision (if the VM's are already up)setup=true giver=11.2.0.4 dbver=11.2.0.4 cdb=false vagrant upsetup=true vagrant upsetup=true giver=11.2.0.4 dbver=11.2.0.4 cdb=false vagrant provisionModifications made for share folders.F:\Vagrant\vagrant-vbox-si-asm\hosts.yml synced_folders: #- {src: swrepo, dest: /media/swrepo} - {src: "F:\\OracleSoftware", dest: /sf_OracleSoftware} - {src: "C:\\dinh\\Dropbox\\working", dest: /sf_working} - {src: "F:\\OracleSoftware\\11.2.0.4_PatchSet_Linux_x64", dest: /media/swrepo}F:\Vagrant\vagrant-vbox-si-asm\extra-provision\ansible-oracle\group_vars\vbox-si-asm oracle_stage_remote: /sf_OracleSoftware oracle_stage_remote: /sf_working oracle_stage_remote: /media/swrepo dinh@CMWPHV1 MINGW64 /f/Vagrant/vagrant-vbox-si-asm (master)$ setup=true giver=11.2.0.4 dbver=11.2.0.4 cdb=false vagrant upBringing machine 'db-asm-1' up with 'virtualbox' provider...==> db-asm-1: Importing base box 'oravirt/ol67'...==> db-asm-1: Matching MAC address for NAT networking...==> db-asm-1: Checking if box 'oravirt/ol67' is up to date...==> db-asm-1: Setting the name of the VM: db-asm-1==> db-asm-1: Clearing any previously set network interfaces...==> db-asm-1: Preparing network interfaces based on configuration... db-asm-1: Adapter 1: nat db-asm-1: Adapter 2: hostonly==> db-asm-1: Forwarding ports... db-asm-1: 22 (guest) => 2222 (host) (adapter 1)==> db-asm-1: Running 'pre-boot' VM customizations...==> db-asm-1: Booting VM...==> db-asm-1: Waiting for machine to boot. This may take a few minutes... db-asm-1: SSH address: 127.0.0.1:2222 db-asm-1: SSH username: vagrant db-asm-1: SSH auth method: private key db-asm-1: Warning: Remote connection disconnect. Retrying...==> db-asm-1: Machine booted and ready![db-asm-1] GuestAdditions versions on your host (5.1.18) and guest (5.0.20) do not match.Loaded plugins: security, ulninfoSetting up Install ProcessPackage gcc-4.4.7-18.el6.x86_64 already installed and latest versionPackage 1:make-3.81-23.el6.x86_64 already installed and latest versionPackage 4:perl-5.10.1-144.el6.x86_64 already installed and latest versionPackage bzip2-1.0.5-7.el6_0.x86_64 already installed and latest versionNothing to doCopy iso file C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.isoInstalling Virtualbox Guest Additions 5.1.18 - guest version is 5.0.20Verifying archive integrity... All good.Uncompressing VirtualBox 5.1.18 Guest Additions for Linux...........VirtualBox Guest Additions installerRemoving installed version 5.0.20 of VirtualBox Guest Additions...Stopping VirtualBox Additions [FAILED](Cannot unload module vboxguest)Removing existing VirtualBox non-DKMS kernel modules[ OK ][ OK ] VirtualBox Guest Addition service [ OK ]Copying additional installer modules ...Installing additional modules ...vboxadd.sh: Building Guest Additions kernel modules.vboxadd.sh: You should restart your guest to make sure the new modules are actually used.vboxadd.sh: Starting the VirtualBox Guest Additions.Could not find the or XFree86 Window System, skipping.Got different reports about installed GuestAdditions version:Virtualbox on your host claims: 5.0.20VBoxService inside the vm claims: 5.1.18Going on, assuming VBoxService is correct...Got different reports about installed GuestAdditions version:Virtualbox on your host claims: 5.0.20VBoxService inside the vm claims: 5.1.18Going on, assuming VBoxService is correct...==> db-asm-1: Checking for guest additions in VM... db-asm-1: The guest additions on this VM do not match the installed version of db-asm-1: VirtualBox! In most cases this is fine, but in rare cases it can db-asm-1: prevent things such as shared folders from working properly. If you see db-asm-1: shared folder errors, please make sure the guest additions within the db-asm-1: virtual machine match the version of VirtualBox you have installed on db-asm-1: your host and reload your VM. db-asm-1: db-asm-1: Guest Additions Version: 5.0.20 db-asm-1: VirtualBox Version: 5.1==> db-asm-1: Setting hostname...==> db-asm-1: Configuring and enabling network interfaces...==> db-asm-1: Mounting shared folders... db-asm-1: /vagrant => F:/Vagrant/vagrant-vbox-si-asm db-asm-1: /sf_working => C:/dinh/Dropbox/working db-asm-1: /media/swrepo => F:/OracleSoftware/11.2.0.4_PatchSet_Linux_x64 db-asm-1: /sf_OracleSoftware => F:/OracleSoftware==> db-asm-1: Running provisioner: network (shell)... db-asm-1: Running: inline script==> db-asm-1: Shutting down interface eth0:==> db-asm-1: [ OK ]==> db-asm-1: Shutting down interface eth1:==> db-asm-1: [ OK ]==> db-asm-1: Shutting down loopback interface:==> db-asm-1: [ OK ]==> db-asm-1: Bringing up loopback interface:==> db-asm-1: [ OK ]==> db-asm-1: Bringing up interface eth0:==> db-asm-1: Determining IP information for eth0...==> db-asm-1: done.==> db-asm-1: [ OK ]==> db-asm-1: Bringing up interface eth1:==> db-asm-1: Determining if ip address 192.168.146.15 is already in use for device eth1...==> db-asm-1: [ OK ]==> db-asm-1: Running provisioner: ansible_local... db-asm-1: Running ansible-playbook...PLAY [all] *********************************************************************TASK [setup] *******************************************************************ok: [db-asm-1]TASK [init : Install packages] *************************************************ok: [db-asm-1] => (item=[u'ntp', u'dnsmasq'])TASK [init : Make sure ntp is running] *****************************************changed: [db-asm-1]TASK [init : Generate /etc/hosts] **********************************************changed: [db-asm-1]TASK [init : Generate /etc/resolv.conf] ****************************************changed: [db-asm-1]TASK [init : Generate dnsmasq config] ******************************************changed: [db-asm-1]TASK [init : Start and enable dnsmasq] *****************************************changed: [db-asm-1]RUNNING HANDLER [init : restart dnsmasq] ***************************************changed: [db-asm-1]PLAY RECAP *********************************************************************db-asm-1 : ok=8 changed=6 unreachable=0 failed=0==> db-asm-1: Running provisioner: ansible_local... db-asm-1: Running ansible-playbook... [WARNING]: While constructing a mapping from /vagrant/extra-provision/ansible-oracle/roles/orahost/tasks/main.yml, line 6, column 7, found a duplicate dictkey (that). Using last defined value only. [WARNING]: While constructing a mapping from /vagrant/extra-provision/ansible-oracle/group_vars/vbox-si-asm, line 2, column 3, found a duplicate dict key(oracle_stage_remote). Using last defined value only.PLAY [Host configuration] ******************************************************TASK [setup] *******************************************************************ok: [db-asm-1]TASK [common : Install EPEL Repo] **********************************************TASK [common : Get newest repo-file for OL (public-yum)] ***********************TASK [common : Install common packages OL/RHEL] ********************************TASK [common : Install common packages SLES12] *********************************TASK [common : Start and enable NTP] *******************************************changed: [db-asm-1]TASK [common : Add motd] *******************************************************changed: [db-asm-1]TASK [orahost : Check for correct OS family & min version] *********************ok: [db-asm-1] => { "changed": false, "msg": "All assertions passed"}TASK [orahost : Install packages required by Oracle on OL/RHEL] ****************TASK [orahost : Install packages required by Oracle on SLES] *******************TASK [orahost : Install packages required by Oracle for ASMlib on OL/RHEL] *****TASK [orahost : Install packages required by Oracle for ASMlib on SLES] ********TASK [orahost : Disable firewall] **********************************************changed: [db-asm-1]TASK [orahost : Disable selinux (permanently)] *********************************TASK [orahost : Disable selinux (runtime)] *************************************TASK [orahost : Check dns for host] ********************************************changed: [db-asm-1]TASK [orahost : Add host to /etc/hosts if needed] ******************************TASK [orahost : User | Add group(s)] *******************************************changed: [db-asm-1] => (item={u'gid': 54318, u'group': u'asmdba'})changed: [db-asm-1] => (item={u'gid': 54319, u'group': u'asmoper'})changed: [db-asm-1] => (item={u'gid': 54320, u'group': u'asmadmin'})changed: [db-asm-1] => (item={u'gid': 54321, u'group': u'oinstall'})changed: [db-asm-1] => (item={u'gid': 54322, u'group': u'dba'})changed: [db-asm-1] => (item={u'gid': 54323, u'group': u'backupdba'})changed: [db-asm-1] => (item={u'gid': 54324, u'group': u'oper'})changed: [db-asm-1] => (item={u'gid': 54325, u'group': u'dgdba'})changed: [db-asm-1] => (item={u'gid': 54326, u'group': u'kmdba'})TASK [orahost : User | Add Oracle user] ****************************************changed: [db-asm-1] => (item={u'username': u'oracle', u'primgroup': u'oinstall', u'passwd': u'$6$VwR.53R4$HtKoSj3TxZCc4nWoqCrnBx8ldjJ2e7pfe1KKEvjkctAK653RL5FfsPRh5SuhrZEcGElba.G68EPHG3dV5z7ty.', u'uid': 54321, u'othergroups': u'dba,asmdba,backupdba,dgdba,kmdba,oper'})TASK [orahost : User | Add Grid user] ******************************************TASK [orahost : User | Add Oracle user to sudoers] *****************************changed: [db-asm-1] => (item={u'username': u'oracle', u'primgroup': u'oinstall', u'passwd': u'$6$VwR.53R4$HtKoSj3TxZCc4nWoqCrnBx8ldjJ2e7pfe1KKEvjkctAK653RL5FfsPRh5SuhrZEcGElba.G68EPHG3dV5z7ty.', u'uid': 54321, u'othergroups': u'dba,asmdba,backupdba,dgdba,kmdba,oper'})TASK [orahost : User | Add Grid user to sudoers] *******************************TASK [orahost : ssh-keys | Generate SSH keys] **********************************TASK [orahost : ssh-keys | Add ssh-keys & authorized_keys to oracle user] ******TASK [orahost : ssh-keys | Add ssh-keys & authorized_keys to grid user] ********TASK [orahost : ssh-keys | Add short name to known_hosts] **********************TASK [orahost : ssh-keys | Add FQDN to known_hosts] ****************************TASK [orahost : ssh-keys | Add IPv4 to known_hosts] ****************************TASK [orahost : ssh-keys | Copy known_hosts to oracle user] ********************TASK [orahost : ssh-keys | Copy known_hosts to grid user] **********************TASK [orahost : ssh-keys | Remove generated keys from control machine] *********TASK [orahost : filesystem | Create directories] *******************************changed: [db-asm-1] => (item=({u'vgname': u'vgora', u'disk': [{u'device': u'/dev/sdb', u'pvname': u'/dev/sdb1'}], u'state': u'present'}, {u'mntp': u'/u01', u'lvsize': u'100%FREE', u'fstype': u'ext4', u'lvname': u'lvora'}))TASK [orahost : filesystem | Create partition and pv] **************************changed: [db-asm-1] => (item=({u'vgname': u'vgora', u'state': u'present', u'filesystem': [{u'mntp': u'/u01', u'lvsize': u'100%FREE', u'fstype': u'ext4', u'lvname': u'lvora'}]}, {u'device': u'/dev/sdb', u'pvname': u'/dev/sdb1'}))TASK [orahost : filesystem | Create vg] ****************************************changed: [db-asm-1] => (item={u'vgname': u'vgora', u'disk': [{u'device': u'/dev/sdb', u'pvname': u'/dev/sdb1'}], u'state': u'present', u'filesystem': [{u'mntp': u'/u01', u'lvsize': u'100%FREE', u'lvname': u'lvora', u'fstype': u'ext4'}]})TASK [orahost : filesystem | create lv] ****************************************changed: [db-asm-1] => (item=({u'vgname': u'vgora', u'disk': [{u'device': u'/dev/sdb', u'pvname': u'/dev/sdb1'}], u'state': u'present'}, {u'mntp': u'/u01', u'lvsize': u'100%FREE', u'fstype': u'ext4', u'lvname': u'lvora'}))TASK [orahost : filesystem | create fs] ****************************************changed: [db-asm-1] => (item=({u'vgname': u'vgora', u'disk': [{u'device': u'/dev/sdb', u'pvname': u'/dev/sdb1'}], u'state': u'present'}, {u'mntp': u'/u01', u'lvsize': u'100%FREE', u'fstype': u'ext4', u'lvname': u'lvora'}))TASK [orahost : filesytem | mount dir] *****************************************changed: [db-asm-1] => (item=({u'vgname': u'vgora', u'disk': [{u'device': u'/dev/sdb', u'pvname': u'/dev/sdb1'}], u'state': u'present'}, {u'mntp': u'/u01', u'lvsize': u'100%FREE', u'fstype': u'ext4', u'lvname': u'lvora'}))TASK [orahost : filesystem | Change permission on directories] *****************changed: [db-asm-1] => (item=({u'vgname': u'vgora', u'disk': [{u'device': u'/dev/sdb', u'pvname': u'/dev/sdb1'}], u'state': u'present'}, {u'mntp': u'/u01', u'lvsize': u'100%FREE', u'fstype': u'ext4', u'lvname': u'lvora'}))TASK [orahost : Oracle-recommended kernel settings] ****************************ok: [db-asm-1] => (item={u'name': u'kernel.shmall', u'value': 4294967296})ok: [db-asm-1] => (item={u'name': u'kernel.shmmax', u'value': 68719476736})changed: [db-asm-1] => (item={u'name': u'kernel.shmmni', u'value': 4096})changed: [db-asm-1] => (item={u'name': u'kernel.sem', u'value': u'250 32000 100 128'})changed: [db-asm-1] => (item={u'name': u'fs.file-max', u'value': 6815744})changed: [db-asm-1] => (item={u'name': u'fs.aio-max-nr', u'value': 3145728})changed: [db-asm-1] => (item={u'name': u'net.ipv4.ip_local_port_range', u'value': u'9000 65500'})changed: [db-asm-1] => (item={u'name': u'net.core.rmem_default', u'value': 262144})changed: [db-asm-1] => (item={u'name': u'net.core.rmem_max', u'value': 4194304})changed: [db-asm-1] => (item={u'name': u'net.core.wmem_default', u'value': 262144})changed: [db-asm-1] => (item={u'name': u'net.core.wmem_max', u'value': 1048576})changed: [db-asm-1] => (item={u'name': u'kernel.panic_on_oops', u'value': 1})TASK [orahost : Oracle hugepages] **********************************************changed: [db-asm-1] => (item={u'name': u'vm.nr_hugepages', u'value': u'438'})TASK [orahost : Oracle-recommended PAM config] *********************************changed: [db-asm-1]TASK [orahost : Oracle-recommended security limits] ****************************changed: [db-asm-1]TASK [orahost : Oracle-recommended security limits on SLES] ********************TASK [orahost : include] *******************************************************included: /vagrant/extra-provision/ansible-oracle/roles/orahost/tasks/RedHat-6.yml for db-asm-1TASK [orahost : Count number of kernel lines that needs to be changed (numa=off transparent_hugepage=never)] ***changed: [db-asm-1]TASK [orahost : Disable Transparent Hugepages (in grub.conf)] ******************changed: [db-asm-1] => (item=0)changed: [db-asm-1] => (item=1)changed: [db-asm-1] => (item=2)ok: [db-asm-1] => (item=3)TASK [orahost : Disable Numa (in grub.conf)] ***********************************changed: [db-asm-1] => (item=0)changed: [db-asm-1] => (item=1)changed: [db-asm-1] => (item=2)ok: [db-asm-1] => (item=3)TASK [orahost : Disable Transparent Hugepages (runtime)] ***********************changed: [db-asm-1]TASK [orahost : Network | Setup ip-address for RAC Interconnect] ***************TASK [orahost : Network | Bring up eth1] ***************************************TASK [orahost : Create stage directory] ****************************************changed: [db-asm-1]TASK [orahost : Create rsp stage directory] ************************************changed: [db-asm-1]TASK [orahost : Create udev stage directory] ***********************************changed: [db-asm-1]TASK [orahost : Asmlib | Configure Oracle Asmlib (1)] **************************TASK [orahost : Asmlib | Configure Oracle Asmlib (2)] **************************TASK [orahost : Asmlib | Enable and start Oracle Asmlib] ***********************TASK [orahost : Asmlib | Restart Asmlib] ***************************************TASK [orahost-storage : ASM-storage | Create device to label mappings for asm] *changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdc', u'asmlabel': u'crs01'}], u'diskgroup': u'crs', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdd', u'asmlabel': u'data01'}, {u'device': u'/dev/sde', u'asmlabel': u'data02'}], u'diskgroup': u'data', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdf', u'asmlabel': u'fra01'}, {u'device': u'/dev/sdg', u'asmlabel': u'fra02'}, {u'device': u'/dev/sdh', u'asmlabel': u'fra03'}], u'diskgroup': u'fra', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})TASK [orahost-storage : ASM-storage | Build script to create partitions] *******changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdc', u'asmlabel': u'crs01'}], u'diskgroup': u'crs', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdd', u'asmlabel': u'data01'}, {u'device': u'/dev/sde', u'asmlabel': u'data02'}], u'diskgroup': u'data', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdf', u'asmlabel': u'fra01'}, {u'device': u'/dev/sdg', u'asmlabel': u'fra02'}, {u'device': u'/dev/sdh', u'asmlabel': u'fra03'}], u'diskgroup': u'fra', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})TASK [orahost-storage : ASM-storage | Run script to create partitions] *********changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdc', u'asmlabel': u'crs01'}], u'diskgroup': u'crs', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdd', u'asmlabel': u'data01'}, {u'device': u'/dev/sde', u'asmlabel': u'data02'}], u'diskgroup': u'data', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdf', u'asmlabel': u'fra01'}, {u'device': u'/dev/sdg', u'asmlabel': u'fra02'}, {u'device': u'/dev/sdh', u'asmlabel': u'fra03'}], u'diskgroup': u'fra', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})TASK [orahost-storage : ASM-storage | run kpartx to add partition] *************TASK [orahost-storage : include] ***********************************************included: /vagrant/extra-provision/ansible-oracle/roles/orahost-storage/tasks/udev.yml for db-asm-1TASK [orahost-storage : udev | Create device to label mappings for udev] *******changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdc', u'asmlabel': u'crs01'}], u'diskgroup': u'crs', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdd', u'asmlabel': u'data01'}, {u'device': u'/dev/sde', u'asmlabel': u'data02'}], u'diskgroup': u'data', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdf', u'asmlabel': u'fra01'}, {u'device': u'/dev/sdg', u'asmlabel': u'fra02'}, {u'device': u'/dev/sdh', u'asmlabel': u'fra03'}], u'diskgroup': u'fra', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})TASK [orahost-storage : udev | Assemble into one mapfile] **********************changed: [db-asm-1]TASK [orahost-storage : udev | Create script to create rules] ******************changed: [db-asm-1]TASK [orahost-storage : udev | Run script to create udev rules] ****************changed: [db-asm-1]TASK [orahost-storage : udev | Reload rules] ***********************************changed: [db-asm-1]TASK [orahost-storage : udev | List device aliases (register)] *****************changed: [db-asm-1]TASK [orahost-storage : udev | List device aliases] ****************************ok: [db-asm-1] => { "lsdevice.stdout_lines": [ "total 0", "brw-rw----. 1 oracle dba 8, 33 Oct 8 16:31 crs01", "brw-rw----. 1 oracle dba 8, 49 Oct 8 16:31 data01", "brw-rw----. 1 oracle dba 8, 65 Oct 8 16:31 data02", "brw-rw----. 1 oracle dba 8, 81 Oct 8 16:31 fra01", "brw-rw----. 1 oracle dba 8, 97 Oct 8 16:31 fra02", "brw-rw----. 1 oracle dba 8, 113 Oct 8 16:31 fra03" ]}PLAY [Oracle Grid Infrastructure installation & ASM Configuration] *************TASK [setup] *******************************************************************ok: [db-asm-1]TASK [oraswgi-install : Check if GI is already installed] **********************changed: [db-asm-1]TASK [oraswgi-install : Mount nfs share with installation media] ***************TASK [oraswgi-install : Add new dotprofile (GI)] *******************************changed: [db-asm-1]TASK [oraswgi-install : Create stage directory (base)] *************************ok: [db-asm-1]TASK [oraswgi-install : Create stage directory (version specific)] *************changed: [db-asm-1] => (item={u'version': u'11.2.0.4', u'filename': u'p13390677_112040_Linux-x86-64_3of7.zip'})TASK [oraswgi-install : Create rsp stage directory] ****************************ok: [db-asm-1]TASK [oraswgi-install : Create ORACLE_INVENTORY directory] *********************changed: [db-asm-1]TASK [oraswgi-install : Create ORACLE_BASE directory] **************************ok: [db-asm-1]TASK [oraswgi-install : Create admin directory] ********************************changed: [db-asm-1]TASK [oraswgi-install : Create cfgtoollogs directory] **************************ok: [db-asm-1]TASK [oraswgi-install : Create ORACLE_HOME directory (GI)] *********************changed: [db-asm-1]TASK [oraswgi-install : Copy oracle installfiles to server (GI) (web)] *********TASK [oraswgi-install : Copy oracle installfiles to server (GI) (local)] *******TASK [oraswgi-install : include] ***********************************************included: /vagrant/extra-provision/ansible-oracle/roles/oraswgi-install/tasks/11.2.0.4.yml for db-asm-1TASK [oraswgi-install : Extract files to stage-area (GI)] **********************TASK [oraswgi-install : Extract files to stage-area (GI) (from remote location)] ***changed: [db-asm-1] => (item={u'version': u'11.2.0.4', u'filename': u'p13390677_112040_Linux-x86-64_3of7.zip'})TASK [oraswgi-install : Install cvuqdisk rpm] **********************************TASK [oraswgi-install : Setup response file for install (GI)] ******************changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdc', u'asmlabel': u'crs01'}], u'diskgroup': u'crs', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})TASK [oraswgi-install : Install Grid Infrastructure] ***************************changed: [db-asm-1]TASK [oraswgi-install : debug] *************************************************ok: [db-asm-1] => { "giinstall.stdout_lines": [ "Starting Oracle Universal Installer...", "", "Checking Temp space: must be greater than 120 MB. Actual 43267 MB Passed", "Checking swap space: must be greater than 150 MB. Actual 1023 MB Passed", "Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-10-08_04-34-21PM. Please wait ...[WARNING] [INS-41808] Possible invalid choice for OSASM Group.", " CAUSE: The name of the group you selected for the OSASM group is commonly used to grant other system privileges (For example: asmdba, asmoper, dba, oper).", " ACTION: Oracle recommends that you designate asmadmin as the OSASM group.", "[WARNING] [INS-41809] Possible invalid choice for OSDBA Group.", " CAUSE: The group name you selected as the OSDBA for ASM group is commonly used for Oracle Database administrator privileges.", " ACTION: Oracle recommends that you designate asmdba as the OSDBA for ASM group, and that the group should not be the same group as an Oracle Database OSDBA group.", "[WARNING] [INS-41810] Possible invalid choice for OSOPER Group.", " CAUSE: The group name you selected as the OSOPER for ASM group is commonly used for Oracle Database administrator privileges.", " ACTION: Oracle recommends that you designate asmoper as the OSOPER for ASM group, and that the group should not be the same group as an Oracle Database OSOPER group.", "[WARNING] [INS-41812] OSDBA and OSASM are the same OS group.", " CAUSE: The chosen values for OSDBA group and the chosen value for OSASM group are the same.", " ACTION: Select an OS group that is unique for ASM administrators. The OSASM group should not be the same as the OS groups that grant privileges for Oracle ASM access, or for database administration.", "You can find the log of this install session at:", " /u01/app/oraInventory/logs/installActions2017-10-08_04-34-21PM.log", "", "Prepare in progress.", ".................................................. 9% Done.", "", "Prepare successful.", "", "Copy files in progress.", ".................................................. 14% Done.", ".................................................. 21% Done.", ".................................................. 26% Done.", ".................................................. 31% Done.", ".................................................. 36% Done.", ".................................................. 42% Done.", ".................................................. 50% Done.", ".................................................. 56% Done.", ".................................................. 61% Done.", ".................................................. 66% Done.", ".................................................. 71% Done.", "........................................", "Copy files successful.", "", "Link binaries in progress.", "..........", "Link binaries successful.", "..........", "Setup files in progress.", ".................................................. 76% Done.", ".................................................. 89% Done.", "", "Setup files successful.", "The installation of Oracle Grid Infrastructure 11g was successful.", "Please check '/u01/app/oraInventory/logs/silentInstall2017-10-08_04-34-21PM.log' for more details.", ".................................................. 94% Done.", "", "Execute Root Scripts in progress.", "", "As a root user, execute the following script(s):", "\t1. /u01/app/oraInventory/orainstRoot.sh", "\t2. /u01/app/oracle/11.2.0.4/grid/root.sh", "", "", ".................................................. 100% Done.", "", "Execute Root Scripts successful.", "As install user, execute the following script to complete the configuration.", "\t1. /u01/app/oracle/11.2.0.4/grid/cfgtoollogs/configToolAllCommands RESPONSE_FILE=<response_file>", "", " \tNote:", "\t1. This script must be run on the same host from where installer was run. ", "\t2. This script needs a small password properties file for configuration assistants that require passwords (refer to install guide documentation).", "", "", "Successfully Setup Software." ]}TASK [oraswgi-install : Run oraInstroot script after installation] *************changed: [db-asm-1]TASK [oraswgi-install : Run root script after installation (Master Node)] ******changed: [db-asm-1]TASK [oraswgi-install : debug] *************************************************ok: [db-asm-1] => { "rootmaster.stdout_lines": [ "Check /u01/app/oracle/11.2.0.4/grid/install/root_db-asm-1_2017-10-08_16-44-47.log for the output of root script" ]}TASK [oraswgi-install : Run root script after installation (Other Nodes)] ******TASK [oraswgi-install : debug] *************************************************TASK [oraswgi-install : Setup response file for configToolAllCommands] *********changed: [db-asm-1]TASK [oraswgi-install : Run configToolAllCommands] *****************************changed: [db-asm-1]TASK [oraswgi-install : Check if stuff is running] *****************************changed: [db-asm-1]TASK [oraswgi-install : debug] *************************************************ok: [db-asm-1] => { "crsctl.stdout_lines": [ "--------------------------------------------------------------------------------", "NAME TARGET STATE SERVER STATE_DETAILS ", "--------------------------------------------------------------------------------", "Local Resources", "--------------------------------------------------------------------------------", "ora.CRS.dg", " ONLINE ONLINE db-asm-1 ", "ora.LISTENER.lsnr", " ONLINE ONLINE db-asm-1 ", "ora.asm", " ONLINE ONLINE db-asm-1 Started ", "ora.ons", " OFFLINE OFFLINE db-asm-1 ", "--------------------------------------------------------------------------------", "Cluster Resources", "--------------------------------------------------------------------------------", "ora.cssd", " 1 ONLINE ONLINE db-asm-1 ", "ora.diskmon", " 1 OFFLINE OFFLINE ", "ora.evmd", " 1 ONLINE ONLINE db-asm-1 " ]}TASK [oraswgi-install : Update Nodelist, set CRS=TRUE] *************************changed: [db-asm-1]TASK [oraswgi-install : Add additional info to glogin.sql (1)] *****************changed: [db-asm-1]TASK [oraswgi-install : Add additional info to glogin.sql (2)] *****************changed: [db-asm-1]TASK [oraswgi-install : Check opatch lsinventory (GI)] *************************changed: [db-asm-1]TASK [oraswgi-install : Check opatch lsinventory (GI)] *************************ok: [db-asm-1] => { "opatchls.stdout_lines": [ "Oracle Interim Patch Installer version 11.2.0.3.4", "Copyright (c) 2012, Oracle Corporation. All rights reserved.", "", "", "Oracle Home : /u01/app/oracle/11.2.0.4/grid", "Central Inventory : /u01/app/oraInventory", " from : /u01/app/oracle/11.2.0.4/grid/oraInst.loc", "OPatch version : 11.2.0.3.4", "OUI version : 11.2.0.4.0", "Log file location : /u01/app/oracle/11.2.0.4/grid/cfgtoollogs/opatch/opatch2017-10-08_16-48-01PM_1.log", "", "Lsinventory Output file location : /u01/app/oracle/11.2.0.4/grid/cfgtoollogs/opatch/lsinv/lsinventory2017-10-08_16-48-01PM.txt", "", "--------------------------------------------------------------------------------", "Installed Top-level Products (1): ", "", "Oracle Grid Infrastructure 11g 11.2.0.4.0", "There are 1 products installed in this Oracle Home.", "", "", "There are no Interim patches installed in this Oracle Home.", "", "", "--------------------------------------------------------------------------------", "", "OPatch succeeded." ]}TASK [oraswgi-install : Check olsnodes (GI)] ***********************************TASK [oraswgi-install : Check olsnodes (GI)] ***********************************TASK [oraswgi-install : Unmount nfs share with installation media] *************TASK [oraasm-createdg : ASMCA | Create script to build asm-diskgroups] *********changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdd', u'asmlabel': u'data01'}, {u'device': u'/dev/sde', u'asmlabel': u'data02'}], u'diskgroup': u'data', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdf', u'asmlabel': u'fra01'}, {u'device': u'/dev/sdg', u'asmlabel': u'fra02'}, {u'device': u'/dev/sdh', u'asmlabel': u'fra03'}], u'diskgroup': u'fra', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})TASK [oraasm-createdg : ASMCA | Create ASM diskgroups] *************************changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdd', u'asmlabel': u'data01'}, {u'device': u'/dev/sde', u'asmlabel': u'data02'}], u'diskgroup': u'data', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdf', u'asmlabel': u'fra01'}, {u'device': u'/dev/sdg', u'asmlabel': u'fra02'}, {u'device': u'/dev/sdh', u'asmlabel': u'fra03'}], u'diskgroup': u'fra', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})TASK [oraasm-createdg : Print Results] *****************************************fatal: [db-asm-1]: FAILED! => {"failed": true, "msg": "template error while templating string: no filter named 'map'. String: {{ asmca.results|map(attribute='stdout_lines')|list }}"}...ignoringTASK [oraasm-createdg : ASMCA | List ASM diskgroups] ***************************changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdc', u'asmlabel': u'crs01'}], u'diskgroup': u'crs', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdd', u'asmlabel': u'data01'}, {u'device': u'/dev/sde', u'asmlabel': u'data02'}], u'diskgroup': u'data', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})changed: [db-asm-1] => (item={u'attributes': [{u'name': u'compatible.rdbms', u'value': u'11.2.0.4.0'}, {u'name': u'compatible.asm', u'value': u'11.2.0.4'}], u'disk': [{u'device': u'/dev/sdf', u'asmlabel': u'fra01'}, {u'device': u'/dev/sdg', u'asmlabel': u'fra02'}, {u'device': u'/dev/sdh', u'asmlabel': u'fra03'}], u'diskgroup': u'fra', u'properties': [{u'redundancy': u'external', u'ausize': 4}]})TASK [oraasm-createdg : list diskgroups] ***************************************fatal: [db-asm-1]: FAILED! => {"failed": true, "msg": "template error while templating string: no filter named 'map'. String: {{ srvctlasm.results|map(attribute='stdout_lines')|list }}"}...ignoringPLAY [Database Server Installation & Database Creation] ************************TASK [setup] *******************************************************************ok: [db-asm-1]TASK [oraswdb-install : Check if DB-server is already installed] ***************changed: [db-asm-1] => (item={'is_container': u'false', 'oracle_db_type': u'SI', 'service_name': u'orclcdb_serv', 'num_pdbs': u'1', 'pdb_prefix': u'orclpdb', 'storage_type': u'ASM', 'oracle_db_name': u'orclcdb', 'redolog_size_in_mb': u'100', 'state': u'present', 'oracle_edition': u'EE', 'oracle_db_mem_totalmb': u'1024', 'oracle_version_db': u'11.2.0.4', 'oracle_database_type': u'MULTIPURPOSE', 'oracle_db_passwd': u'Oracle123', 'home': u'db1'})TASK [oraswdb-install : Mount nfs share with installation media] ***************TASK [oraswdb-install : Add new dotprofile (DB)] *******************************changed: [db-asm-1] => (item={'is_container': u'false', 'oracle_db_type': u'SI', 'service_name': u'orclcdb_serv', 'num_pdbs': u'1', 'pdb_prefix': u'orclpdb', 'storage_type': u'ASM', 'oracle_db_name': u'orclcdb', 'redolog_size_in_mb': u'100', 'state': u'present', 'oracle_edition': u'EE', 'oracle_db_mem_totalmb': u'1024', 'oracle_version_db': u'11.2.0.4', 'oracle_database_type': u'MULTIPURPOSE', 'oracle_db_passwd': u'Oracle123', 'home': u'db1'})TASK [oraswdb-install : Add oraInst.loc] ***************************************changed: [db-asm-1]TASK [oraswdb-install : Create stage directory (base)] *************************ok: [db-asm-1]TASK [oraswdb-install : Create stage directory (version specific)] *************ok: [db-asm-1] => (item=[{u'version': u'11.2.0.4', u'filename': u'p13390677_112040_Linux-x86-64_1of7.zip'}, {'is_container': 'false', 'home': 'db1', 'state': 'present', 'oracle_db_type': 'SI', 'service_name': 'orclcdb_serv', 'num_pdbs': '1', 'pdb_prefix': 'orclpdb', 'oracle_db_name': 'orclcdb', 'redolog_size_in_mb': '100', 'storage_type': 'ASM', 'oracle_edition': 'EE', 'oracle_db_mem_totalmb': '1024', 'oracle_database_type': 'MULTIPURPOSE', 'oracle_db_passwd': 'Oracle123', 'oracle_version_db': '11.2.0.4'}])ok: [db-asm-1] => (item=[{u'version': u'11.2.0.4', u'filename': u'p13390677_112040_Linux-x86-64_2of7.zip'}, {'is_container': 'false', 'home': 'db1', 'state': 'present', 'oracle_db_type': 'SI', 'service_name': 'orclcdb_serv', 'num_pdbs': '1', 'pdb_prefix': 'orclpdb', 'oracle_db_name': 'orclcdb', 'redolog_size_in_mb': '100', 'storage_type': 'ASM', 'oracle_edition': 'EE', 'oracle_db_mem_totalmb': '1024', 'oracle_database_type': 'MULTIPURPOSE', 'oracle_db_passwd': 'Oracle123', 'oracle_version_db': '11.2.0.4'}])TASK [oraswdb-install : Create rsp stage directory] ****************************ok: [db-asm-1]TASK [oraswdb-install : Create ORACLE_BASE directory] **************************ok: [db-asm-1]TASK [oraswdb-install : Create cfgtoollogs directory] **************************changed: [db-asm-1]TASK [oraswdb-install : Create admin directory] ********************************ok: [db-asm-1]TASK [oraswdb-install : Create audit directory] ********************************changed: [db-asm-1]TASK [oraswdb-install : Create ORACLE_HOME directory] **************************changed: [db-asm-1] => (item={'is_container': u'false', 'oracle_db_type': u'SI', 'service_name': u'orclcdb_serv', 'num_pdbs': u'1', 'pdb_prefix': u'orclpdb', 'storage_type': u'ASM', 'oracle_db_name': u'orclcdb', 'redolog_size_in_mb': u'100', 'state': u'present', 'oracle_edition': u'EE', 'oracle_db_mem_totalmb': u'1024', 'oracle_version_db': u'11.2.0.4', 'oracle_database_type': u'MULTIPURPOSE', 'oracle_db_passwd': u'Oracle123', 'home': u'db1'})TASK [oraswdb-install : Transfer oracle installfiles to server (www)] **********TASK [oraswdb-install : Transfer oracle installfiles to server (local)] ********TASK [oraswdb-install : Extract files to stage-area] ***************************TASK [oraswdb-install : Extract files to stage-area (from remote location)] ****changed: [db-asm-1] => (item=[{u'version': u'11.2.0.4', u'filename': u'p13390677_112040_Linux-x86-64_1of7.zip'}, {'is_container': 'false', 'home': 'db1', 'state': 'present', 'oracle_db_type': 'SI', 'service_name': 'orclcdb_serv', 'num_pdbs': '1', 'pdb_prefix': 'orclpdb', 'oracle_db_name': 'orclcdb', 'redolog_size_in_mb': '100', 'storage_type': 'ASM', 'oracle_edition': 'EE', 'oracle_db_mem_totalmb': '1024', 'oracle_database_type': 'MULTIPURPOSE', 'oracle_db_passwd': 'Oracle123', 'oracle_version_db': '11.2.0.4'}])changed: [db-asm-1] => (item=[{u'version': u'11.2.0.4', u'filename': u'p13390677_112040_Linux-x86-64_2of7.zip'}, {'is_container': 'false', 'home': 'db1', 'state': 'present', 'oracle_db_type': 'SI', 'service_name': 'orclcdb_serv', 'num_pdbs': '1', 'pdb_prefix': 'orclpdb', 'oracle_db_name': 'orclcdb', 'redolog_size_in_mb': '100', 'storage_type': 'ASM', 'oracle_edition': 'EE', 'oracle_db_mem_totalmb': '1024', 'oracle_database_type': 'MULTIPURPOSE', 'oracle_db_passwd': 'Oracle123', 'oracle_version_db': '11.2.0.4'}])TASK [oraswdb-install : Setup response file for install (DB)] ******************changed: [db-asm-1] => (item=[{'is_container': u'false', 'home': u'db1', 'state': u'present', 'oracle_db_type': u'SI', 'service_name': u'orclcdb_serv', 'num_pdbs': u'1', 'pdb_prefix': u'orclpdb', 'oracle_db_name': u'orclcdb', 'redolog_size_in_mb': u'100', 'storage_type': u'ASM', 'oracle_edition': u'EE', 'oracle_db_mem_totalmb': u'1024', 'oracle_database_type': u'MULTIPURPOSE', 'oracle_db_passwd': u'Oracle123', 'oracle_version_db': u'11.2.0.4'}, {u'_ansible_parsed': True, u'_ansible_item_result': True, u'stdout': u'0', u'_ansible_no_log': False, u'warnings': [], u'changed': True, u'rc': 0, u'end': u'2017-10-08 16:49:02.144223', u'start': u'2017-10-08 16:49:02.139182', u'cmd': u'grep "/u01/app/oracle/11.2.0.4/db1" "/u01/app/oraInventory/ContentsXML/inventory.xml" |wc -l', u'item': {u'is_container': u'false', u'oracle_db_type': u'SI', u'service_name': u'orclcdb_serv', u'num_pdbs': u'1', u'pdb_prefix': u'orclpdb', u'oracle_db_name': u'orclcdb', u'redolog_size_in_mb': u'100', u'state': u'present', u'oracle_edition': u'EE', u'oracle_db_mem_totalmb': u'1024', u'oracle_version_db': u'11.2.0.4', u'oracle_database_type': u'MULTIPURPOSE', u'oracle_db_passwd': u'Oracle123', u'home': u'db1', u'storage_type': u'ASM'}, u'delta': u'0:00:00.005041', u'invocation': {u'module_name': u'command', u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': True, u'_raw_params': u'grep "/u01/app/oracle/11.2.0.4/db1" "/u01/app/oraInventory/ContentsXML/inventory.xml" |wc -l', u'removes': None, u'warn': True, u'chdir': None}}, u'stdout_lines': [u'0'], u'stderr': u''}])TASK [oraswdb-install : Create script to install Database Server] **************changed: [db-asm-1] => (item=[{'is_container': u'false', 'home': u'db1', 'state': u'present', 'oracle_db_type': u'SI', 'service_name': u'orclcdb_serv', 'num_pdbs': u'1', 'pdb_prefix': u'orclpdb', 'oracle_db_name': u'orclcdb', 'redolog_size_in_mb': u'100', 'storage_type': u'ASM', 'oracle_edition': u'EE', 'oracle_db_mem_totalmb': u'1024', 'oracle_database_type': u'MULTIPURPOSE', 'oracle_db_passwd': u'Oracle123', 'oracle_version_db': u'11.2.0.4'}, {u'_ansible_parsed': True, u'_ansible_item_result': True, u'stdout': u'0', u'_ansible_no_log': False, u'warnings': [], u'changed': True, u'rc': 0, u'end': u'2017-10-08 16:49:02.144223', u'start': u'2017-10-08 16:49:02.139182', u'cmd': u'grep "/u01/app/oracle/11.2.0.4/db1" "/u01/app/oraInventory/ContentsXML/inventory.xml" |wc -l', u'item': {u'is_container': u'false', u'oracle_db_type': u'SI', u'service_name': u'orclcdb_serv', u'num_pdbs': u'1', u'pdb_prefix': u'orclpdb', u'oracle_db_name': u'orclcdb', u'redolog_size_in_mb': u'100', u'state': u'present', u'oracle_edition': u'EE', u'oracle_db_mem_totalmb': u'1024', u'oracle_version_db': u'11.2.0.4', u'oracle_database_type': u'MULTIPURPOSE', u'oracle_db_passwd': u'Oracle123', u'home': u'db1', u'storage_type': u'ASM'}, u'delta': u'0:00:00.005041', u'invocation': {u'module_name': u'command', u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': True, u'_raw_params': u'grep "/u01/app/oracle/11.2.0.4/db1" "/u01/app/oraInventory/ContentsXML/inventory.xml" |wc -l', u'removes': None, u'warn': True, u'chdir': None}}, u'stdout_lines': [u'0'], u'stderr': u''}])TASK [oraswdb-install : Install Oracle Database Server] ************************changed: [db-asm-1] => (item=[{'is_container': u'false', 'home': u'db1', 'state': u'present', 'oracle_db_type': u'SI', 'service_name': u'orclcdb_serv', 'num_pdbs': u'1', 'pdb_prefix': u'orclpdb', 'oracle_db_name': u'orclcdb', 'redolog_size_in_mb': u'100', 'storage_type': u'ASM', 'oracle_edition': u'EE', 'oracle_db_mem_totalmb': u'1024', 'oracle_database_type': u'MULTIPURPOSE', 'oracle_db_passwd': u'Oracle123', 'oracle_version_db': u'11.2.0.4'}, {u'_ansible_parsed': True, u'_ansible_item_result': True, u'stdout': u'0', u'_ansible_no_log': False, u'warnings': [], u'changed': True, u'rc': 0, u'end': u'2017-10-08 16:49:02.144223', u'start': u'2017-10-08 16:49:02.139182', u'cmd': u'grep "/u01/app/oracle/11.2.0.4/db1" "/u01/app/oraInventory/ContentsXML/inventory.xml" |wc -l', u'item': {u'is_container': u'false', u'oracle_db_type': u'SI', u'service_name': u'orclcdb_serv', u'num_pdbs': u'1', u'pdb_prefix': u'orclpdb', u'oracle_db_name': u'orclcdb', u'redolog_size_in_mb': u'100', u'state': u'present', u'oracle_edition': u'EE', u'oracle_db_mem_totalmb': u'1024', u'oracle_version_db': u'11.2.0.4', u'oracle_database_type': u'MULTIPURPOSE', u'oracle_db_passwd': u'Oracle123', u'home': u'db1', u'storage_type': u'ASM'}, u'delta': u'0:00:00.005041', u'invocation': {u'module_name': u'command', u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': True, u'_raw_params': u'grep "/u01/app/oracle/11.2.0.4/db1" "/u01/app/oraInventory/ContentsXML/inventory.xml" |wc -l', u'removes': None, u'warn': True, u'chdir': None}}, u'stdout_lines': [u'0'], u'stderr': u''}])TASK [oraswdb-install : debug] *************************************************fatal: [db-asm-1]: FAILED! => {"failed": true, "msg": "template error while templating string: no filter named 'map'. String: {{ oradbinstall.results|map(attribute='stdout_lines')|list }}"}...ignoringTASK [oraswdb-install : Run root script after installation] ********************changed: [db-asm-1] => (item=[{'is_container': u'false', 'home': u'db1', 'state': u'present', 'oracle_db_type': u'SI', 'service_name': u'orclcdb_serv', 'num_pdbs': u'1', 'pdb_prefix': u'orclpdb', 'oracle_db_name': u'orclcdb', 'redolog_size_in_mb': u'100', 'storage_type': u'ASM', 'oracle_edition': u'EE', 'oracle_db_mem_totalmb': u'1024', 'oracle_database_type': u'MULTIPURPOSE', 'oracle_db_passwd': u'Oracle123', 'oracle_version_db': u'11.2.0.4'}, {u'_ansible_parsed': True, u'_ansible_item_result': True, u'stdout': u'0', u'_ansible_no_log': False, u'warnings': [], u'changed': True, u'rc': 0, u'end': u'2017-10-08 16:49:02.144223', u'start': u'2017-10-08 16:49:02.139182', u'cmd': u'grep "/u01/app/oracle/11.2.0.4/db1" "/u01/app/oraInventory/ContentsXML/inventory.xml" |wc -l', u'item': {u'is_container': u'false', u'oracle_db_type': u'SI', u'service_name': u'orclcdb_serv', u'num_pdbs': u'1', u'pdb_prefix': u'orclpdb', u'oracle_db_name': u'orclcdb', u'redolog_size_in_mb': u'100', u'state': u'present', u'oracle_edition': u'EE', u'oracle_db_mem_totalmb': u'1024', u'oracle_version_db': u'11.2.0.4', u'oracle_database_type': u'MULTIPURPOSE', u'oracle_db_passwd': u'Oracle123', u'home': u'db1', u'storage_type': u'ASM'}, u'delta': u'0:00:00.005041', u'invocation': {u'module_name': u'command', u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': True, u'_raw_params': u'grep "/u01/app/oracle/11.2.0.4/db1" "/u01/app/oraInventory/ContentsXML/inventory.xml" |wc -l', u'removes': None, u'warn': True, u'chdir': None}}, u'stdout_lines': [u'0'], u'stderr': u''}])TASK [oraswdb-install : Add additional info to glogin.sql (1)] *****************changed: [db-asm-1] => (item={'is_container': u'false', 'oracle_db_type': u'SI', 'service_name': u'orclcdb_serv', 'num_pdbs': u'1', 'pdb_prefix': u'orclpdb', 'storage_type': u'ASM', 'oracle_db_name': u'orclcdb', 'redolog_size_in_mb': u'100', 'state': u'present', 'oracle_edition': u'EE', 'oracle_db_mem_totalmb': u'1024', 'oracle_version_db': u'11.2.0.4', 'oracle_database_type': u'MULTIPURPOSE', 'oracle_db_passwd': u'Oracle123', 'home': u'db1'})TASK [oraswdb-install : Add additional info to glogin.sql (2)] *****************changed: [db-asm-1] => (item={'is_container': u'false', 'oracle_db_type': u'SI', 'service_name': u'orclcdb_serv', 'num_pdbs': u'1', 'pdb_prefix': u'orclpdb', 'storage_type': u'ASM', 'oracle_db_name': u'orclcdb', 'redolog_size_in_mb': u'100', 'state': u'present', 'oracle_edition': u'EE', 'oracle_db_mem_totalmb': u'1024', 'oracle_version_db': u'11.2.0.4', 'oracle_database_type': u'MULTIPURPOSE', 'oracle_db_passwd': u'Oracle123', 'home': u'db1'})TASK [oraswdb-install : Check opatch lsinventory (DB)] *************************changed: [db-asm-1] => (item={'is_container': u'false', 'oracle_db_type': u'SI', 'service_name': u'orclcdb_serv', 'num_pdbs': u'1', 'pdb_prefix': u'orclpdb', 'storage_type': u'ASM', 'oracle_db_name': u'orclcdb', 'redolog_size_in_mb': u'100', 'state': u'present', 'oracle_edition': u'EE', 'oracle_db_mem_totalmb': u'1024', 'oracle_version_db': u'11.2.0.4', 'oracle_database_type': u'MULTIPURPOSE', 'oracle_db_passwd': u'Oracle123', 'home': u'db1'})TASK [oraswdb-install : debug] *************************************************fatal: [db-asm-1]: FAILED! => {"failed": true, "msg": "template error while templating string: no filter named 'map'. String: {{ opatchls.results|map(attribute='stdout_lines')|list }}"}...ignoringTASK [oraswdb-install : Unmount nfs share with installation media] *************TASK [oraswdb-install : Check if systemd or init.d is used] ********************TASK [oraswdb-install : Configure DB instances auto-startup service (init.d)] **TASK [oraswdb-install : Register dbora service (init.d)] ***********************TASK [oraswdb-install : Configure oracle-rdbms auto-startup service (systemd.d)] ***TASK [oraswdb-install : Register oracle-rdbms service (system.d)] **************TASK [oradb-create : set fact] *************************************************ok: [db-asm-1] => (item={'is_container': u'false', 'oracle_db_type': u'SI', 'service_name': u'orclcdb_serv', 'num_pdbs': u'1', 'pdb_prefix': u'orclpdb', 'storage_type': u'ASM', 'oracle_db_name': u'orclcdb', 'redolog_size_in_mb': u'100', 'state': u'present', 'oracle_edition': u'EE', 'oracle_db_mem_totalmb': u'1024', 'oracle_version_db': u'11.2.0.4', 'oracle_database_type': u'MULTIPURPOSE', 'oracle_db_passwd': u'Oracle123', 'home': u'db1'})TASK [oradb-create : listener | Create responsefile for listener configuration]TASK [oradb-create : listener | Create listener] *******************************TASK [oradb-create : Check if database is already created] *********************changed: [db-asm-1] => (item={'is_container': u'false', 'oracle_db_type': u'SI', 'service_name': u'orclcdb_serv', 'num_pdbs': u'1', 'pdb_prefix': u'orclpdb', 'storage_type': u'ASM', 'oracle_db_name': u'orclcdb', 'redolog_size_in_mb': u'100', 'state': u'present', 'oracle_edition': u'EE', 'oracle_db_mem_totalmb': u'1024', 'oracle_version_db': u'11.2.0.4', 'oracle_database_type': u'MULTIPURPOSE', 'oracle_db_passwd': u'Oracle123', 'home': u'db1'})TASK [oradb-create : Create responsefile for dbca] *****************************changed: [db-asm-1] => (item=[{'is_container': u'false', 'home': u'db1', 'state': u'present', 'oracle_db_type': u'SI', 'service_name': u'orclcdb_serv', 'num_pdbs': u'1', 'pdb_prefix': u'orclpdb', 'oracle_db_name': u'orclcdb', 'redolog_size_in_mb': u'100', 'storage_type': u'ASM', 'oracle_edition': u'EE', 'oracle_db_mem_totalmb': u'1024', 'oracle_database_type': u'MULTIPURPOSE', 'oracle_db_passwd': u'Oracle123', 'oracle_version_db': u'11.2.0.4'}, {u'_ansible_parsed': True, u'_ansible_item_result': True, u'stdout': u'0', u'_ansible_no_log': False, u'warnings': [], u'changed': True, u'rc': 0, u'end': u'2017-10-08 17:09:03.480894', u'start': u'2017-10-08 17:09:03.475630', u'cmd': u'grep orclcdb:/u01/app/oracle/11.2.0.4/db1 /etc/oratab |wc -l', u'item': {u'is_container': u'false', u'oracle_db_type': u'SI', u'service_name': u'orclcdb_serv', u'num_pdbs': u'1', u'pdb_prefix': u'orclpdb', u'oracle_db_name': u'orclcdb', u'redolog_size_in_mb': u'100', u'state': u'present', u'oracle_edition': u'EE', u'oracle_db_mem_totalmb': u'1024', u'oracle_version_db': u'11.2.0.4', u'oracle_database_type': u'MULTIPURPOSE', u'oracle_db_passwd': u'Oracle123', u'home': u'db1', u'storage_type': u'ASM'}, u'delta': u'0:00:00.005264', u'invocation': {u'module_name': u'command', u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': True, u'_raw_params': u'grep orclcdb:/u01/app/oracle/11.2.0.4/db1 /etc/oratab |wc -l', u'removes': None, u'warn': True, u'chdir': None}}, u'stdout_lines': [u'0'], u'stderr': u''}])TASK [oradb-create : Create database(s)] ***************************************changed: [db-asm-1] => (item=[{'is_container': u'false', 'home': u'db1', 'state': u'present', 'oracle_db_type': u'SI', 'service_name': u'orclcdb_serv', 'num_pdbs': u'1', 'pdb_prefix': u'orclpdb', 'oracle_db_name': u'orclcdb', 'redolog_size_in_mb': u'100', 'storage_type': u'ASM', 'oracle_edition': u'EE', 'oracle_db_mem_totalmb': u'1024', 'oracle_database_type': u'MULTIPURPOSE', 'oracle_db_passwd': u'Oracle123', 'oracle_version_db': u'11.2.0.4'}, {u'_ansible_parsed': True, u'_ansible_item_result': True, u'stdout': u'0', u'_ansible_no_log': False, u'warnings': [], u'changed': True, u'rc': 0, u'end': u'2017-10-08 17:09:03.480894', u'start': u'2017-10-08 17:09:03.475630', u'cmd': u'grep orclcdb:/u01/app/oracle/11.2.0.4/db1 /etc/oratab |wc -l', u'item': {u'is_container': u'false', u'oracle_db_type': u'SI', u'service_name': u'orclcdb_serv', u'num_pdbs': u'1', u'pdb_prefix': u'orclpdb', u'oracle_db_name': u'orclcdb', u'redolog_size_in_mb': u'100', u'state': u'present', u'oracle_edition': u'EE', u'oracle_db_mem_totalmb': u'1024', u'oracle_version_db': u'11.2.0.4', u'oracle_database_type': u'MULTIPURPOSE', u'oracle_db_passwd': u'Oracle123', u'home': u'db1', u'storage_type': u'ASM'}, u'delta': u'0:00:00.005264', u'invocation': {u'module_name': u'command', u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': True, u'_raw_params': u'grep orclcdb:/u01/app/oracle/11.2.0.4/db1 /etc/oratab |wc -l', u'removes': None, u'warn': True, u'chdir': None}}, u'stdout_lines': [u'0'], u'stderr': u''}])TASK [oradb-create : debug] ****************************************************fatal: [db-asm-1]: FAILED! => {"failed": true, "msg": "template error while templating string: no filter named 'map'. String: {{ oradbcreate.results|map(attribute='stdout_lines')|list }}"}...ignoringTASK [oradb-create : Add dotprofile (1)] ***************************************changed: [db-asm-1] => (item={'is_container': u'false', 'oracle_db_type': u'SI', 'service_name': u'orclcdb_serv', 'num_pdbs': u'1', 'pdb_prefix': u'orclpdb', 'storage_type': u'ASM', 'oracle_db_name': u'orclcdb', 'redolog_size_in_mb': u'100', 'state': u'present', 'oracle_edition': u'EE', 'oracle_db_mem_totalmb': u'1024', 'oracle_version_db': u'11.2.0.4', 'oracle_database_type': u'MULTIPURPOSE', 'oracle_db_passwd': u'Oracle123', 'home': u'db1'})TASK [oradb-create : Add dotprofile (2)] ***************************************changed: [db-asm-1] => (item=[{'is_container': u'false', 'home': u'db1', 'state': u'present', 'oracle_db_type': u'SI', 'service_name': u'orclcdb_serv', 'num_pdbs': u'1', 'pdb_prefix': u'orclpdb', 'oracle_db_name': u'orclcdb', 'redolog_size_in_mb': u'100', 'storage_type': u'ASM', 'oracle_edition': u'EE', 'oracle_db_mem_totalmb': u'1024', 'oracle_database_type': u'MULTIPURPOSE', 'oracle_db_passwd': u'Oracle123', 'oracle_version_db': u'11.2.0.4'}, {u'_ansible_parsed': True, u'_ansible_item_result': True, u'stdout': u'orclcdb', u'_ansible_no_log': False, u'warnings': [], u'changed': True, u'rc': 0, u'end': u'2017-10-08 17:18:32.999797', u'start': u'2017-10-08 17:18:32.595686', u'cmd': u'ps -ef | grep -w "ora_pmon_orclcdb" |grep -v grep | sed \'s/^.*pmon_//g\'', u'item': {u'is_container': u'false', u'oracle_db_type': u'SI', u'service_name': u'orclcdb_serv', u'num_pdbs': u'1', u'pdb_prefix': u'orclpdb', u'oracle_db_name': u'orclcdb', u'redolog_size_in_mb': u'100', u'state': u'present', u'oracle_edition': u'EE', u'oracle_db_mem_totalmb': u'1024', u'oracle_version_db': u'11.2.0.4', u'oracle_database_type': u'MULTIPURPOSE', u'oracle_db_passwd': u'Oracle123', u'home': u'db1', u'storage_type': u'ASM'}, u'delta': u'0:00:00.404111', u'invocation': {u'module_name': u'command', u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': True, u'_raw_params': u'ps -ef | grep -w "ora_pmon_orclcdb" |grep -v grep | sed \'s/^.*pmon_//g\'', u'removes': None, u'warn': True, u'chdir': None}}, u'stdout_lines': [u'orclcdb'], u'stderr': u''}])TASK [oradb-create : Update oratab] ********************************************TASK [oradb-create : Customize oratab for autostart] ***************************TASK [oradb-create : Customize oratab for autostart] ***************************TASK [oradb-create : Check if database is running] *****************************changed: [db-asm-1]TASK [oradb-create : debug] ****************************************************ok: [db-asm-1] => { "psout.stdout_lines": [ "oracle 1413 1 0 17:18 ? 00:00:00 ora_pmon_orclcdb", "oracle 24615 1 0 16:47 ? 00:00:00 asm_pmon_+ASM" ]}PLAY [Install cx_oracle] *******************************************************TASK [setup] *******************************************************************ok: [db-asm-1]TASK [cxoracle : Install cx_oracle] ********************************************changed: [db-asm-1] => (item={'is_container': u'false', 'oracle_db_type': u'SI', 'service_name': u'orclcdb_serv', 'num_pdbs': u'1', 'pdb_prefix': u'orclpdb', 'storage_type': u'ASM', 'oracle_db_name': u'orclcdb', 'redolog_size_in_mb': u'100', 'state': u'present', 'oracle_edition': u'EE', 'oracle_db_mem_totalmb': u'1024', 'oracle_version_db': u'11.2.0.4', 'oracle_database_type': u'MULTIPURPOSE', 'oracle_db_passwd': u'Oracle123', 'home': u'db1'})PLAY [Configure Logrotate] *****************************************************TASK [setup] *******************************************************************ok: [db-asm-1]TASK [orahost-logrotate : Manage logrotate] ************************************changed: [db-asm-1] => (item={u'name': u'oracle_alert', u'file': u'/u01/app/oracle/diag/rdbms/*/*/trace/*alert*.log /u01/app/oracle/diag/asm/*/*/trace/alert*+ASM*.log', u'options': [u'missingok', u'notifempty', u'weekly', u'rotate 3', u'dateext']})changed: [db-asm-1] => (item={u'name': u'oracle_listener', u'file': u'/u01/app/oracle/diag/tnslsnr/*/*/trace/*listener*.log', u'options': [u'missingok', u'notifempty', u'weekly', u'rotate 3', u'dateext', u'compress']})PLAY RECAP *********************************************************************db-asm-1 : ok=107 changed=77 unreachable=0 failed=0dinh@CMWPHV1 MINGW64 /f/Vagrant/vagrant-vbox-si-asm (master)$dinh@CMWPHV1 MINGW64 /f/Vagrant/vagrant-vbox-si-asm (master)$ vagrant sshLast login: Sun Oct 8 17:18:46 2017 from 192.168.146.15----------------------------------------Welcome to db-asm-1OracleLinux 6.7 x86_64FQDN: db-asm-1.internal.labIP: 10.0.2.15Processor: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz#CPU's: 1Memory: 1745 MBKernel: 3.8.13-68.3.4.el6uek.x86_64----------------------------------------[vagrant@db-asm-1 ~]$ ps -ef|grep pmonoracle 1413 1 0 17:18 ? 00:00:00 ora_pmon_orclcdbvagrant 2435 2417 0 17:19 pts/0 00:00:00 grep pmonoracle 24615 1 0 16:47 ? 00:00:00 asm_pmon_+ASM[vagrant@db-asm-1 ~]$ df -hFilesystem Size Used Avail Use% Mounted on/dev/sda2 47G 2.3G 43G 6% /tmpfs 873M 83M 790M 10% /dev/shmvagrant 3.7T 172G 3.5T 5% /vagrantsf_working 420G 133G 287G 32% /sf_workingmedia_swrepo 3.7T 172G 3.5T 5% /media/swreposf_OracleSoftware 3.7T 172G 3.5T 5% /sf_OracleSoftware/dev/mapper/vgora-lvora 84G 12G 68G 16% /u01[vagrant@db-asm-1 ~]$ cd /media/swrepo/[vagrant@db-asm-1 swrepo]$ ls -ltotal 4305238drwxrwxrwx. 1 vagrant vagrant 4096 Jul 20 2016 clientdrwxrwxrwx. 1 vagrant vagrant 4096 Jul 20 2016 databasedrwxrwxrwx. 1 vagrant vagrant 4096 Jul 20 2016 griddrwxrwxrwx. 1 vagrant vagrant 4096 Oct 7 15:46 JUL2017PSU-rwxrwxrwx. 1 vagrant vagrant 1395582860 Feb 11 2014 p13390677_112040_Linux-x86-64_1of7.zip-rwxrwxrwx. 1 vagrant vagrant 1151304589 Feb 11 2014 p13390677_112040_Linux-x86-64_2of7.zip-rwxrwxrwx. 1 vagrant vagrant 1205251894 Apr 25 2016 p13390677_112040_Linux-x86-64_3of7.zip-rwxrwxrwx. 1 vagrant vagrant 656026876 May 12 2014 p13390677_112040_Linux-x86-64_4of7.zip-rwxrwxrwx. 1 vagrant vagrant 297405 Jul 17 2016 README for 13390677.pdf-rwxrwxrwx. 1 vagrant vagrant 82385 Jul 17 2016 View Patch Digest.pdf[vagrant@db-asm-1 swrepo]$[vagrant@db-asm-1 swrepo]$ cd /sf_OracleSoftware/12.2.0.1_Linux_64[vagrant@db-asm-1 12.2.0.1_Linux_64]$ ls -ltotal 6297251-rwxrwxrwx. 1 vagrant vagrant 3453696911 Apr 12 15:44 linuxx64_12201_database.zip-rwxrwxrwx. 1 vagrant vagrant 2994687209 Apr 12 15:43 linuxx64_12201_grid_home.zip[vagrant@db-asm-1 12.2.0.1_Linux_64]$ ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- 2 0 ah vs 4 0 ah
- 2 0 ah battery vs 4 0 ah battery
- 4 0 ah battery verses 2 0 ah battery
- oracle 11 2 0 4 client download
- oracle 11 2 0 4 full client download
- oracle 11 2 0 4 download
- oracle client 11 2 0
- oracle 11 2 0 4 download windows
- oracle 12 2 0 1 end of support
- oracle 11 2 0 4 download linux
- download oracle client 11 2 0 3
- download oracle client 11 2 0 4