Устанавливал CentOS-6.3-x86_64-minimal.iso
Тут берём "Linux Integration Services Version v3.3 for Hyper-V"
Отключу сразу SELinux (не обязательное условие).
Выполняем:
The problem here is that the kmod RPM has symbols in it that are not in the RedHar/CentOS 6.3 kernels. Because of this the install.sh script fails when it cant apply the kernal mods.
Theres two well known solutions for this problem, 1) Downgrade the Kernal, or 2) install an older CentOS and upgrade it to 6.3 after the integration services are installed.
Theres actually a third option, thats quite a bit easier as well: If you install the RPMs manually and force the dependancy check all seems to be good. A yum update will throw a warning, but the system will still function.
To do this mount the integration services 3.3 disk on your linux instance. Then execute the RPMs directly in the following order:
По этому ставлю CentOS-6.2-x86_64-minimal.iso
Имею:
Далее выполняю:
Перезагружаю ОСь.
Настраиваем сетку.
Примечание: До установки Linux Integration Services, система не будет видеть сетевые карты (можно выставить в настройках ВМ "старую сетевую карту" он ее увидит, если есть в этом острая необходимость), после установки, сетевые карты прекрасно распознаются и будут присутствовать в системе.
Смотрим сетевухи:
После интеграции появилась сетевуха, но соль в том, что в /etc/sysconfig нету файла network, создадим и заполним:
Заполняем:
Незабываем про /etc/resolv.conf
Далее нужно обновится до 6.3 (желательно за снэпшотиться)
Теперь вирт машину можно экспортнуть, дабы не заниматься этим в дальнейшем.
Тут берём "Linux Integration Services Version v3.3 for Hyper-V"
Отключу сразу SELinux (не обязательное условие).
Выполняем:
# mkdir /mnt/cdrom # mount /dev/cdrom /mnt/cdrom # mkdir /opt/lis33 # cp /mnt/cdrom/* /opt/lis33 # cd /opt/lis33 # ./install.shи будет ошибка
kernel(clocksource_register) = 0xd88be65d is needed by kmod-microsft-hyper-vrhel63.3-4.20120605.x86_64Суть проблемы:
The problem here is that the kmod RPM has symbols in it that are not in the RedHar/CentOS 6.3 kernels. Because of this the install.sh script fails when it cant apply the kernal mods.
Theres two well known solutions for this problem, 1) Downgrade the Kernal, or 2) install an older CentOS and upgrade it to 6.3 after the integration services are installed.
Theres actually a third option, thats quite a bit easier as well: If you install the RPMs manually and force the dependancy check all seems to be good. A yum update will throw a warning, but the system will still function.
To do this mount the integration services 3.3 disk on your linux instance. Then execute the RPMs directly in the following order:
rpm -Uvh --nodeps kmod-microsoft-hyper-v-rhel63.3-4.20120605.x86_64.rpm rpm -Uvh --nodeps microsoft-hyper-v-rhel63.3-4.20120605.x86_64.rpmAfter a reboot you should be able to use a synthetic NIC, have time sync, etc.
По этому ставлю CentOS-6.2-x86_64-minimal.iso
Имею:
Далее выполняю:
# mkdir /mnt/cdrom # mount /dev/cdrom /mnt/cdrom # mkdir /opc/lis33 # cp /mnt/cdrom/* /opt/lis33 # cd /opt/lis33 # ./install.sh
Перезагружаю ОСь.
Настраиваем сетку.
Примечание: До установки Linux Integration Services, система не будет видеть сетевые карты (можно выставить в настройках ВМ "старую сетевую карту" он ее увидит, если есть в этом острая необходимость), после установки, сетевые карты прекрасно распознаются и будут присутствовать в системе.
Смотрим сетевухи:
# ip link show
После интеграции появилась сетевуха, но соль в том, что в /etc/sysconfig нету файла network, создадим и заполним:
# vi /etc/sysconfig/networkСодержание файла:
HOSTNAME=linux.moydomain.ru NETWORKING=yes NETWORKING_IPV6=no GATEWAY=10.0.0.1Далее создадим файл ifcfg-eth0 в /etc/sysconfig/network-scripts
# vi /etc/sysconfig/network-scripts/ifcfg-eth0Перед заполнением содержания файла, в свойствах вирутального хоста нужно глянуть MAC адрес.
Заполняем:
DEVICE=eth0 BOOTPROTO="dhcp" HWADDR=00:15:5D:00:0F:07 NM_CONTROLLED="no" ONBOOT="yes" TYPE="Ethernet"Тут необходимо указать MAC адрес, который сгенерировала Hyper-V (в свойствах сетевого адептера виртуального хоста.).
Незабываем про /etc/resolv.conf
search moydomain.ru nameserver 10.0.0.2 nameserver 10.0.0.3Подробнее про настройку сети тут.
Далее нужно обновится до 6.3 (желательно за снэпшотиться)
# yum -y update # shutdown -r now
Теперь вирт машину можно экспортнуть, дабы не заниматься этим в дальнейшем.


Зря советуют ставить через "rpm -Uvh --nodeps".. У меня yum вообще отвалился и не реагирует ни на какие команды. Тоже ставил релиз 6.2, потом обновлялся
ОтветитьУдалить