UnixServerAdmin

Server Administration & Management

OpenVZ Commands

Inroduction

VZ -> Virtuozzo –> recommends ext3 file system
PIM -> Parallels Infrastructure Manager –> IP:4643
PMC -> Parallels Management Console –> managing hardware node
PPP -> Parallels Power Panel –> for managing a single container
All the above things need a license from parallel

Templates

OS template -> vzpkg (cache needs to created before creating the container)
EZ template -> points to the repository that contains packages that constitute the template
Application template -> mysql template

Virtuozzo – User’s guide

OS virtualization – (1-2% of is spent on the virtualization s/w) VZFS – allows sharing of common files among containers Hardware node & Containers

/etc/vz/vz.conf
/etc/vz/conf/
/etc/vzbackup.conf

Delete the container

# vzctl destroy

Disabling the container

# vzctl set

Suspending the container

# vzctl suspend

To check the status of the quota info

# vzquota

Managing CPU – cpu share and the number of processors the node can make use of

# vzcpucheck

Monitoring tools

# vzstat
# vzps
# vzpid
# vztop
# vzsetxinetd

Virtuozzo networks

# vznetcfg if list
# vznetcfg vlan add eth0 5
# vznetcfg vlan del eth0.5
# vznetcfg net addif vznetwork1 eth0
# vznetcfg net delif eth0
# vznetcfg net new vznetwork1
# vznetcfg net del vznetwork1
# vznetcfg net list

Keeping system up2date : The h/w node can be updated using the normal update procedures without affecting virtuozzo

# vzup2date – /etc/sysconfig/vzup2date/vzup2date.conf
# vzup2date -m batch install –core
# vzup2date -t -m batch install –all-os

Updating the containers

# vzpkg update 101 redhat-el5-x86
# vzpkg update 101
# vzpkg update cache fedora-core-8-x86

Advertisements

October 20, 2011 - Posted by | Virtualization, Virtuozzo | , ,

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: