AX WPAR ruby library
This library allows to manage AIX wpars like ruby objects. Most standard operations are supported.
Standard isntallation with internet access: gem install aix-wpar
Local installation: gem install --local aix-wpar-0.1.0.gem
require 'wpars'
#new wpar named testwpar
wpar = WPAR::WPAR.new(command: "ssh adxlpar2", name: "testwpar2")
#live stream output
wpar.live_stream=STDOUT
#set hostname if different
wpar.general.hostname="testwpar2"
#set auto start
wpar.general.auto="yes"
#create wpar
wpar.create
#stop wpar
wpar.stop(force: true)
#start wpar
wpar.start
#wpar.update
wpar.sync
#delete
wpar.destroy(force: true)
live_stream allows to display the system commands output.
Created and maintained by Alain Dejoux (adejoux@djouxtech.net)
Apache 2.0 (see LICENSE)