Unable to login to vRA 7.3 Appliance
OVA machine settings not deployed on standalone ESXi
Hi all,
I have a standalone ESXi 6.5 and I am deploying a linux ova. During the deployment I fill in the hostname, ip adres, login account etc. (This OVA is provided to us by our vendor) After that the system boots but non of the settings are implemented, so I can never login. I know this works on vCenter Server but it does not on standalone ESXi. Does anyone recognize this and does anyone know a solution?
Best regards,
Gerard
How to enable SSH access on the UAG Appliance
Even though some of the components of the UAG appliance can be fully configured from its web console interface, you may want to have remote access to the box itself for troubleshooting.
By default, SSH access is disabled on the appliance, but it can be easily activated.
Below I put together some steps to enable SSH on the UAG appliance:
Configure the sshd service:
Open to the UAG server from the vSphere console and login as root.
In order to enable SSH, you will need to modify the sshd_config configuration file, and enable the sshd service on the server.
Edit the sshd_config file. In this example I am using using vi.
On the Linux shell, type vi /etc/ssh/sshd_config and press <Enter>.
Make the following changes to the /etc/ssh/sshd_config file:
- Change the PermitRootLogin setting from no to yes.
- Comment the MaxSessions line (add # to the beginning of the line).
- Comment the AllowGroups line (add # to the beginning of the line).
Save the file: <ESC>, :wq!, <Enter>.
Enable the sshd service:
Use YaST to enable the sshd service.
Type yast<Enter> on the Linux shell to access it.
Navigate to System > Services Manager using the arrow keys and then press <Enter>.
Use the arrow keys to select the sshd service.
Press <Alt>+E to enable the service and <Alt>+S to start it.
To save the configuration, select the OK option by pressing either <Alt>+O or F10.
To exit YaST, select the Quit option by pressing F9.
One way to test it is to connect to itself by typing ssh localhost.
--
The postings on this site are my own and do not represent VMware’s positions, strategies or opinions.
VMWare Workstation 12.5 Auto Suspend of Guests when Windows Host Shuts Down
I have created a work-around and will share here, because this is an important (essential) capability to have.
Background
Question: How do I set up VMWare Workstation 12.5 (running on a Windows host) to automatically suspend all guest VM's when the host OS shuts down or restarts?
I have read several posts on this over the years: I know they exist, but none are helpful.
Fact: Windows 10 will automatically apply updates and restart the machine whenever it feels like it, with little ability for the user to control or disable this behavior.
I am a developer and business user, and use VMWare Workstation (NOT Server) so that I can have multiple VM's open for various interactive purposes: different development environments, different applications, etc.
If Windows 10 chooses to apply an update in my absence (which it regularly does, without my ability to prevent this from happening), this essentially halts all the running VM's, causing loss of work and potential data corruption. This is entirely unacceptable.
To be clear, this is not a matter of convenience (i.e. that I am lazy and don't want to suspend the gust VM's before I explicitly shutdown), but is rather that the host OS may spontaneously shutdown or restart without my control. Thus random loss of work and data is an inherent and regularly-encountered aspect of running VMWare Workstation 12.5 on a Windows 10 host. There must be a way to correct this problem.
Should be Automatic
According to: VMware Workstation 12 Pro Release Notes a new feature of VMWare Workstation Pro 12 was: "Automatically suspend virtual machines upon host shutdown". But this does not seem to actually work / to be present, and I can find no menu options or documentation pertaining to this feature.
PItfalls
A Windows "shutdown" script won't always work for Windows 10 because of the way fastboot works and because of other changes to the shutdown sequence in Windows 10 (not well-understood). This means that old answers that say "Create a shutdown script...configure in GPO", etc. are not satisfactory.
Even disabling fastboot does not allow shutdown scripts to run reliably. There are a number of potential factors, including whether or not you are booting the host from a VHD or from a physical disk, edition of Windows, etc.
Furthermore, even if you could get the shutdown script to run reliably, it may run too late in the shutdown sequence--after the applications, including VMWare Workstation have been terminated...which means that the Windows shutdown script approach is not a useful option.
Solution: Create a Scheduled Task in Windows Task Scheduler
The heart of this work-around is to create a scheduled task using the Windows Task Scheduler. The scheduled task should be triggered by certain system events (not by a specific time-of-day schedule).
There are several different events that must trigger this task, as some events apply to only certain shutdown sequences (i.e. command line-initiated, Windows UI initiated, power button, system updates, etc.)
The actual script to execute is below.
The scheduled task should have the following:
Launch "Task Scheduler"
Click on "Task Scheduler Library" treeview (left side of screen)
Click on "Create Task" in the Actions window (right side of screen)
Under "General" tab, provide an appropriate name
Under "General" tab, check: "Run only when the user is logged on"
Under "General" tab, check: "Run with highest privileges"
Under "Triggers", you will click "New" to add a new trigger, and will repeat this and the following settings 6 times (6 individual triggering events should be set). For each:
"Begin the task:" should be set to "On an event"
Select the Log, and the Source, and type in the Event ID for each of the 6 events. The rest of the settings on the screen can be left at their defaults.
Log:System
Source:User32
Event ID:1074
Log: Microsoft-Windows-Winlogon/Operational
Source:Winlogon
Event ID:7002
Log: Microsoft-Windows-Eventlog-ForwardingPlugin/Operational
Source:Eventlog-ForwardingPlugin
Event ID:6005
Log: Microsoft-Windows-Eventlog-ForwardingPlugin/Operational
Source:Eventlog-ForwardingPlugin
Event ID:6006
Log:Security
Source:Microsoft Windows security auditing.
Event ID:4634
Log:Security
Source:Microsoft Windows security auditing.
Event ID:4647
Under "Actions" tab click "New", the default Action of "Start a program", and click Browse or type in the path to the batch file (see below for the batch file itself).
By using a scheduled task that is triggered by these events, it seems like Windows 10 does reliably launch the batch file at shutdown (or more technically correct, at user logoff).
Batch File
Create a batch file and save it somewhere on you local hard drive. You can use Notepad to do this. Name it something that ends in .bat (not .txt)...so when in Notepad you click Save, make sure "Save as file type" is set to "All Files (*.*)" so that Notepad does not append a .txt to the filename.
The contents of the file should be something like this:
@echo off
echo SuspendRunningVMs Command (x64)...
SETLOCAL
REM Specify where vmrun.exe can be located
SET WSPath="C:\Program Files (x86)\VMware\VMware Workstation"
REM Get the list of currently running VMs
%WSPath%\vmrun.exe list | FIND /V "Total running VMs:" > %temp%\vmlist.txt
REM Suspend all running VMs
FOR /F "delims=*" %%v IN (%temp%\vmlist.txt) DO CALL :SuspendVM "%%v"
:WaitLoop
echo Waiting for the VMs to suspend...
REM Pause until no more VMs are running
%WSPath%\vmrun.exe list | FIND "Total running VMs: 0"
IF NOT ERRORLEVEL 1 GOTO End
timeout /t 10 /nobreak
GOTO WaitLoop
:End
echo End of script; all VMs suspended.
ENDLOCAL
GOTO :EOF
REM Suspend a VM
:SuspendVM
REM Suspend any running VM. Workaround a "vmrun list" quirk that outputs
REM a blank line, by not trying to suspend a blank VM
IF %1x==x GOTO :EOF
echo Suspending VM %1
%WSPath%\vmrun.exe suspend %1
REM Allow some time after suspend call (allow disk to write vmem).
echo Wait a little bit for the VM to commit...
timeout /t 15 /nobreak
GOTO :EOF
REM Resume a VM (not used now, but may have use in future)
:ResumeVM
REM Resume any suspended VM. Workaround a "vmrun list" quirk that outputs
REM a blank line, by not trying to start a blank VM
IF %1x==x GOTO :EOF
echo Starting VM %1
%WSPath%\vmrun.exe start %1
GOTO :EOF
:EOF
Summary
I cannot understand how auto-suspend of all VM's upon shutdown of the Windows host has not been and is still not a built-in feature of VMWare Workstation running on Windows. This seems to be critical to anyone who does not want to loose work and risk corrupting data in their VM's. This need has intensified with Windows 10 as the host, because Windows will spontaneously reboot the computer when it applies updates, and Microsoft does not provide a way to prevent this spontaneous reboot from occurring.
Please, VMWare, make this capability a feature of future VMWare Workstation releases. This is not a "server-only" feature: even interactive users of VM's don't want to loose unsaved data and state of their virtual machines.
References
I did a lot of research on this, and was aided by a number of different posts from different people. I will provide the URL's here:
Question about Task Scheduler during logoff event
https://social.technet.microsoft.com/Forums/en-US/a9eaa5ac-b772-4647-a0b1-72257cdc091a/windows-10-shutdown-scripts-not-always-running?forum=win10itprosetupWindows CMD Script to Aid Backups (esp. post #3)
Windows 10 Shutdown Scripts not always running
https://www.reddit.com/r/Windows10/comments/3yk73v/shutdown_script_called_via_local_machine_group
VMware Workstation 12 Pro Release Notes (see "Automatically suspend virtual machines upon host shutdown")
Improvement Suggestion: Suspend VMs Automatically On Host Log-off/Shut-down
Upgrade Options for View 5.1
I have a small VMWare environment for VDI. I have 2 esxi 5.1 hosts, vcenter 5.0, and View 5.1. I would like to get vcenter upgraded to vcenter 6, which I have a spare license for, but I am assuming I would then have to upgrade everything else and no one knows the license info for our view connection server. This is an environment that I inherited, so I have had to do a ton of digging to find anything. I have looked everywhere to try to find the account for my View license but have had no luck. Could I get away with NOT upgrading View if I upgrade to vcenter 6?
hi all
svp si je veux virtualiser mon serveur physique sachant que ce serveur héberge un certain service (asterisk par exemple) est ce que mon service sera toujours accessible après virtualisation ou bine je dois le réinstaller et configurer
VMware ESXI Control Panel (Automatically install VM Operating System & Traffic Monitoring)
AutoVM is an open source Virtual Private Server (VPS) manager based on in VMware ESXI, gives you full control and automation of hosting companies and VPS Sellers.
With AutoVM you can assign unique panel for each user to make them fulfilled all about VPS Related.
This must be noticeable as AutoVM additional tools , except Automatic Monitoring you can give your billing managements to AutoVM! So you can give more-fast services to your customers.
Some of the features
- Bandwidth monitoring and manage VPS traffic usage.
- Install easily without any changes on the ESXI servers.
- Free modules for manage VPS on the WHMCS client area.
- Auto Provisioning VM After Payment Successfully.
- Auto assign IP and Network adapter once VM created.
- Auto installation of the operating system.
- Ability to assign the existing VM created for WHMCS users.
Prerequisite
the AutoVM platform is designed to be compatible with default VMware ESXI settings and does not require any changes on the network design. To launch the AutoVM platform, you can run it on the hosting control panel such as CPanel or DirectAdmin.
Get Started with free licence
To get and setup the system, please visit the installation article. If you have any questions, please read the FAQ section. If you do not find your answer, please contact us from Client area.
vmdk shared disk on Windows 2016 WSFC
Running vSphere 6.5
I would like to use vmdks for my shared 2016 WSFC disks. its a 4 node cluster and the Windows vms live on any number of hosts (CAB).
This was not a supported config a few years ago, is it now?
If I still have to use RDMs for the above config then I'm going with a physical server farm. Thanks for the help
No PXE Boot from VM with EFI. Using Microsoft WDS
Hello,
I have the problem, that I am not able to get a VM on our ESXi 6.0.0 to boot over PXE from our WDS if I choose EFI as start option. If I choose BIOS instead, everything works fine.
When I use EFI I get this screen when starting up:
After that I am presented the Boot Manager and can select EFI Network manualy, then I get the following screen. Nothing happens there. After a few seconds I get back to the Boot Manager where I can select another boot media.
Unfortunately I dont have access to our WDS-Server to view any log, but I will ask for this if I cant solve the problem otherwise. If you need any more information feel free to ask.
KR,
Mango
Bridging issues in Windows 10 and WS11
Hi all...
Just wondering if anyone else is having issues with Bridging on Workstation 11.1 and Windows 10 Build 10049?
I have reinstalled twice and made sure that Windows Defender wasnt running (other ppl with bridging issues said that some virus protection software causes issues) I have no luck with getting bridging to work.
The networking interfaces doesnt have the vmware bridge protocol installed and I am unable to manually get VMnet0 to bridge also.
NSX-v Operations Guide, rev 1.5
macOS 10.14 Mojave Developer Preview/Beta guest...
... Just to say that it works surprisingly well, in Fusion 10.1.2 (and probably also in 8.5.10): it's also rather snappy (on a 2013 MacBook Pro); and HiDPI works out of the box, after installing the Tools.
Only one major glitch: some persistent visual artifacts in the menu extras, in the Finder tabs and in Dashboard, both in normal and dark mode...
VMware Workstation - WDS PXE UEFI
Hello All
Been banging my head a against this problem for a couple days now.
I'm trying to get a VM to spin up on VMworkstation 14.1.2 using UEFI boot and install Windows 10, via WDS. My WDS server also a workstation vm on the same host, which works perfectly deploying to BIOS based vm's.
In the create a new VM wizard on Workstation i have selected windows 10 and UEFI boot. Ensured its on the right network but when it trys to PXE boot it just says:
>>Start PXE over IPv4.
It then just returns me to the boot menu to select hdd, cd or network. I also tried loading the win10 iso into the vm's virtual cd drive and tried to boot with UEFI and i have the same problem.
I have read numerous forum posts, one said you need to add DHCP options 66 & 67 which i did but had not effect. And as mentioned above i load the win10 "cd" to its local "cd drive" and it still couldnt boot UEFI.
Driving me crazy now!!
Can anyone offer any ideas??
Its a very basic network setup that i have created just to test the fundamentals of WDS, which is list below: Both servers are domain joined and are VM's on Workstation 14.1.2 all on the same network (VMNET02) on the same host
Server 2012: DC with DHCP and DNS
Server 2012: WDS
Thanks in advance
Recovering deleted VM's from SSD
Hey guys,
I believe I have learned a very valuable lesson today about triple checking before executing commands. I wanted to post this here, perhaps you have experience with this and can help.
I am a VMware beginner and have an ESXi host on a Dell r420 server which, over the last 4 months I have setup a windows deployment solution using Microsoft server 2k16 for MDT, WDS, DC and WSUS. The host is running a RAID1 2TB SAS SSD array. I just finished my fully automated windows build, capture and deploy TS's and was very happy.
I noticed in the vSphere web client that there was an invalid VM entry there from an old VM that I had. I tried to delete this entry and managed to delete all of my VMs from the datastore. Poof, gone.
I used rm -rf... I thought I had selected the directory that the stale VM was in but it was the directory that had all my VMs inside. Sweating heavily followed.... also severe cringing!! I removed 1 of the SSD drives as soon as I realised that the shit had hit the fan to avoid any more writes on that drive. I tried to run some recovery software on the running drive but with little success thus far.
I am fully aware that not having a proper backup solution is extremely retarded. This was a lab environment initially that grew into something I used in production to create and deploy images to our studio machines last week. I put about <200hrs into it.
My question is this. Do any of you know if it is possible to recover the VMware files needed to restore the VMs or is this impossible or basically going to cost an arm and a leg to get data recovery done? Am I screwed as its an SSD? I am assuming its cry in the shower time but hey, maybe one of you has some good news.
I would imagine this is beyond hilarious for some of you.. I understand why! Please have some mercy
Thanks in advance for any input guys, it's really appreciated.
Atom C3758/X553 GbE driver for ESXi 6.5/6.7
A few days ago, I bought Atom C3758 based Mother Board.
Unfortunately, ESXi 6.5/6.7 have no inbox driver for X553 GbE.
So I build x553 only driver from ixgbe-5.3.6 linux driver.
I'm using it with following parts.
Asrock Rack C3758D4I-4L
Kingston KVR24R17D4K4/128
Intel ET Dual Port Server Adapter
(initial connection by igb inbox driver)
Transcend JetFlash 720S
SilverStone SST-CS280 / SST-ST45SF
I have tested with IPv4, MTU9000, no VLAN only. (mainly iSCSI connections)
Other setting may cause problems.
However, if you are interested in the driver, try it.
To use this driver:
# esxcli software acceptance set --level=CommunitySupported
# esxcli software vib install -v /tmp/net65-x553-5.3.6.x86_64.vib
vSphere Management Assistant(vMA)はv6.5で廃止
vSphereのリモート管理、特にUPSとの連動シャットダウンの管理サーバーとしてvMAをよく使用していました。
メーカーオフィシャルなLinuxサーバーとして多目的に利用していましたが、このvMA、v6.5で廃止されたようです。
vSphere Management Assistant for vSphere 6.5 - VMware {code}
注: vMA は廃止されたため、vMA 6.5 が最後のリリースです。詳細および代替機能については、vMA リリース ノートを参照してください。
v6.5のリリースノートには、
vSphere Management Assistantの廃止予定は、vSphere Management Assistant 6.0.0.1リリースで発表されました。
とあります。
ちなみに、v6.0.0.1のリリースノートには、
, and vSphere Management Assistant (vMA) will be deprecated in a future release.
とあり、しっかり廃止予定が記載されていました。
代替機能については詳細に記載はありませんが、VMware PowerCLIやvCLIを使うか、vSphere SDKを使って置き換えていくか、という感じでしょうか。
なお、vMA 6.5がいつまで使えるかは、製品互換表に記載が無いので正確には分かりません。
参考までに、PCNS 4.2の対応OS表では、ESXi 6.7にvMA6.5を当てているようです。
引用元:PowerChute Network Shutdown v4.2 for Virtualization 対応OS表
PCNSもメーカー独自の仮想アプライアンスが提供されていますので、実際vMAを使う場面は限られています。
特定用途では利用があったvMAですが、ひっそりと廃止されていたので記事にまとめてみました。
vmware connectivity
Hi,
I am trying to connect Linux box which is install in VM Virtualbox via winscp, but i am getting below error.
Firewall is disabled.
error :
Authenticating with pre-entered password.
Access denied.
Please help.
Thanks.
capacity planning software
I am looking a software which can provide me a monthly report of my storage overview:
i.e clusterA sotrageXIO is having this percentage % left.
This can be done very well through vmware capacity Planner but unfortunately i can get it, so looking to find something similar.
Need Help - "You are not entitled to use this system"
All,
I need help. I have been banging my head on this one for a while. I created a user which I believe should be able to log into the the View Portal, but every time I enter the proper credentials I receive this message: "You are not entitled to use the system". What? Why? Can anyone provide some insight into what is going on and what I need to do to correct this? Thanks in advance.
Please help: "Error authenticating: You are not entitled to use the system" - what to do?
I have been using VMWare Open Client (the version that was released in June 2009, doesn't have a version number, when it actually opens up it is called VMWare View Open Client) with Mac OS 10.6.2 (Snow Leopard) for a couple of weeks without major incident.
Today I cannot get onto the system at all and I have started getting the following error message when I try to log on: "Error authenticating: You are not entitled to use the system".
I have never had this before. I have tried restarting my machine and reinstalling the software: nothing. My helpdesk has checked that nothing on my account is locked. Has anyone experienced this problem and if so how did you resolve it? THANKS.
Liz