OpenVZ Forum


Home » General » Discussions » Terminal based OVZ Administration (Terminal menu system for administering OVZ containers)
Terminal based OVZ Administration [message #42500] Sat, 23 April 2011 00:54 Go to next message
lars.bailey is currently offline  lars.bailey
Messages: 38
Registered: April 2010
Member
I wrote an ANSI terminal-based menu-system for administering OVZ containers,some time back.
This is a re-write of the program.
It's written entirely in Linux scripting,so it should be easy to
add,remove,edit,for your needs.
You can create and destroy a VPS,and supports both IPv4 and IPv6
networking.
It will automatically configure DEBIAN and REDHAT standard OS
template caches.
I wanted this to be primarily a base,for someone to get started with OpenVZ,but can provide a level of advanced usage.
Drop the script on any Node server,SSH,and you are set.
Some features have been removed from the version I use,due to
third-party software requirements,but it does require SCREEN,if you want to drop to a terminal console from OVZAdmin.
This is an alpha version,and some VPS admin features are not complete.(I'm currently in the middle of IPv4-IPv6 transition,and time is not a premium)
Consider this a "test drive".
I cannot provide screen shots,as I'm using a minimal graphical environment.
Comments good or bad welcomed.
Once I come up with a good release version,I will provide.
My goal is to write a GPL web-based version.
  • Attachment: ovzadmin
    (Size: 87.70KB, Downloaded 447 times)
Re: Terminal based OVZ Administration [message #42502 is a reply to message #42500] Sat, 23 April 2011 22:13 Go to previous messageGo to next message
lars.bailey is currently offline  lars.bailey
Messages: 38
Registered: April 2010
Member
I have a newer version of OVZAdmin,that is almost where I want it.
It only lacks the finishing touches to VPS Admin(disk quotas,etc),and some additions to Node administration.

For the curious;

1. OVZAdmin,will only run on REDHAT Nodes.(I may add DEBIAN later)
2 Will create,destroy,or create a VPS only.
3. Supports IPv4 and IPv6 virtual Ethernet.
4. Supports IPv4 and IPv6 bridged Ethernet.
5. Supports IPv6 auto-configuration.
6. Builds DEBIAN or REDHAT containers.
7. Has built in VPS configuration database(simple text files to a
given directory.(in my final release,it will support MYSQL)
8. Node Administration options are still unavailable,due to third
party software requirements.(add your own)

Known issues

1. DEBIAN containers will not auto-config.(I'm not DEB literate,and is based on info provided by sources on NET.

2. If you use IPv4 containers on same bridge as IPv6 auto,the IPv4 containers will auto-config.(this is a known issue)
I do not want to set "auto-conf" off in a VE,and have to script out its removal,just to add auto-config support in a VE later.
(probably end up doing anyway)

I have screen-shots of OVZAdmin,so that should leave me with one
open upload.
index.php?t=getfile&id=910&private=0index.php?t=getfile&id=911&private=0index.php?t=getfile&id=912&private=0
Re: Terminal based OVZ Administration [message #42594 is a reply to message #42500] Wed, 04 May 2011 01:39 Go to previous messageGo to next message
lars.bailey is currently offline  lars.bailey
Messages: 38
Registered: April 2010
Member
I have a newer version of OVZAdmin.

ovzadmin-pre3

Changes;

1. Slim down code,and got rid of useless verbose prompts.
2. Supports disk-quotas for VE at build time.
3. Changed simple text database default directory to;

/var/log/vpsdatabase

If you do not have it,no worries.

4. The default VE config was changed from older version of OVZ,
to reflect newer versions.
A VE config is "unlimited".

5. "GUI" is sleeker.(at least for text)

Right now,I'm going over some submitted coding that looks promising,so it will speed things up a bit.
VE maintenance options are still not complete.
Node Administration will be incorporated with some of the submitted code,and some I found.
You may still want your own.
No screen shots,as the ones posted,gets you in the ball park.
  • Attachment: ovzadmin-pre3
    (Size: 89.43KB, Downloaded 428 times)
Re: Terminal based OVZ Administration [message #42654 is a reply to message #42500] Mon, 09 May 2011 22:43 Go to previous message
lars.bailey is currently offline  lars.bailey
Messages: 38
Registered: April 2010
Member
I just submitted a new post on IPv6 auto-configuration issue with
Debian containers.
OVZAdmin by default,will support IPv6 auto-configuration for DEBIAN containers.
You need to use this OS template cache.

debian-5.0-i386-minimal.tar.gz

If you use;

debian-5.0-x86

it will not work.

L.B
Previous Topic: Getting DEBIAN containers to auto-configure IPv6 on REDHAT Nodes
Next Topic: Ext4 Support and stability
Goto Forum:
  


Current Time: Thu Oct 17 16:24:39 GMT 2024

Total time taken to generate the page: 0.05245 seconds