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/invirt-remote-host
Files:
4 added
4 moved

Legend:

Unmodified
Added
Removed
  • 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.