@olivierlambert How would I do that with the rest api?
Latest posts made by Studmuffn1134
-
Python help
All I want to do is be able to send force shut offs
Am i able to get help here?
def force_shutdown_vm(vm_uuid): XO_URL = "https://192.168.100.30:2223/" username = "ThePlague" password = "NO" context = ssl._create_unverified_context() try: session = XenAPI.Session(XO_URL,ignore_ssl=True) session.set_ssl_context(context) session.xenapi.login_with_password(username,password) vm_ref = session.xenapi.VM.get_by_uuid(vm_uuid) session.xenapi.VM.Clean_shutdown(vm_ref) print("The VM Shutdown Successfully.") except Exception as e: print(f"Error: {e}") finally: session.xenapi.session.logout()
what am i doing wrong ahhahahahaha
-
Building Xen Orchestra 6 from scratch
How would I build XO 6 from scratch is it similar to the process for XO 5?
-
RE: VM Graceful shutdown using apc network shutdown
@olivierlambert Ihave been tryign to get graceful power off to work with my nas whcih is Truenas by the way but i havent gotten it to work yet oddly i cant seem to get them talking yet
-
RE: VM Graceful shutdown using apc network shutdown
@vmpr So you dont really shutdown the hosts as much as just shutdown the vm's running on the hosts
What is Puppet?
and what i am really worried about is not the vm's themselves per say it is the fact that they are connected over NFS and what would a sudden power loss do to an nfs share would it corrupt it? -
VM Graceful shutdown using apc network shutdown
Does anyone have any idea how I could do this i am running a smart-ups 1500 and a nmc3 I have power chute theoretically set up it was working for vmware Vcenter but how do I get it to work for xcp-ng and or XO