Записи с Меткой ‘ xenserver

Убийство локальных хранилищь xenserver

Удаление локального хранилища (local storage) в XenServer 6.5

XenConvert vhd import

I used Disk2VHD to create a VHD then using XenConvert 2.3.1, I converted the VHD to OVF. It’s a couple of conversions but it works and imports nicely into XenCenter.

Only XenConvert not works.

http://www.citrixarena.com/2015/09/xen-server-failed-to-import-vhd.htmlxen_failed_import_vhd

xenserver backup

xackup-for-xenserver-1-1-11-elite

xenserver 7 pool HA lvmohba RAID IBM Bladecenter S Storage

IBM Bladecenter S Storage
Attach or introduce an existing LVMoHBA Storage Repository in XenServer 6 with Intel Molular Server multipath enabled _ XenLens

Delete Local Storage Repository in Xenserver

1. First, you have to determine the Storage-Repository-UUID:

xe sr-list

-> write down / take note of SR-UUID of the SR to delete

2. Find the corresponding Physical Block Device (PBD):

xe pbd-list sr-uuid=your-SR-uuid

-> write down / take note of PBD-UUID of the PBD to unplug and delete

3. Unplug the PBD:

xe pbd-unplug uuid=your-PBD-uuid

4. Delete PBD:

xe pbd-destroy uuid=your-PBD-uuid

5. Delete the association of your SR and the PBD:

xe sr-forget uuid=your-SR-uuid

Linux (Xenserver 7) HASP проброс USB в Windows server 2012

1с с ключем HASP, нужно пробросить с Xenserver 7 в виртуалку w2k12.
Собственно брал USB over Network with XenServer 6 _ Citrix Blogs гайд нормальный, но проблема заключилась в том что собирается x86 софт, а XEN x64, что приводило к ошибке:

[root@srv-xen1 ~]# /usr/local/usb-redirector/bin/usbsrv
-bash: /usr/local/usb-redirector/bin/usbsrv: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

 

Можно это лечить установкой glibc.i686, но ломка зависимостей в xenserver мне не улыбнулась.

Дальше смотрел в сторону usb/ip, но многие писали, что дружит не со всем. С hasp нет!
Пошел искать дальше.
https://virtualhere.com/ тот-же usb/ip, но меньше гемороя. И дрова свежие для всего.
1 usb бесплатно за остальные плати.

Installation is simple, figure out the architecture of your server device (for example x86_64), then on the linux server device:

wget http://www.virtualhere.com/sites/default/files/usbserver/vhusbdx86_64 (e.g x86_64, see list below) ()
chmod +x ./vhusbdx86_64 (to make that file executable)
sudo ./vhusbdx86_64 -b (to run it in the background)
Plug USB devices to share into your server and run the Client on the remote machines

vi /etc/sysconfig/iptables
вставить перед REJECT
-A RH-Firewall-1-INPUT -m state —state NEW -m tcp -p tcp —dport 7575 -j ACCEPT

service iptables restart

xenserver драйвера для windows

http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-drivers

xen_gplpv_driver

zimbra 8.6 на centos 7 VM (Xenserver 7) за nat

http://it.kuchuk.net/2015/04/zimbra-86-centos-7-esxi-55-nat-install.html
http://www.bobronet.ru/ustanovka-pochtovogo-servera-zimbra-8-6-na-linux-centos-6-5/

Xenserver FullHD VM

XenServer uses Cirrus video driver by default for all new VMs, which provides basic graphics and a maximum desktop resolution of 1024×768.

To get better resolution (up to 2560×1600) and color depth (32bpp), you need to change VM parameters to use Standard VGA driver instead of Cirrus video driver.

Shutdown your VM
From the command line, find the UUID of your VM:
xe vm-list
Taking the UUID value, run the following two commands:
xe vm-param-set uuid= platform:vga=std
xe vm-param-set uuid= platform:videoram=16

These steps have been tested on XenServer 6.5 and work perfectly!

You can always switch back to using default Cirrus video driver by removing the above defined properties using the following commands:

xe vm-param-remove uuid= param-name=platform param-key=vga
xe vm-param-remove uuid= param-name=platform param-key=videoram

Xenserver 7 Passthrought

Перед описанными ниже манипуляциями нужно понять работает ли IOMMU, поддерживает ли ваш проц и мать (BOIS) vt-d, vt-x. На моих hs23 пробрасывается все, но винда не видеокарту, ни USB контроллер использовать не захотела. За сим нашлись другие пути решения.

http://www.dtulyakov.ru/usb2xen.html

I’ve recently upgraded to the latest version of Citrix Xenserver 7 (codenamed “Dundee”.) 7 is based on CentOS 7 and has a massive amount of changes under the hood. One such change was how they handle PCI Passthrough.

It took some time to figure PCI Passthrough out. 7 uses grub instead of extlinux for the bootloader. It appears to be grub2 but they don’t use the standard update-grub tool, rather you simply edit the config file and do nothing else.

After much searching I found this post which led me in the right direction. In Xenserver 7, for pci passthrough support you must do the following:

Prepare the VM for PCI passthrough (this part hasn’t changed)

xe vm-param-set other-config:pci=0/0000:B:D.f uuid=

Modify /boot/grub/grub.cfg and append the following to the end of the module2 line (if you boot from EFI the file to modify is /boot/efi/EFI/xenserver/grub.cfg)

xen-pciback.hide=(B:D.f)

Reboot

xe vm-param-set uuid=… other-config:pci=0/0000:02.00.1,0/0000:02.00.2,…
— проброс устройств в виртуалку