Skip to content

A ruby wrapper library for the AIX WPAR administration.

License

Notifications You must be signed in to change notification settings

adejoux/aix-wpar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

A ruby wrapper library for the AIX WPAR administration.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages