- Is there a vSphere Client for Linux and Mac?
- Run a Windows VM in Player, Workstation or Fusion
- Access your VM-console from Linux or Mac OS X with a VMware Player-console
- Host management with SSH and vCLI
- Accessing the vSphere Web Client from a Linux desktop?
- vSphere Client on the Linux Desktop
- Как получить доступ к Vmware vSphere из-под Linux?
- Виртуализация vSphere, Hyper-V, Xen и Red Hat
- Более 5510 заметок о виртуализации, виртуальных машинах VMware, Microsoft и Xen, а также Kubernetes
- Установка VMware vCenter Linux для управления ESX / ESXi.тановка VMware vCenter Linux – управление виртуальными машинами и серверами ESX / ESXi средствами виртуального модуля (Virtual Appliance).
Is there a vSphere Client for Linux and Mac?
If you are using a Linux-based pc or Mac OS X and want to manage a vSphere-environment then you might ask yourself the question if there is a native OS-version of the vSphere Client available for your platform.
The short answer is: no.
The longer answer is: do you need one? And is there an alternative? For most day to day operations you should move to the vSphere Web Client. And you can access that from your Linux system and Mac OS X. The only problem with that is that it only works with vCenter. So what do you do when your vCenter server is down or what to do if you only have one ESXi server?
There are a few tools that you can use to make administration for your environment simpler. But you would always need the vSphere Client on Windows at least once after installation of ESXi to for example import the vCenter Virtual Appliance (explained here) Or to create a virtual machine.
It is also possible to import the appliance from the command line with VMware’s OVF Tool, which is available for Linux and Windows. How to do this is explained in this article.
Run a Windows VM in Player, Workstation or Fusion
To work with the full vSphere Client on Windows you can run it in a Windows virtual machine or from a physical Windows computer to configure the ESXi-host and create virtual machines. I personally run openSUSE and work with Linux for the largest part of the day. But from time to time there are Windows-based applications for which there really is no alternative and for those cases I have a Windows VM on my laptop.
Access your VM-console from Linux or Mac OS X with a VMware Player-console
Once your ESXi-host is up and running and you have multiple virtual machines running and maybe also vCenter deployed as a virtual appliance then you can access the console of those virtual machines with VMware Player. This tool is available as a download for Windows and Linux (www.vmware.com/go/downloadplayer) and it’s included with Mac OS X.
With VMware Player installed you can run it from the command line and connect to an ESXi-host:
This will open a VMware Player window and requests login to the host. You can provide the host’s IP-address with the -h parameter but if you leave it out you can enter it with the user credentials.
Once you are logged in you will see a list of available virtual machine. If the VM is not powered on and you open a console to the VM it will be powered on. If it’s already running you can connect directly to the virtual machine. In the image below you see a VM running Windows. It also has the vSphere Client to allow you to manage the ESXi-host.
Host management with SSH and vCLI
You can also perform some management tasks from an SSH-connection to your host. You must enable your SSH-server on the ESXi-server before you can do this. You can enable this from the vSphere Client or from the Direct Console User Interface (DCUI) on the server’s console. Once you have access with SSH and you want to use the DCUI for configuration purposes you can type this command:
And it will open the menu-based console in your SSH-session. To close it press ctrl-c.
Источник
Accessing the vSphere Web Client from a Linux desktop?
A common miss-conception about the vSphere Web Client is that it is not accessible from a Linux-based desktop. Contrary to popular belief, this is actually possible at least from a technical standpoint as alluded to in this VMware KB. A recent discussion about this topic had piqued my interest as my own understanding of whether the vSphere Web Client would even work on a Linux desktop is fuzzy at best since it is not a desktop OS I use on a regular basis.
Though this may still comes as a surprise to some folks, Adobe Flash is indeed a requirement to use the vSphere Web Client. There are actually two ways to satisfy this requirement using any modern Linux desktop distribution. In the example below, I am using the latest Ubuntu Desktop 14.04 distribution to demonstrate the two options.
The first option is the most «convenient» by simply using the latest version of Google Chrome browser which actually bundles the Pepper Flash Plugin (more details can be found here from Adobe). Here is the CLI commands to perform the installation of Google Chrome on Ubuntu, you acn easily do a search for the instructions for other Linux distributions.
sudo sh -c ‘echo «deb http://dl.google.com/linux/chrome/deb/ stable main» >> /etc/apt/sources.list.d/google.list’
wget -q -O — https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add —
sudo apt-get update
sudo apt-get -y install google-chrome-stable
Here is a screenshot using Google Chrome connecting to a vSphere 6.0 environment as well as accessing the VMRC of a VM:
The second option is slightly less «convenient» since you need to install the Pepper Flash Plugin in addition to the browser that supports this plugin which is Chromium. Here is the CLI commands to perform the installation of Chromium on Ubuntu, you can easily do a search online for instructions for other Linux distributions.
sudo apt-get update
sudo apt-get -y install pepperflashplugin-nonfree
sudo apt-get -y install chromium-browser
Here is a screenshot using Chromium connecting to a vSphere 6.0 environment and you will also be able to access the VMRC of a VM:
This looks pretty good right? I mean you can login to the vSphere Web Client UI to perform basic operations and access the VM Console using the HTML5 based VMRC. Well, almost but there are a couple of caveats to be aware of which may not be obvious at first. In addition to the basic operations and VMRC access, there some other important capabilities the vSphere Web Client offers today:
- Deploying OVF/OVA
- Windows Session Authentication
- Uploading files to a vSphere Datastore
- Mounting ISO/Floppy Image
- Connecting Local Devices (e.g. USB/CD-ROM)
The above capabilities are made available through what is known as the Client Integration Plug-in (CIP) which is something that is downloaded from the vSphere Web Client Server and installed locally on your desktop. A Linux CIP installer is currently not available today and the above functionality would not be available in the vSphere Web Client. Having said that, not all is lost and there are some workarounds. If you wish to deploy an OVF/OVA, you can still install OVFTool which is available on Linux and instead of using the UI to drive the deployment, it can be done through the CLI. For uploading files like an ISOs, you can use the vSphere API/CLI as shown here or SCP’ing directly to the ESXi host. Once the ISO is uploaded, you can then mount it to your VM from the vSphere Datastore.
Though this is far from a perfect solution for Linux-based desktop users, it does allow you to access the basic management capabilities of the vSphere Web Client. There is definitely room for improvement and this is an area that PM/Engineering is looking to enhance further in the future. There has also been a ton of general performance and usability improvements in the new vSphere 6.0 Web Client which will benefit all platforms and if you are interested to learn more about those, check out the blog post from the vSphere Web Client PM here.
Источник
vSphere Client on the Linux Desktop
A lot of linux users are looking for a way to run .Net applications on their desktop, too. Since Wine does not provide the ability to do so and running an entire VM to use the complete Windows Desktop is an annoying option, these users are looking for a better solution. For Example the VMware vSphere Client, which requires .Net Framework and does not come as a Linux Version, forces Users and Admins to step back to Windows. But using Seamless RDP by Cendio, there is a way around this.
This Howto applies to Windows VMs running in background in any
virtualization product or physical systems alike. Also, this is of
course not limited to the VMware vSphere Client and can be used to run
any Windows application.
- On the Windows System (e.g. a VM or the VMware vCenter Server) download the GPL licensed SeamlessRDP Tool and extract it into a folder, e.g. C:\RDP
- Also, install the application you wish to use on your Linux Desktop
- Enable the Remote Desktop in System Settings — Remote tab — «Allow users to connect remotely to this computer.». You might want to create an extra user for the remote access and enable it to connect via RDP.
- Within the SemalessRDP folder, create a .bat file that runs your needed application, followed by the logoff command to make sure the session gets closed after usage. E.g: vsphere.bat:
«C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe»
logoff
- Install rdesktop on your Linux system, using the appropriate way for your distribution or sources from www.rdesktop.org. Make sure you are using at least rdesktop version 1.5.
- On your Linux Desktop, create a shourtcut for your Application, e.g. vSphere Client and call the following command from this shourtcut:
You can of course create an extra user for the remote access and need
to insert the appropriate IP Address and Batch file to call. In my
vSphere example this looks like:
rdesktop -A -s «C:\RDP\seamlessrdpshell.exe C:\RDP\sphere.bat» 192.168.1.23 -u remote -p remoteP@55
- On running the shourtcut from your Linux desktop, rdesktop will initialize a seamless session to the Windows system, start the batchfile to open the vSphere Client, and present only the application Window to our Linux Desktop.
So far this is probably the best solution we have to bring the VMware vSphere Client to the Linux Desktop. Enjoy.
Источник
Как получить доступ к Vmware vSphere из-под Linux?
У кого-нибудь получилось запустить консоль VmWare vSphere из-под Linux?
Клиент работает под вайном, иногда падает, и глючит, но работает. Вебклиент тоже работает (почему-то в хроме и файрфоксе, в хромиуме нет), но без консоли:
а) в Chrome предлагает скачать плагин (bash скрипт для установки), даже если я уже установила. Плагин не виден в хроме
б) в Файрфоксе открывает консоль в вебклиенте, но через некоторое время пишет
В сети пишут разное: предлагают ставить freshplayerplugin (появился флэш от хрома, ничего не поменялось, вебклиент только тормозить начал больше), старый файрфокс, 3.5 версию (sic!), он у меня падает, на моем libc (впрочем, может, я его в chroot или lxc поставлю со старым libc), некоторые пишут, что VmWare официально не поддерживает линукс для доступа к вебклиенту (а зачем тогда предлагает скачать bash-скрипт?), еще другие (арч юзер какой-то), что у него все работает. У Вас получилось?
Можно, конечно, достучаться в консоль из локальной виртуалки, но очччень не хочется, так как на рабочем ноуте 4Gb, и я должна либо докупить сама, за свои деньги память, либо отдать виртуалке с виндой кучу RAM.
Из того, что еще не пробовала: а может, как-нибудь заработает из вебклиента в виндовом браузере (каком?) из-под Wine?
P.S. iptables на клиенте отключен
- Вопрос задан более трёх лет назад
- 5524 просмотра
, и один перезапуск FF после успешного логина в vsphere)
Кстати, есть ли какой-то способ послать в гостевую систему через веб-клиент сочетание клавиш Ctrl-Alt-F2?
Пока единственная идея это отключить вторую виртуальную консоль у себя локально
При открытии консоли браузер подключается напрямую к ноде esxi. Возможно между вам и конкретной нодой как раз и режется трафик.
Также вы можете подключиться к консоли с помощью workstation.
Источник
Виртуализация vSphere, Hyper-V, Xen и Red Hat
Более 5510 заметок о виртуализации, виртуальных машинах VMware, Microsoft и Xen, а также Kubernetes
VM Guru / Articles / Компания VMware выпустила CTP vCenter Server 2.5 (бывший VirtualCenter) для Linux. |
| ||||||||||||||||