From 3e9b36493c334b9e846d51dd2ae0608568544083 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Mon, 24 Feb 2020 09:46:06 +0100 Subject: [PATCH] add to xcp xe --- system/xcp-ng/basics.md | 13 +++++++++++++ system/xcp-ng/xe.md | 22 ++++++++++++++++++++-- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/system/xcp-ng/basics.md b/system/xcp-ng/basics.md index d6e66ce..d22f0e9 100644 --- a/system/xcp-ng/basics.md +++ b/system/xcp-ng/basics.md @@ -9,5 +9,18 @@ This creates a UUID for the new directory: `e94e25bb-bcdc-801b-b62a-b51b686a3bdc` +# Main Console + +> xsconsole + +# Volumes + +List volumes: + +> lvs + +List groups: + +> vgs diff --git a/system/xcp-ng/xe.md b/system/xcp-ng/xe.md index 881b596..429370d 100644 --- a/system/xcp-ng/xe.md +++ b/system/xcp-ng/xe.md @@ -1,3 +1,17 @@ +# Basic VM Management + +> xe vm-list + +Start, stop, et c. all done with `xe`: + +> xe vm-start vm=TTS + +> xe vm-shutdown vm=Bob + +Destruction requires the uuid. + +> xe vm-destroy uuid=243b1165-14aa-37f6-496f-44879d05b3f2 + # Shut Down VM List VMs. @@ -20,7 +34,7 @@ And destroy the domain: > /opt/xensource/debug/xenops destroy_domain -domid -# Error: "Internal error:xenopsd internal error: Storage_interface.Illegal_transition" in XenServer +# Error: `Internal error:xenopsd internal error: Storage_interface.Illegal_transition` in XenServer ## Symptoms or Error @@ -66,7 +80,7 @@ xe vm-import filename=/mnt/blah.xva # USB -## Attack +## Attach Put in the USB. @@ -88,3 +102,7 @@ For passthrough, use this: [link](https://github.com/xcp-ng/xcp/wiki/USB-Pass-Through) +# Storage Spaces - "SR" + +> xe sr-list +