/aix-wpar

A ruby wrapper library for the AIX WPAR administration.

Primary LanguageRubyOtherNOASSERTION

AX WPAR ruby library

description

This library allows to manage AIX wpars like ruby objects. Most standard operations are supported.

Installation

Standard isntallation with internet access: gem install aix-wpar

Local installation: gem install --local aix-wpar-0.1.0.gem

Usage

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.

Authors

Created and maintained by Alain Dejoux (adejoux@djouxtech.net)

License

Apache 2.0 (see LICENSE)