A vagrant provisioner plugin that supports the management of Delphix environments
vagrant-delphix
is a vagrant provisioner plugin that supports the management of Delphix environments.
Features include:
The provisioner supports the lifecycle of a vagrant box by creating an environment in Delphix when the virtual machine is provisioned (vagrant up
), it disables the environment when the virtual machine is shutdown (vagrant halt
) and deletes the environment when the virtual machine is destroyed (vagrant destroy
).
The provisioner stops active containers (VDBs or dSources) and disables them when the virtual machine is shutdown. They remain stopped and disabled when the virtual machine is restarted !
WARNING
Destroying the virtual machine deletes all VDBs and dSources that are provisioned on the virtual machine !!
Install the provisioner plugin using the Vagrant command-line interface:
$ vagrant plugin install vagrant-delphix
Once the provider has been installed, you will need to configure your project to use it. The most basic Vagrantfile to create a Delphix environment is shown below:
# global config of the delphix provisioner
config.delphix.enabled = true # false by default
config.delphix.engine_url = DELPHIX_ENGINE_URL
config.delphix.engine_user = 'delphix engine username'
config.delphix.engine_password = 'delphix engine password'
config.delphix.trace = true # logs Delphix Engine API request/responses, false by default
# configure the environment
config.vm.define "source" do |node|
node.delphix.env_name = 'source'
node.delphix.env_ip = public_ipv4
node.delphix.env_port = 22 # optional, 22 by default
node.delphix.user = 'delphix user name'
node.delphix.password = 'delphix user password'
node.delphix.toolkit_path = 'path to toolkit location'
end
Copyright © 2016 Michael Kuehl. See LICENSE.txt for
further details.