понедельник, 20 апреля 2015 г.

Бэкап на NFS шару под Oracle Linux.

Отсюда: http://oracle-base.com/articles/linux/linux-nfs-configuration.php#installation

Ставим.
#yum install nfs-utils

Включаем, проверяем автозапуск.
#service nfs start
#chkconfig nfs on

Правим /etc/exports.
Пример:
/mount-point-1 host1(ro)
/mount-point-2 192.168.0.190(rw)
/mount-point-3 *(ro)
/mount-point-4 192.168.0.0/24(ro)
/mount-point-5 host1(ro) host2(rw) 192.168.0.0/24(ro)

Перегружаем сервис.
#service nfs restart
или
#exportfs -ra

Для Oracle нужны особые параметры при монтировании.
#mount -t nfs -o hard,bg,rw,nointr,noac,rsize=32768,wsize=32768,suid,proto=tcp,vers=3    hostname:/dir    /dir

вторник, 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

четверг, 9 апреля 2015 г.

Настройка NTP на контроллере домена

Отсюда: http://it.nppiris.ru/windows/windows-2003-2008-domen-time/

Находим все DC и того, кто из них PDC эмулятор
netdom query fsmo
На PDC делаем следующее
w32tm /stripchart /computer:time.windows.com /samples:5 /dataonly
которая произведет 5 сравнений с источником, а затем
w32tm /config /manualpeerlist:time.windows.com /syncfromflags:manual /reliable:yes /update
которая непосредственно выполнит настройку.
Можно указать сразу несколько серверов, в этом случае необходимо раздели имена серверов пробелом и всех их заключит в кавычки: /manualpeerlist:"time.windows.com clock0.macomnet.ru".