piątek, 28 sierpnia 2015

[Update VMWare ESXI 5.0 to 6.0] Aktualizacja VMWare ESXI 5.0 do 6.0

Aktualizację zaczynamy od skompletowania plików które w wersji freeware pobieramy z strony http://vmware.com/ Musimy jedynie posiadać konto na stronie a będziemy uprawnieni do korzystania z darmowej wersji ESXI 6.0.

Foto 1 - Lista niezbędnych plików.

Kolejnym krokiem jest wygenerowanie Boot-owalnego pen-drive. Z pomocą przyjdzie nam program Rufus (do pobrania w dziale Narzędzia).

Foto 2 - Tworzenie Boot-owalnego pen-drive.


Dziękuję za przeczytanie artykułu oraz obejrzenie materiału wideo. Zapraszam do częstrzego odwiedzania mojego Bloga. 


[Upgrade VMWare Tools Linux Debian] Aktualizacja VMWare Tools Linux Debian

Każda aktualizacja systemu VMWare ESXI wiąże się z aktualizacją narzędzi VMWare tools. W systemach Windows odbywa się ten proces automatycznie w Linuxie natomiast trzeba wykonać ręcznie ten proces. Zaczniemy od uruchomienia konsoli systemu w VMWare vSphere Client. Na górnej belce menu wybieramy: VM -> Guest -> Install/Upgrade VMWare Tools.

Foto 1 - Konsola systemu Linux.

Po chwili powinna nam się zamontować płyta z najnowszymi Toolsami.

Foto 2 - Zamontowany obraz VMWareTools.

Teraz musimy wykonać kilka poleceń z terminala systemu Linux.

root@linux-games:~$ su
root@linux-games:~# mount /dev/cdrom /mnt/cdrom
mount: punkt montowania /mnt/cdrom nie istnieje
root@linux-games:~# mkdir /mnt/cdrom
root@linux-games:~# mount /dev/cdrom /mnt/cdrom
mount: urzÄ…dzenie blokowe /dev/sr0 jest zabezpieczone przed zapisem, montowanie tylko do odczytu
root@linux-games:~# cd /tmp/
root@linux-games:/tmp# ls
ssh-NkxjYqYN0qbh  vmware-root
root@linux-games:/tmp# tar zxf /mnt/cdrom/VMwareTools-9.10.0-2476743.tar.gz 
root@linux-games:/tmp# ls
ssh-NkxjYqYN0qbh  vmware-root  vmware-tools-distrib
root@linux-games:/tmp# umount /dev/cdrom 
root@linux-games:/tmp# cd vmware-tools-distrib/
root@linux-games:/tmp/vmware-tools-distrib# ./vmware-install.pl 
The installer has detected an existing installation of open-vm-tools on this 
system and will not attempt to remove and replace these user-space 
applications. It is recommended to use the open-vm-tools packages provided by 
the operating system. If you do not want to use the existing installation of 
open-vm-tools and attempt to install VMware Tools, you must uninstall the 
open-vm-tools packages and re-run this installer.
The installer will next check if there are any missing kernel drivers. Type yes
if you want to do this, otherwise type no [yes] yes

A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed.  Continuing this install will 
first uninstall the currently installed version.  Do you wish to continue? 
(yes/no) [yes] yes

Uninstalling the tar installation of VMware Tools.

Stopping services for VMware Tools

Stopping VMware Tools services in the virtual machine:
   Unmounting HGFS shares:                                             done
   Guest filesystem driver:                                            done

update-rc.d: using dependency based boot sequencing
update-initramfs: Generating /boot/initrd.img-3.2.0-4-amd64
The removal of VMware Tools 9.4.0 build-1280544 for Linux completed 
successfully.

Installing VMware Tools.

In which directory do you want to install the binary files? 
[/usr/bin] 

What is the directory that contains the init directories (rc0.d/ to rc6.d/)? 
[/etc] 

What is the directory that contains the init scripts? 
[/etc/init.d] 

In which directory do you want to install the daemon files? 
[/usr/sbin] 

In which directory do you want to install the library files? 
[/usr/lib/vmware-tools] 

The path "/usr/lib/vmware-tools" does not exist currently. This program is 
going to create it, including needed parent directories. Is this what you want?
[yes] yes

In which directory do you want to install the documentation files? 
[/usr/share/doc/vmware-tools] 

The path "/usr/share/doc/vmware-tools" does not exist currently. This program 
is going to create it, including needed parent directories. Is this what you 
want? [yes] yes

The installation of VMware Tools 9.10.0 build-2476743 for Linux completed 
successfully. You can decide to remove this software from your system at any 
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by 
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want 
this program to invoke the command for you now? [yes] yes

The file /usr/bin/vmware-hgfsclient that this program was about to install 
already exists.  Overwrite? [no] yes

Initializing...


Making sure services for VMware Tools are stopped.

Stopping VMware Tools services in the virtual machine:
   VMware User Agent (vmware-user):                                    done
   Unmounting HGFS shares:                                             done
   Guest filesystem driver:                                            done


The module vmsync has already been installed on this system by another 
installer or package and will not be modified by this installer.

The module vmci has already been installed on this system by another installer 
or package and will not be modified by this installer.

The module vsock has already been installed on this system by another installer
or package and will not be modified by this installer.

The module vmxnet3 has already been installed on this system by another 
installer or package and will not be modified by this installer.

The module pvscsi has already been installed on this system by another 
installer or package and will not be modified by this installer.

The module vmmemctl has already been installed on this system by another 
installer or package and will not be modified by this installer.

The VMware Host-Guest Filesystem allows for shared folders between the host OS 
and the guest OS in a Fusion or Workstation virtual environment.  Do you wish 
to enable this feature? [yes] yes

The module vmhgfs has already been installed on this system by another 
installer or package and will not be modified by this installer.

The module vmxnet has already been installed on this system by another 
installer or package and will not be modified by this installer.

VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot that are not already present. This feature can
be enabled/disabled by re-running vmware-config-tools.pl.

Would you like to enable VMware automatic kernel modules?
[yes] yes

Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-3.2.0-4-amd64
   Checking acpi hot plug                                              done
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                                   done
   VMware Automatic Kmods:                                             done
   VMware User Agent:                                                  done
The configuration of VMware Tools 9.10.0 build-2476743 for Linux for this 
running kernel completed successfully.

Enjoy,

--the VMware team

root@linux-games:/tmp/vmware-tools-distrib# 

Komendy które należy użyć zostały pogrubione w powyższym tekście. Cały proces zajmie nam maksymalnie kilka minut. Na Foto 3 widać że nasze VMWareTools są aktualne i działają poprawnie.

Foto 3 - Podgląd na naszą maszynę po aktualizacji.

Porządki...

Witajcie. Dzisiaj z racji braku zasilania postanowiłem zrobić porządki z serwerem oraz okablowaniem. Uporządkowałem okablowanie za szafką RTV. Dodatkowo opisałem przewody i gniazda RJ45. Poniżej możecie zobaczyć jak teraz wygląda.


 Foto 1 - Opis gniazd RJ45 (ESX, VM)

Foto 2 - Porządek w okablowaniu za szafką.

Foto 3 - Powieszony router EdgeMax oraz switch TP-Link GBE.

Foto 4 - Zdjęcie poglądowe na całość.

Dodatkowo wygenerowałem nowe klucze OpenVPN ze względu na zmianę nazwy hostname. W trakcie przygotowań jest dodatkowa funkcjonalność WakeOnLan aby zdalnie uruchamiać urządzenia podłączone w domu do routera.

Foto 5 - Wygenerowane nowe klucze OpenVPN. Test prędkości tunelu z komórki przez 3G. Tracert zwraca bezpośrednie połączenie z serwerem Emotikon smile