Перейти до основного вмісту

Публікації

Показано дописи з міткою "ESXi"

Міграція VM між серверами ESXI

Enable SSH Service on Source and Destination ESXI Servers To enable the SSH service, log in to the web interfaces for your ESXI servers. Then click on Host at the top right. Click Actions -> Services -> Enable Secure Shell (SSH) (if it is not already enabled). Enable SSH Client Service on Source ESXI Server. Log in to the SSH of the source ESXI server using the putty tool. You may need to run the below commands: esxcli network firewall ruleset list --ruleset-id sshClient Check if the SSH client service is enabled. If disabled, the command will return a result of ‘False’. If a ‘False’ response is returned, run this next command. If ‘False’ is not the returned response, proceed to the next step! esxcli network firewall ruleset set --ruleset-id sshClient --enabled=true Copy the VM from Source to Destination Before running the below commands, make sure the VM that will be migrated is turned off in the source ESXI server. Connect to your source ESXI server using putty or your favorite

Міграція з Proxmox на ESXI

Міграція https://www.rajaseelan.com/ posts/migrate-guest-vm-from- proxmox-to-vmware/ https://edywerder.ch/proxmox- to-vmware/# https://communities.vmware. com/t5/VMware-vSphere- Discussions/Migrating-from- KVM-to-VMware/td-p/2293576 https://blog.ktz.me/migrate- qcow2-images-from-kvm-to- vmware/ https:// possiblelossofprecision.net/? p=2293 Не завантажається (Switch the bios to EFI (or the other way around)) https://www.reddit.com/r/ Proxmox/comments/nbfjop/ export_proxmox_vm_for_use_ with_esxi/ Ковератція з IDE в SCSI https://cname.se/vmware- converting-a-virtual-ide-disk- to-a-virtual-scsi-disk/ https://www.virtualtothecore. com/convert-a-virtual-disk- from-ide-to-scsi/ https://www.wh33ly.nl/wp/?p= 495 https://kb.vmware.com/s/ article/1016192?sl ...

Налаштування apcupsd для зупинення VM в EXSi (версія 2)

Це оновлення версія попередньої публікації https://onchigor.blogspot.com/2016/07/apcupsd-vm-exsi.html Але цього разу використав досвід з https://gist.github.com/gschora/a10f0692e6e691aa1af8 https://habr.com/ru/sandbox/101324/ Послідовність викладена так ################################################################# # these are instructions for automating the suspend and shutdown of esxi vm's # and host in case of a power failure. ################################################################## 0# make a new VM and install Ubuntu-Server on it 1# install apcupsd apt-get install apcupsd 2# configure /etc/apcupsd/apcupsd.conf 3# enable apcupsd vim /etc/default/apcupsd ISCONFIGURED=yes 4# restart apcupsd sudo service apcupsd restart ------------------------------------------------- 5# enable ssh on esxi configuration-tab - security profile - properties (right upper corner) 6# copy shutdown_esxi.sh on esxi into datastore e.g. "/vmfs/volumes/MyDataStore/scripts 7# make the

Зміна типу диску на SSD в ESXI

Після додавання нового диску в ESXI, його тип встановлюється Non SSD. Для зміни потрібно зайти через термінал до оболонки ESXI і там встановити новий тип. Перелік дисків # esxcli storage nmp device list Змінити тип за допомогою # esxcli storage nmp satp rule add --satp VMW_SATP_LOCAL --device XXXXXXXXX --option=enable_ssd де XXXXXXXXX код диска з попереднього переліку чи з графічної оболонки ESXI. Перевірити результат # esxcli storage nmp satp rule list | grep enable_ssd Тепер треба переєструвати диск, щоб задіяти нове правило # esxcli storage core claiming reclaim -d XXXXXXXXXX І оновити перелік дисків # vim-cmd hostsvc/storage/refresh Тепер можна перевірити параметр "Is SSD: true" через # esxcli storage core device list --device=XXXXXXXX   Поради знайшов у https://kb.vmware.com/s/article/2013188 http://pyatilistnik.org/kak-sdelat-esxi5-h-h-videt-disk-kak-ssd-v-drive-type/

Клонування гостьової машини в VMware vSphere Client 5

Треба створити копію віртуальної машини VMware без використання vCenter в ESXi 5. Спочатку запускаємо VMware vSphere Client та зупиняємо  віртуальну машину, котру хочемо скопіювати (клонувати). Потім вибираємо закладку Configuration і відкриваємо налаштування Storage. Список Datastores буде відкрито у правій панелі. Натискаємо праву кнопку на datastore потрібної VM та вибираємо Browse. Натискаємо праву кнопку на кореневій теці у списку зліва і створюємо нову теку, наприклад "Application". Вибираємо теку машини для клонування (наприклад "2008R2 Machine"), вибираємо файл конфігурації (.vmx) та файл віртуального диску (.vmdk). Натискаємо праву кнопку і копіюємо у буфер ("clipborad"). Потім вибираємо створену теку ("Application")  і вставляємо туди ці два файли. Треба зареєструвати нову машину. Для цього вибираємо скопійований файл конфігурації (.vmx) , натискаємо праву кнопку і обираємо "Add to Inventory". Вказуємо ім’я створеної віртуаль