Показаны сообщения с ярлыком VMWare. Показать все сообщения
Показаны сообщения с ярлыком VMWare. Показать все сообщения

четверг, 26 января 2017 г.

Импорт ovf с ошибкой Unsupported hardware family vmx-11

Просто меняем в ovf  vmx-11 на vmx-7, например.
Затем снимаем контрольную сумму (SHA1) файла ovf  и меняем её в файле mf.
Контрольную сумму можно получить консольной утилитой fciv от Microsoft.

понедельник, 9 января 2017 г.

Решение для SSL3_GET_CLIENT_HELLO:no shared cipher.

При подключении через vSphere Client выдает "the client could not send a complete request". В логе /var/log/rhttpproxy.log следующее:
SSLStreamImpl::DoServerHandshake (04512860) SSL_accept failed. Dumping SSL error queue
error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher

Решение отсюда:

  1. Connect to the host via SSH.
  2. Navigate to the directory:

    /etc/vmware/rhttpproxy/
  3. Backup the config.xml file. Do not skip this step.
  4. Open config.xml file using vi editor.
  5. Add the <cipherList>ALL</cipherList> parameter between the <ssl>...</ssl> section of the configuration file. Use the model below as an example: 

    <config>
    ...<vmacore>...<ssl><doVersionCheck> false </doVersionCheck><useCompression>true</useCompression><libraryPath>/lib/</libraryPath><handshakeTimeoutMs>120000</handshakeTimeoutMs><cipherList>ALL</cipherList></ssl>...</vmacore>...</config>
  6. Save and close the config.xml file
  7. Reset the rhttpproxy service for the change to take effect by running the command:

    /etc/init.d/rhttpproxy restart

четверг, 4 февраля 2016 г.

Мониторим HP Smart Array на VMWare ESXi 5.1 через Zabbix.

Первым делом организуем ssh авторизацию по ключу.
Создаем ключи, как описано здесь.
Копируем ключ на удаленный сервер.
#cat /root/.ssh/id_dsa.pub | ssh root@esxi_server_ip 'cat >> /etc/ssh/keys-root/authorized_keys'


среда, 28 октября 2015 г.

Решение проблемы с отображением графиков Performance Overview в VCenter 5.1

На машине VCenter в файле C:\Program Files\VMware\Infraestructure\tomcat\conf\server.xml ищем параметр ciphers и меняем на ciphers="SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA".

Потом перегружаем сервис.

вторник, 19 мая 2015 г.

Сжатие thin диска в ESXi.

По мотивам http://winitpro.ru/index.php/2013/07/15/szhimaem-tonkij-thin-disk-v-esxi-5.

Заходим на виртуальную машину, скачиваем SDelete.
Заполняем свободное место на диске нулями:
sdelete -z c:
!Выключаем Windows!

Подключаемся по ssh к гипервизору, переходим в папку виртуальной машины (/vmfs/volumes/...).
Смотрим реальный размер файла:
# du -h *.vmdk
Сжимаем vmdk диск (--punchzero):
# vmkfstools -K host.vmdk
Проверяем сжатие.
# du -h *.vmdk

вторник, 14 апреля 2015 г.

Проблема с подключением к ESXi 5.1 клиентами 5.1 и 5.5 на Windows XP.

Подробно описана здесь http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2049143.
    •  For ESXi 5.1 and 5.5
    1. Connect to the host via SSH. For more information, see Using ESXi Shell in ESXi 5.0 and 5.1 (2004746).
    2. Navigate to the directory:

      /etc/vmware/rhttpproxy/
    3. Backup the config.xml file. Do not skip this step.
    4. Open config.xml file using vi editor. For more information, see Editing files on an ESX host using vi or nano (1020302).
    5. Add the <cipherList>ALL</cipherList> parameter between the <ssl>...</ssl> section of the configuration file. Use the model below as an example:

      <config>
      ...<vmacore>...<ssl><doVersionCheck> false </doVersionCheck><useCompression>true</useCompression><libraryPath>/lib/</libraryPath><handshakeTimeoutMs>120000</handshakeTimeoutMs><cipherList>ALL</cipherList></ssl>...</vmacore>...</config>
    6. Save and close the config.xml file
    7. Reset the rhttpproxy service for the change to take effect by running the command:

      /etc/init.d/rhttpproxy restart

вторник, 13 мая 2014 г.

Нюансы использования vCenter Converter.

Имя пользователя, от которого запускаем утилиту должно отличаться от имени компьютера!
Sysprep качаем отсюда http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1005593

четверг, 27 марта 2014 г.

Установка HP Array Management Utility на ESXi 5.1

Идем на сайт HP и скачиваем HP ESXi Utilities Offline Bundle for VMware ESXi.
Например, hp-HPUtil-esxi5.0-bundle-1.6-19.zip.
Включаем SSH на ESXi: заходим в Configuration-Security Profiles-Properties.
Выбираем SSH-Options, Start.
Подключаемся.
Закачиваем бандл на хост (через SCP, например).
Устанавливаем, указывая полный путь к файлу.
# esxcli software vib install -d /hp/hp-HPUtil-esxi5.0-bundle-1.6-19.zip
Перезагружаем ESXi.
Убеждаемся, что всё встало.
# esxcli software vib list

Утилиту запускаем, указывая полный путь
# /opt/hp/hpssacli/bin/hpssacli controller all show status
# /opt/hp/hpssacli/bin/hpssacli controller slot=0 show config detail