Xen configuration example for Windows

В данном топике я приведу пример конфигурации XEN для Windows Server, который я использую. Отличительной особенностью является то, что в гостевую машину проброшен Aladdin Hasp Key для 1C. А также подключен VNC для подключения с определенным портом

import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 4096

# Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
shadow_memory = 8
name = "win2008"
vif = [ 'ip=192.168.1.5' ]
acpi = 1
apic = 1
pae = 1
disk = [ 'file:/home/xen/domains/win2008/disk1.img,hda,w' , 'file:/home/xen/domains/win2008/disk2.img,hdb,w', 'file:/home/xen/domains/win2008/disk3.img,hdc,w','file:/home/xen/domains/win2008/disk4.img,hdd,w']

device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
vcpus=4
boot="dc"
sdl=0
vnc=1
vncdisplay=1
vncpasswd='assembler'
vnclisten='192.168.1.4'
usb=1
usbdevice='host:0529:0001'
Рекомендуем почитать
Server 2008 R2 xenpci.sys BSOD

Based on customer feedback, we have come across an error that can occur when restoring your VM onto the new Читать дальше...

Конвертируем XEN IMG в формат VirtualBOX VDI

vboxmanage convertfromraw --format VDI elastix.img elastix.vdi

Перенос образа из VirtualBox в XEN

Для того, чтобы перенести ваш образ, созданный в VirtualBox в XEN необходимо сконвертировать VDI-диск в IMG формат. Для этого воспользуемся Читать дальше...

Паравиртуализация XEN или решаем проблемы с производительностью

Паравиртуальные драйверы Xen — специальный вид драйверов устройств, которые используются в гостевой системе в домене Xen (в общем случае паравиртуальным Читать дальше...

Быстрое создание жесткого диска в XEN

Практически моментально можно создать виртуальный жесткий диск для XEN выполнив команду: dd if=/dev/zero of=/home/xen/virt1/disk1.img bs=1024 seek=100000000 count=0 Данный пример создаст Читать дальше...

Поделиться

20 комментариев к “Xen configuration example for Windows

  1. It’s truly very complex in this busy life to listen news on Television, so I
    just use world wide web for that reason, and get the most up-to-date information.

  2. Greetings from Los angeles! I’m bored to tears at work so I decided to browse your blog on my iphone during
    lunch break. I love the info you provide here and can’t wait to take a look when I get home.

    I’m shocked at how quick your blog loaded on my mobile ..
    I’m not even using WIFI, just 3G .. Anyways,
    awesome site!

  3. Fantastic items from you, man. I’ve take into account
    your stuff previous to and you’re simply extremely great.

    I really like what you have acquired right here, really like what
    you’re stating and the best way wherein you are saying it.
    You are making it enjoyable and you continue to take care of
    to stay it sensible. I cant wait to read much more from you.

    That is really a wonderful web site.

  4. Woah! I’m really digging the template/theme of this site.
    It’s simple, yet effective. A lot of times it’s tough
    to get that “perfect balance” between usability and visual appeal.
    I must say you have done a very good job with this. Also,
    the blog loads very fast for me on Firefox. Outstanding Blog!

  5. Hi, i believe that i noticed you visited
    my weblog so i got here to go back the choose?.I’m trying to in finding things to
    enhance my web site!I assume its ok to use a
    few of your ideas!!

  6. Hi, Neat post. There is a problem together with your site in web explorer, might test
    this? IE still is the market leader and a big component of people
    will leave out your great writing because of this problem.

  7. I’ve been browsing on-line greater than three hours as of late,
    but I never discovered any fascinating article like yours.
    It’s beautiful worth enough for me. In my opinion, if
    all webmasters and bloggers made just right content
    material as you did, the web will probably be much more useful than ever before.

  8. I have to thank you for the efforts you have put in penning this website.

    I really hope to check out the same high-grade content
    from you later on as well. In fact, your creative
    writing abilities has encouraged me to get my own website
    now 😉

Оставить ответ

Ваш адрес email не будет опубликован. Обязательные поля помечены *