raid and luks after the fact ubuntu 18.04
https://tutorials.technology/tutorials/move-luks-encrypted-disk.html
https://tutorials.technology/tutorials/move-luks-encrypted-disk.html
#take a snapshot xe vm-snapshot new-name-label= vm= #convert back to a vm xe template-param-set is-a-template=false uuid= #export xe vm-export vm=(newname) filename= #cleanup-snapshot xe vm-uninstall uuid= from: http://serverfault.com/questions/489184/export-xenserver-snapshot-as-file-via-console
I was used to using smartctl -a -d megaraid,0 /dev/sda to get SMART info from my physical disks now with the LSISAS1068E (perc 6) I can get it with: smartctl -a /dev/sg0 or smartctl -a /dev/sg1 to see the physical Read more
https://docs.citrix.com/content/dam/docs/en-us/xenserver/xenserver-7-0/downloads/xenserver-7-0-installation-guide.pdf states: The Control Domain: Also known as ‘Domain0’, or ‘dom0’, the Control Domain is a secure, privileged Linux VM (based on a CentOS 7.2 distribution) that runs the XenServer management toolstack. Besides providing XenServer management functions, the Control Domain Read more
download a bunch of the buggers for file in XS*.zip;do foo=`basename -s .zip $file`; unzip $file; bar=`xe patch-upload file-name=${foo}.xsupdate`;xe patch-apply uuid=$bar host-uuid=YOUR_HOST_UUID;done you’ll probably want to add an rm of the zip file and an rm of the xsupdate file Read more
lsiutil is the program you want, so you can check the status of your raid link: http://docs.avagotech.com/docs/12351668
link: https://adamscheller.com/systems-administration/xenserver-local-iso-storage-new-partition/ for posterity… figure out the name of the volume group (something like name-uuid) pvscan create the new volume lvcreate -L 150G -n ISOs name-uuid find the volume you just created lvscan |grep ISO create the filesystem Read more
This will let you pick a uuid xe pif-list this will let you change the ip of that uuid xe pif-reconfigure-ip uuid= mode=static IP=192.168.1.1 netmask=255.255.255.0
CAUTION: with the following the system is up so you risk file loss, data loss, etc. — use at your own risk. Ideally you would shutdown your domU and use vm-export rather than vm-snapshot. make a snapshot xe vm-snapshot vm=name Read more
http://www.xenlens.com/boot-a-guest-vm-from-cd-or-dvd-in-xenserver/ copied for posterity In order to boot from cd or dvd you need to change the guest virtualization type from HVM (fully virtualized) to PV (paravirtualized). xe vm-param-set HVM-boot-policy=”BIOS order” uuid=[uuid of your vm] After you have booted from Read more