[vserver] vserver 0.19 change log

About this list Date view Thread view Subject view Author view Attachment view

From: Jacques Gelinas (jack_at_solucorp.qc.ca)
Date: Tue Aug 13 2002 - 14:21:09 EDT


  vserver 0.19
  Change log

  1. Enhancements

  1.1. C++ issues

  The pfstream stuff has been removed so the utility should compile with
  newer libraries (the pfstream stuff was deprecated).

  1.2. Debian support

  The vserver command now support Debian. It does it on the fly. It
  knows where to find the runlevel start-up script, how to turn on and
  off a service and so on.

  There are still few things to do to completely support Debian, notably
  the unification of DEB package. We are getting there.

  1.3. Multi IP on several devices

  Since kernel ctx-12, you can setup up to 16 IPs per vserver. All
  those IPs had to be on the same device (IPROOTDEV). It is now possible
  to assign those IPs to several devices, using the explicit syntax:

               IPROOT="eth0:1.2.3.4 eth1:2.3.4.5 192.168.1.2"
               IPROOTDEV=eth2

  In the above example, IP 1.2.3.4 will be setup on device eth0, 2.3.4.5
  will be installed on eth1 and 192.168.1.2 will go on eth2 (IPROOTDEV
  is used by default).

  1.4. Packaging

  All the scripts have been modified to allow the package to be moved in
  a different location. All the /usr/sbin and /usr/lib/vserver have been
  change to use $USR_SBIN and $USR_LIB_VSERVER. At the top of each
  script, those macros are defined. The install-fix.sh utility patch the
  script with the effective value of those macros.

  This way, the package could be moved to /usr/local/sbin and
  /usr/local/lib/vserver if needed.

  1.5. vrpm enhancements

  The vrpm command is trying to run the rpm command in the proper
  context (if the vserver is running) so post-install script will have
  proper effect (and won't interfere with the root server).

  1.6. vserver command enhancements

  The "suexec" command was added. You can execute a command in a vserver
  context under a specific user-id (known to the vserver). It works like
  this
               vserver NAME suexec user command args ...

  The "status" command was added. It reports some information about a
  given vserver. Here is an example:

               $ /usr/sbin/vserver smb001 status
               Server smb001 is running
               18 processes running
               Vserver uptime: 12:01

  The --silent general option was added. It kills all informative
  messages. It is generally used with the exec or running command. For
  example:

               # Counting the processes
               vserver --silent XXX exec ps ax | wc -l

  1.7. v_xxx pseudo services support multi-IP

  The various pseudo services such as v_httpd and friends have been
  reworked. Previously they were setting the ipv4root to eth0 and
  starting the real service. It was possible to override the IP by
  providing a small configuration file in /etc/vservices. For a pseudo
  service v_xxx, you could setup /etc/vservices/xxx.conf and inside,
  define the variable IP. It was possible to enter one IP only. Now it
  is possible to enter two or more IP like this

               # File /etc/vservices/xxx.conf
               IP="1.2.3.4 2.3.4.5 192.168.1.2"

---------------------------------------------------------
Jacques Gelinas <jack_at_solucorp.qc.ca>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.4 : Mon Aug 19 2002 - 12:01:01 EDT