<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>[one-users] issue: VM instance can't shut down through "sunstone" command</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">Hi,</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"> <FONT FACE="Calibri">I encountered another issue that after shutdown VM instance from</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">“</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">sunstone</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">”</FONT></SPAN><SPAN LANG="en-us">,<FONT FACE="Calibri"> the VM is still alive even status of this VM becomes</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">“</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">S</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">HUTDOWN</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">”</FONT></SPAN><SPAN LANG="en-us">.</SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"> <FONT FACE="Calibri">Also from</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">“</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">onevm</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">”</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> command, it</FONT><FONT FACE="Calibri"> is fai</FONT><FONT FACE="Calibri">led to use</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">“</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">onevm stop</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">”</FONT></SPAN><SPAN LANG="en-us">.</SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"> <FONT FACE="Calibri">[root@cloudmanager one]# onevm list</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> ID USER NAME STAT CPU MEM HOSTNAME TIME</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">9 root test-8 shut 2 512M 172.24.178.38 00 00:18:29</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">qemu 30740 1 2 07:35 ? 00:00:24 /usr/libexec/qemu-kvm -S -M rhel6.0.0 -cpu qemu32 -enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name one-9 -u</FONT><FONT FACE="Calibri">uid 064aecf7-a857-222f-8121-5d47facf5eef -nodefconfig -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/one-9.monitor,server,nowait -mon chardev=monitor,mode=control -rtc base=utc -boot c -drive file=/var/lib/one//9/images/disk.0,if=none,i</FONT><FONT FACE="Calibri">d</FONT><FONT FACE="Calibri">=drive-ide0-0-0,boot=on,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,fd=23,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=00:11:22:33:44:55,bus=pci.0,addr=0x3 -usb -vnc 127.0.0.1:8 -vga cirrus -device</FONT><FONT FACE="Calibri"></FONT> <FONT FACE="Calibri">virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">[root@cloudmanager one]# cat 9.log</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">…</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">Wed Mar 9 12:01:55 2011 [LCM][I]: New VM state is SHUTDOWN</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">[root@cloudmanager one]# rpm -qa | grep -i openNebula</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">opennebula-2.1.80-1</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">[root@cloudmanager one]# cat /etc/one/one</FONT><FONT FACE="Calibri">d.conf </FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#*******************************************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># OpenNebula Configuration file</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#*******************************************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#******************************</FONT><FONT FACE="Calibri">*************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># Daemon configuration attributes</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># MANAGER_TIMER: Time in seconds the core uses to evaluate periodical functions.</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># HOST_MONITORING_INTERVAL and VM_POLLING_INTERVAL can not have smaller values</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># than MANAGER_TIMER.</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># HOST_MONITORING_INTERVAL: Time in seconds between host monitorization.</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># VM_POLLING_INTERVAL: Time in seconds between virtual machine monitorizat</FONT><FONT FACE="Calibri">ion.</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># (use 0 to disable VM monitoring).</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># VM_DIR: Remote path to store the VM images, it should be shared between all</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># the cluster nodes to perform live migrations. This variable is the default</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># for all the hosts in the cluster. VM_DIR IS ONLY FOR</FONT><FONT FACE="Calibri"> THE NODES AND *NOT* THE </FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># FRONT-END</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># SCRIPTS_REMOTE_DIR: Remote path to store the monitoring and VM management</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># scripts.</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># PORT: Port where oned will listen for xmlrpc calls.</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># DB: Configuration attributes for the database backend</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># backen</FONT><FONT FACE="Calibri">d : can be sqlite or mysql (default is sqlite)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># server : (mysql) host name or an IP address for the MySQL server</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># port : (mysql) port for the connection to the server.</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># If set to 0, the default port is used.</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># user : (my</FONT><FONT FACE="Calibri">sql) user's MySQL login ID</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># passwd : (mysql) the password for user</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># db_name : (mysql) the database name</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># VNC_BASE_PORT: VNC ports for VMs can be automatically set to VNC_BASE_PORT +</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># VMID</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># DEBUG_LEVEL: 0 = ERROR, 1 = WARNING, 2 = INFO, 3 = DEBUG</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#*******************************************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#MANAGER_TIMER=30</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">HOST_MONITORING_INTERVAL = 20</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">VM_POLLING_INTERVAL = 10</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#VM_DIR=/srv/cloud/one/var</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">SCRIP</FONT><FONT FACE="Calibri">TS_REMOTE_DIR=/var/tmp/one</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">PORT=2633</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#DB = [ backend = "sqlite" ]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># Sample configuration for MySQL</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> DB = [ backend = "mysql",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> server = "localhost",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> port = 0,</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> user = "root",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> passwd = "alcatel",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> db_name = "o</FONT><FONT FACE="Calibri">pennebula" ]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">VNC_BASE_PORT = 5900</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">DEBUG_LEVEL=3</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#*******************************************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># Physical Networks configuration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#*******************************************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># NETWORK_SIZE: Here you can define the default size for the virtual networks</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># MAC_PREFIX: Default MAC prefix to be used to create the auto-generated MAC</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># addresses is defined here (this can be overrided by the Virtual Network</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># template)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#********</FONT><FONT FACE="Calibri">***********************************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">NETWORK_SIZE = 254</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">MAC_PREFIX = "08:80:42"</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#*******************************************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># Image Repository Configuration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#*********************</FONT><FONT FACE="Calibri">**********************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># IMAGE_REPOSITORY_PATH: Define the path to the image repository, by default</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># is set to $ONE_LOCATION/var/images</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># DEFAULT_IMAGE_TYPE: This can take values</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># OS Image file holdin</FONT><FONT FACE="Calibri">g an operating system</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># CDROM Image file holding a CDROM</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># DATABLOCK Image file holding a datablock,</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># always created as an empty block</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># DEFAULT_DEVICE_PREFIX: This can be set to</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># hd IDE prefix</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># sd </FONT> <FONT FACE="Calibri"> SCSI</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># xvd XEN Virtual Disk</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># vd KVM virtual disk</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#*******************************************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">IMAGE_REPOSITORY_PATH = /srv/cloud/var/images</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">DEFAULT_IMAGE_TYPE = "OS"</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">DEFAULT_DEVICE_PREFIX = "hd"</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#*******************************************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># Information Driver Configuration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#*******************************************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># You can add more informatio</FONT><FONT FACE="Calibri">n managers with different configurations but make</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># sure it has different names.</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># name : name for this information manager</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># executable: path of the information driver executable, can be an</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># absolute path or relative to $ONE_LO</FONT><FONT FACE="Calibri">CATION/lib/mads (or</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># /usr/lib/one/mads/ if OpenNebula was installed in /)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># arguments : for the driver executable, usually a probe configuration file,</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># can be an absolute path or relative to $ONE_LOCATION/etc (or</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># </FONT> <FONT FACE="Calibri"> /etc/one/ if OpenNebula was installed in /)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#*******************************************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># KVM Information Driver Manager Configur</FONT><FONT FACE="Calibri">ation</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># -r number of retries when monitoring a host</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># -t number of threads, i.e. number of hosts monitored at the same time</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">IM_MAD = [</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> name = "im_kvm",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> executable = "one_im_ssh",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> arguments = "-r 0 -t 15 kvm" ]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># XEN Information Dri</FONT><FONT FACE="Calibri">ver Manager Configuration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># -r number of retries when monitoring a host</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># -t number of threads, i.e. number of hosts monitored at the same time</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#IM_MAD = [</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># name </FONT> <FONT FACE="Calibri"> = "im_xen",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># executable = "one_im_ssh",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># arguments = "xen" ]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># EC2 Information D</FONT><FONT FACE="Calibri">river Manager Configuration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#IM_MAD = [</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># name = "im_ec2",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># executable = "one_im_ec2",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># arguments = "im_ec2/im_ec2.conf" ]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-----------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># Ganglia Information Driver Manager Configuration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-----------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#IM_MAD = [</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># name = "im_ganglia",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># executable = "one_im_sh",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># arguments = "ganglia" ]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-----------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># Dummy Information Driver Manager Configuration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#IM_MAD = [ name="im_dummy", e</FONT><FONT FACE="Calibri">xecutable="one_im_dummy"]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#*******************************************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># Virtualization Driver Configuration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#****************************</FONT><FONT FACE="Calibri">***************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># You can add more virtualization managers with different configurations but</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># make sure it has different names.</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># name : name of the virtual machine manager driver</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># executable: path of the</FONT> <FONT FACE="Calibri">virtualization driver executable, can be an</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># absolute path or relative to $ONE_LOCATION/lib/mads (or</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># /usr/lib/one/mads/ if OpenNebula was installed in /)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># arguments : for the driver executable</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># default : default v</FONT><FONT FACE="Calibri">alues and configuration parameters for the driver, can</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># be an absolute path or relative to $ONE_LOCATION/etc (or</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># /etc/one/ if OpenNebula was installed in /)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># type : driver type, supported drivers: xen, kvm, xml</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#*******************************************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># KVM Virtualization Driver Manager Configuration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># -r number of retries when monitoring</FONT> <FONT FACE="Calibri">a host</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># -t number of threads, i.e. number of hosts monitored at the same time</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># -p name of the poll probe (executed locally)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">VM_MAD = [</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> name = "vmm_kvm",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> </FONT> <FONT FACE="Calibri">executable = "one_vmm_ssh",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> arguments = "-t 15 -r 0 kvm",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> default = "vmm_ssh/vmm_ssh_kvm.conf",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> type = "kvm" ]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># XEN Virtualization Driver Manager Configuration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># -r number of retries when monitoring a host</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># -t number of threads, i.e. number of hosts monitored at the same time</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># -l do not perform the VM polling in</FONT> <FONT FACE="Calibri">the node</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># -p name of the poll probe (executed locally)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#VM_MAD = [</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># name = "vmm_xen",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># executable = "one_vmm_ssh",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># arguments = "xen",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># default = "vmm_ssh/vmm_ssh_xen.conf",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># type = "xen" ]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># EC2 Virtualization</FONT><FONT FACE="Calibri"> Driver Manager Configuration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># arguments: default values for the EC2 driver, can be an absolute path or</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># relative to $ONE_LOCATION/etc (or /etc/one/ if OpenNebula was</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># installed in /).</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#VM_MAD = [</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># name = "vmm_ec2",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># executable = "one_vmm_ec2",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># arguments = "vmm_ec2/vmm_ec2.conf",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># type = "xml" ]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># Dummy Virtualization Driver Configuration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#VM_MAD = [ name="vmm_dummy", executa</FONT><FONT FACE="Calibri">ble="one_vmm_dummy", type="xml" ]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#*******************************************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># Transfer Manager Driver Configuration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#******************</FONT><FONT FACE="Calibri">*************************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># You can add more transfer managers with different configurations but make</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># sure it has different names.</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># name : name for this transfer driver</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># executable: path of the transfer driver executable, can be an</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># absolute path or relative to $ONE_LOCATION/lib/mads (or</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># /usr/lib/one/mads/ if OpenNebula was installed in /)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># arguments : for the driver executable, usua</FONT><FONT FACE="Calibri">lly a commands configuration file</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># , can be an absolute path or relative to $ONE_LOCATION/etc (or</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># /etc/one/ if OpenNebula was installed in /)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#*******************************************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># NFS Transfer Manager Driver Configuration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#TM_MAD = [</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># name = "tm_nfs",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># execut</FONT><FONT FACE="Calibri">able = "one_tm",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># arguments = "tm_nfs/tm_nfs.conf" ]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># SSH Transfer Manager Driver Confi</FONT><FONT FACE="Calibri">guration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">TM_MAD = [</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> name = "tm_ssh",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> executable = "one_tm",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> arguments = "tm_ssh/tm_ssh.conf" ]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># Dummy Transfer Manager Driver Configuration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#TM_MAD = [</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># name = "tm_dummy",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># executable = "one_tm",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># arguments = "tm_dummy/tm_dummy.conf" ]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># LVM Transfer Manager Driver Configuration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#TM_MAD = [</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># name = "tm_lvm",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># executable = "one_tm",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># arguments = "tm_lvm/tm_lvm.conf" ]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#*******************************************************************************</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># Hook Manager Configuration</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#***************************************************************************</FONT><FONT FACE="Calibri">****</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># The Driver (HM_MAD), used to execute the Hooks</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># executable: path of the hook driver executable, can be an</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># absolute path or relative to $ONE_LOCATION/lib/mads (or</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># /usr/lib/one/mads/ if OpenNebula was installed in /)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># arguments : for the driver executable, can be an absolute path or relative</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># to $ONE_LOCATION/etc (or /etc/one/ if OpenNebula was installed</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># in /)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># Virtual Machine Hooks (VM_HOOK) defined by:</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># name : for the hook, useful to track the hook (OPTIONAL)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># on : when the hook should be executed,</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># - CREATE, when the VM is created (onevm create)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># - RUNNING, after the VM is successfully booted</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># </FONT> <FONT FACE="Calibri"> - SHUTDOWN, after the VM is shutdown</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># - STOP, after the VM is stopped (including VM image transfers)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># - DONE, after the VM is deleted or shutdown</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># - FAILED, when the VM enters the failed state</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># command :</FONT><FONT FACE="Calibri"> path can be absolute or relative to $ONE_LOCATION/share/hooks</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># case of self-contained installation or relative to</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># /usr/share/one/hooks in case of system-wide installation</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># arguments : for the hook. You can access to VM te</FONT><FONT FACE="Calibri">mplate variables with $</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># - $ATTR, the value of an attribute e.g. $NAME or $VMID</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># - $ATTR[VAR], the value of a vector e.g. $NIC[MAC]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># - $ATTR[VAR, COND], same of previous but COND select between</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># </FONT> <FONT FACE="Calibri"> multiple ATTRs e.g. $NIC[MAC, NETWORK="Public"]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># remote : values,</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># - YES, The hook is executed in the host where the VM was</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># allocated</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># - NO, The hook is executed in the OpenNebula server (default)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># Host Hooks (HOST_HOOK) defined by:</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># name : for the hook, useful to track the hook (OPTIONAL)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># on : when the hook should be executed,</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># - CREATE, when the Host is created (onehost create)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># - ERROR, when the H</FONT><FONT FACE="Calibri">ost enters the error state</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># - DISABLE, when the Host is disabled</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># command : path can be absolute or relative to $ONE_LOCATION/share/hooks</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># case of self-contained installation or relative to</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># /usr/share/one/hooks in case of system-wide installation</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># arguments : for the hook. You can use the Host ID with $HID to pass it as</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># argument for the hook</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># remote : values,</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># - YES, The hook is executed</FONT><FONT FACE="Calibri"> in the host</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># - NO, The hook is executed in the OpenNebula server (default)</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">HM_MAD = [</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> executable = "one_hm" ]</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">#-------------------------------- Image Hoo</FONT><FONT FACE="Calibri">k -----------------------------------</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># This hook is used to handle image saving and overwriting when virtual machines</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"># reach the DONE state after being shutdown.</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">VM_HOOK = [</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> name = "image",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> on = "DONE",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> command = "image.rb",</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> </FONT> <FONT FACE="Calibri"> arguments = "$VMID" ]</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
</BODY>
</HTML>