This repo contains a demonstration of a simple database installation. It uses the ora_profile
module to get a quick and easy start.
The name of the node indicates which version of Oracle will be installed in it i.e. db112 has version 11.2. This demo is ready for Puppet 4,5 and 6.
All nodes are available to test with Puppet masterless. To do so, add ml-
for the name when using vagrant:
$ vagrant up <ml-db112|ml-db121|ml-db122|ml-db180|ml-db190>
You can also test with a Puppet Enterprise server. To do so, add pe-
for the name when using vagrant:
$ vagrant up pe-dbmaster
$ vagrant up <pe-db112|pe-db121|pe-db122|pe-db180|pe-db190>
You must always use the specified order:
- master
- <db112|db121|db122|db180|db190>
The software must be placed in modules/software/files
. It must contain the next files:
LINUX.X64_193000_db_home.zip
LINUX.X64_180000_db_home.zip
linuxx64_12201_database.zip
p6880880_121010_Linux-x86-64.zip
(Opatch version)p27468969_122010_Linux-x86-64.zip
linuxamd64_12102_database_1of2.zip
linuxamd64_12102_database_2of2.zip
p13390677_112040_Linux-x86-64_1of7.zip
p13390677_112040_Linux-x86-64_2of7.zip
You can download these file from here or here
Since May 2019, our modules also support Windows. The demo is changed to run on windows too. because of Powershell security requirements, however, vagrant cannot do the whole Oracle/puppet setup. You must start Puppet from the machine itself. First step is to provision the system and get Puppet installed.
$ vagrant up --no-provision ml-db180
After this is finished, open the VirtualBox console and log i nto the Windows machine with the Administrator
account. The password of the Vagrant box is vagrant
. The start the Command Prompt and run Puppet from there:
$ puppet apply c:\vagrant\manifests\site.pp -t
This will start a normal Puppet run and install and manage Oracle.
The software must be placed in modules/software/files
. For the Oracle 18 database in windows, It must contain:
WINDOWS.X64_180000_db_home.zip
and the Puppet agent for Windows:
puppet-agent-6.4.2-x64.msi
- Sometimes Linux virtual machine hangs while ssh connection during executions of vagrant script. The way to fix it is log in to the machine, as root, and run dhclient.