cloudstack/agent/bindir
Wido den Hollander 8da0556f63 kvm/cloudstack-guest-tool: Tool to query Qemu Guest Agent (#3519)
Using this tool on a hypervisor admins can query KVM Instances running
on that hypervisor if they have the Qemu Guest Agent installed.

All System VMs have this and they can be queried.

For example:

$ cloudstack-guest-tool i-2-25-VM

This will print some information about network and filesystem status.

root@hv-138-a05-23:~# ./cloudstack-guest-tool s-11-VM --command info|jq
{
  "network": [
    {
      "ip-addresses": [
        {
          "prefix": 8,
          "ip-address": "127.0.0.1",
          "ip-address-type": "ipv4"
        }
      ],
      "name": "lo",
      "hardware-address": "00:00:00:00:00:00"
    },
    {
      "ip-addresses": [
        {
          "prefix": 16,
          "ip-address": "169.254.242.169",
          "ip-address-type": "ipv4"
        }
      ],
      "name": "eth0",
      "hardware-address": "0e:00:a9:fe:f2:a9"
    },
 ...
 ...
  "filesystem": [
    {
      "mountpoint": "/var",
      "disk": [
        {
          "bus": 0,
          "bus-type": "virtio",
          "target": 0,
          "unit": 0,
          "pci-controller": {
            "slot": 7,
            "bus": 0,
            "domain": 0,
            "function": 0
          }
        }
      ],
      "type": "ext4",
      "name": "vda6"
    },

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2019-09-10 09:31:03 -07:00
..
cloud-guest-tool.in kvm/cloudstack-guest-tool: Tool to query Qemu Guest Agent (#3519) 2019-09-10 09:31:03 -07:00
cloud-setup-agent.in CLOUDSTACK-10333: Secure Live VM Migration for KVM (#2505) 2018-04-20 00:36:18 +05:30
cloud-ssh.in Summary: Adding utility to make system vm maintenance easier for admins 2012-11-16 10:17:12 -07:00
cloudstack-agent-profile.sh.in CLOUDSTACK-8339: Allow non-root users to add KVM host 2015-05-25 14:36:29 +02:00
cloudstack-agent-upgrade.in CLOUDSTACK-4405: additional patch for bridge name and firewall rules issues after KVM upgrade to 4.2 2013-09-24 09:55:00 +02:00
libvirtqemuhook.in kvm: fix qemu hook race condition (#3405) 2019-06-14 12:55:04 +05:30