Manual entry for xvptag:
xvptag (8) xvptag (8)
NAME
xvptag - Manipulate XenServer and XCP virtual machine tags
SYNOPSIS
xvptag [ options ] vm-name-or-uuid
DESCRIPTION
This tool is part of the xvp(8) suite.
xvp (standing for Xen VNC Proxy) is a proxy server providing password-
protected VNC-based access to the consoles of virtual machines hosted
on Citrix(R) XenServer and Xen Cloud Platform.
The xvptag program can be used to manipulate virtual machine tags in a
XenServer or Xen Cloud Platform pool. Tags are used by xvpdiscover(8)
and xvpweb(7), to group virtual machines for display and for managing
user rights.
If used interactively, xvptag will prompt for some common options,
alternatively, all options can be supplied on the command line, allow-
ing it to be used in non-interactive scripts.
OPTIONS
-s server | --server server
The hostname or Internet address of one of the XenServer hosts
in the pool. If not supplied, the program will prompt for this.
-u username | --username username
A valid username to use to connect to the server. This is usu-
ally the administrative account, "root". If not supplied, the
program will prompt for a username.
-x password | --xenpassword password
The XenServer password for the specified user. If supplied on
the command line, this should be in encrypted form, as generated
using the -x option of xvp(8). If not specified, the program
will prompt for the password (without echoing), which in this
case should be supplied in unencrypted form, and must be between
1 and 16 characters long.
-l | --list
Lists the tags associated with the virtual machine whose name or
UUID is specified or, if no virtual machine is specified, lists
the tags for each virtual machine in the pool.
-a tag | --add tag
Adds the specified tag to the virtual machine. If the virtual
machine already has this tag, this succeeds but does nothing.
-r tag | --remove tag
Removes the specified tag from the virtual machine. If the vir-
tual machine does not have this tag, this succeeds but does
nothing.
Precisely one of the list, add and remove options must be specified.
DIAGNOSTICS
If successful, xvptag exits with a status value of zero. If it has a
problem, it writes a message to standard error and exits immediately
with a non-zero status value.
EXAMPLE
To add a tag "xvp: Web Servers" to virtual machine with name label
"web1", in a pool one of whose servers is named "xen1":
xvptag -s xen1 -a "xvp: Web Servers" web1
SEE ALSO
xvp(8), xvpdiscover(8), xvpweb(7), xvp.conf(5), xvpviewer(1)
AUTHOR
Colin Dean gro.ecruospvx@niloc
COPYRIGHT
Copyright (C) 2010 Colin Dean
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
Citrix is a registered trademark of Citrix Systems, Inc.
The VNC protocol was originally developed by the RealVNC team while at
Olivetti Research Ltd / AT&T Laboratories Cambridge.
A small part of the source code for xvp(8), xvpdiscover(8) and
xvptag(8) was based on code supplied in the XenServer C SDK 5.0.0, to
which the following copyright statement applies:
Copyright (C) 2006-2008 Citrix Systems, Inc.
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WAR-
RANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAM-
AGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
xvptag (8) xvptag (8)