Changeset 1239 for trunk/packages


Ignore:
Timestamp:
Oct 24, 2008, 10:09:06 PM (16 years ago)
Author:
broder
Message:

sipb-xen-remctl-auto -> invirt-remote-host

Location:
trunk/packages
Files:
12 added
6 deleted
10 moved

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-remote-host/debian/changelog

    r1237 r1239  
     1invirt-remote-host (0.0.1) unstable; urgency=low
     2
     3  * sipb-xen-remctl-auto -> invirt-remote-host
     4
     5 -- Evan Broder <broder@mit.edu>  Fri, 24 Oct 2008 21:54:35 -0400
     6
    17sipb-xen-remctl-auto (1.5.2) unstable; urgency=low
    28
  • trunk/packages/invirt-remote-host/debian/invirt-remote-host.init

    r1237 r1239  
    11#!/bin/bash
    22### BEGIN INIT INFO
    3 # Provides:          sipb-xen-remctl-auto
     3# Provides:          invirt-remote-host
    44# Required-Start:    $local_fs $remote_fs
    55# Required-Stop:     $local_fs $remote_fs
    66# Default-Start:     2 3 4 5
    77# Default-Stop:      0 1 6
    8 # Short-Description: conserver config from invirt config for invirt host
     8# Short-Description: remctl configuration for an Invirt host
    99# Description:
    1010### END INIT INFO
    1111
    12 PACKAGE=sipb-xen-remctl-auto
     12PACKAGE=invirt-remote-host
    1313
    1414. /lib/lsb/init-functions
  • trunk/packages/invirt-remote-host/files/usr/sbin/invirt-listvms

    r1237 r1239  
    33import sys
    44import time
    5 sys.path.insert(0, '/usr/lib/xen-3.1-1/lib/python')
    65from xen.lowlevel import xs
    76
  • trunk/packages/invirt-remote-host/files/usr/sbin/invirt-remote

    r1237 r1239  
    11#!/bin/sh
    2 # sipb-xen-remote TYPE SERVICE [ARGS...]
     2# invirt-remote TYPE SERVICE [ARGS...]
    33#
    44# We carry out the remctl command proxied to us by the remote-control server.
     
    1111    control)
    1212        # $SERVICE is hostname
    13         COMMAND=/usr/sbin/sipb-xen-vmcontrol
     13        COMMAND=/usr/sbin/invirt-vmcontrol
    1414        ;;
    1515    web)
    1616        case "$SERVICE" in
    1717            lvcreate|lvremove|lvrename|lvresize)
    18                 COMMAND=/usr/sbin/sipb-xen-lvm
     18                COMMAND=/usr/sbin/invirt-lvm
    1919                ;;
    2020            vmboot)
    21                 COMMAND=/usr/sbin/sipb-xen-vmcontrol
     21                COMMAND=/usr/sbin/invirt-vmcontrol
    2222                ;;
    2323            listvms)
    24                 COMMAND=/usr/sbin/sipb-xen-listvms
     24                COMMAND=/usr/sbin/invirt-listvms
    2525                ;;
    2626            info)
     
    3939esac
    4040
    41 #echo $COMMAND "$SERVICE" "$@"
    4241$COMMAND "$SERVICE" "$@"
  • trunk/packages/invirt-remote-host/files/usr/sbin/invirt-vmcontrol

    r1237 r1239  
    11#!/bin/bash
    2 # sipb-xen-vmcontrol MACHINE ACTION
     2# invirt-vmcontrol MACHINE ACTION
    33#
    44# remctl should have already verified that the user is authorized to
     
    2020    destroy|shutdown)
    2121        xm "$ACTION" "$MACHINE"
    22         /usr/sbin/sipb-xen-update-conserver </dev/null >/dev/null 2>&1 &
     22        /usr/sbin/invirt-update-conserver </dev/null >/dev/null 2>&1 &
    2323        ;;
    2424    install|create|reboot)
     
    3636            xm create sipb-database machine_name="$ORIGMACHINE"
    3737        fi
    38         (sleep 4; /usr/sbin/sipb-xen-update-conserver) </dev/null >/dev/null 2>&1 &
     38        (sleep 4; /usr/sbin/invirt-update-conserver) </dev/null >/dev/null 2>&1 &
    3939        ;;
    4040    list-long)
Note: See TracChangeset for help on using the changeset viewer.