virsh and bash scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm looking for a way to use virsh to connect to vCenter/VCSA and do some simple management of the VM's in case of power loss (I'm planning to run the script upon UPS/apcd event of power failure).

Looking through the virsh documentation, I didn't find 2 things:

1. Login through a script (I don't see any user/password, specially since VCSA for example requires to use username@vsphere.local [or your AD domain insteadd of vsphere.local if you connected it to your AD domain])
2. Get all the VMs running on the vCenter, not just specific hosts.

Any suggestion?

Thanks
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux