Psychology 104
ESXi kickstart script command order
Hello there.
I am curious if the order of the commands in kickstart installation script is matter? I mean standard commands like install, keyboard, network, etc.
PowerNSX NSX Manager deployment on VSAN datastore fail
Hi
I try to deploy NSX Manager onto VSAN datastore using PowerNSX but it fails.
[Conditions]
+ NSX Manager deployment via web client is successful
-> vCenter, NSX Manager ova, VSAN datastore and the other prameters are same.
+ PowerCLI connection to vCenter is fine.
-> using connect-ViServer.....
+ PowerNSX NSX Manager deployment onto non-VSAN datastore is successful.
-> Although it's not the same vCenter because the VSAN environment only has VSAN datastore,
The Poweshell script (only params are swapped) and ova are same.
[PowerNSX command to fail]
*The parameters are listed in the bottom of this post.
New-NsxManager -NsxManagerOVF $NsxManagerOVF -Name $NsxManagerName -ClusterName $MgmtClusterName -ManagementPortGroupName $ManagementNetworkPortGroupName -DatastoreName $ManagementDatastoreName -CliPassword $NsxManagerPassword -CliEnablePassword $NsxManagerPassword -Hostname $NsxManagerName -IpAddress $NsxManagerIpAddress -Netmask $ManagementNetworkSubnetMask -Gateway $ManagementNetworkGateway -DnsServer $DnsServer1 -DnsDomain $DnsSuffix -NtpServer $NtpServer -EnableSsh -StartVM -Wait -FolderName vm | out-null
[Error]
Import-vApp : 2018/03/08 16:02:43 Import-VApp An error occurred while sending the request.
Location C:\Program Files\WindowsPowerShell\Modules\PowerNSX\3.0.1088\PowerNSX.psm1:5883 Charactor:15
+ ... $VM = Import-vApp -Source $NsxManagerOvf -OvfConfiguration $Ovf ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Import-VApp], ViError
+ FullyQualifiedErrorId : Client20_NfcLease_RunNfcTask_Error,VMware.VimAutomation.ViCore.Cmdlets.Commands.ImportVApp
[Exact Command to fail]
C:\Program Files\WindowsPowerShell\Modules\PowerNSX\3.0.1088\PowerNSX.psm1:5883
$VM = Import-vApp -Source $NsxManagerOvf -OvfConfiguration $OvfConfiguration -Name $Name -Location $ClusterName -VMHost $TargetVMHost -Datastore $DatastoreName -DiskStorageFormat $DiskStorageFormat
-> I checked the parameters by adding "Write-Host $<each param>" before the command in the PowerNSX.psm1 for debugging purpose.
They are all right. *$DiskStorageFormat is set "Thick" by default
[The parameters]
All the params referencing the VMware objects are tested by Get-*** commands -Name $....
$NsxManagerOVF = "E:\NSX\VMware-NSX-Manager-6.3.4-7087695.ova"
$NsxManagerName = "nsxmgr01a"
$NsxManagerPassword = "*****"
$NsxManagerIpAddress = "10.0.0.120"
$VcenterServer = "10.0.0.100"
$vCenterUserName = "administrator@vsphere.local"
$vCenterPassword = "*****"
$MgmtClusterName = "vSAN-Cluster"
$ManagementDatastoreName = "vsanDatastore"
$ManagementNetworkPortGroupName = "nsxMgmt"
$ManagementNetworkSubnetMask = "255.255.0.0"
$ManagementNetworkSubnetPrefixLength = "16"
$ManagementNetworkGateway = "10.0.255.254"
$NtpServer = "10.0.0.101"
$DnsServer1 = "10.0.0.102"
$DnsSuffix = "vsan"
////////////////////
To me it sounds that selecting VSAN datastore in the PowerNSX fails the command.
Many thanks,
Seiji Matsuda
Licensing 6 for environment 5.5?
Hi Good Day
I Have a couple doubts.
1. Is possible install licensing 6 for environment VMWare 5.5?
2. If is not is possible, how can downgrade or rehost for this licenses for VMWare environment 5.5?
Thanks in advance for response my questions, I hope your comments and doubts.
Regards
6.5 PSC - STS Communication with Identity Management
- User attempts to authenticate to SSO
- STS service generates a token and signs it with its certificate
- STS then communicates with the identity management service to verify the user in AD or wherever?
- STS or identity management hand over the token to the user?
- User presents token to the VMware software
Is there a concise explanation of how this works someplace, maybe with a few pictures?
VCSA died & cannot connect to VDS
Hi All,
Got an issue here. I worked on the new VCSA I put into what will become a new VM environment yesterday, and tested movements of VMs between the old and new environments successfully.
Came into work this morning and couldn't log on. I had to log directly onto the ESXi host and open the console of the VCSA where I saw it seemed to have lost it's IP address and domain details. Tried to set this in the DCUI a couple of times, then via the command line, and finally once more on the DCUI where it "took". However, I was still unable to browse to the name/IP through a browser, and couldn't ping the IP. I checked on the HA I had configured and this never cut over either.
As such, I had to restart and deleted everything. Redeployed the VCSA successfully, checked it out on the console and it could accept and retain all the network settings. However, on trying to re-add it to the VDS, it came up with the error below:
Thanks,
Craig
Is this the limitation for angular2 plug-in?
I am implementing a plug-in for vSphere. However, I encounter a problem.
I use the Angular2 JS to implement my plug-in.
It was working very well in my local site, but after I registered it on vSphere, vSphere will open my plug-in slowly.
Especially, when the vSphere use navigator to load my page and open the global dialog(by WEB_PLATEFORM API).
I discuss this with my friend.
We think this is because of reloading angular2.
In my local site, I only need load it once and everything will work well (open dialog or navigate new page).
However, vSphere open plug-in global dialog and navigate page by using "iframe", and it will make it like open the web like first time (load all angular2 code).
ex1. navigate: close original one -> load another one (anglar2JS reload ).
ex2. open global dialog (load again), if i open twice, and then load x 2. (I tried their(navigator page and global dialog) variables cannot be shared, so they are independent angular2JS code)
These make it navigating and opening global dialog slowly every time.
Therefore, I hope someone could help me for this? How to improve it? Or this is just a limitation for vSphere?
License key...
Hi,
I'm having a licensed vm 12 pro and I want switch my PC but I don't know how to ... I forgot license key..
Is there any chance that I can know my license key??
Black screen when connecting through PCoIP
I am getting black screen when I connect to vm's from Horizon client. It does not disconnect or give me any message but just black screen and stays like that until I manually disconnect .
View connection server 7.3.2, Server 2008 R2
View agent 7.3.2 on the vm's
Horizon client 4.5.0
VM's have Windows 7 installed
If I install View agent 5.3.7 on the vm, I am able to connect even though the connection server is 7.3.2
The ports are all correct and configured.
I am connecting through PCoIP although I can connect through RDP
The monitors and the video memory settings are correct.
Has anyone faced this problem?
I am not sure what to look for to fix this.
Thank you in advance and appreciate it.
SMTP Mail Configuration not working in Vcenter 6.0
Vcenter try send mail when alaram triggers then the message could not sent destination mail address instead of i am getting the following error,
Failed to send the mail to SMTP server 192.168.1.4 at port 25. Error=The server rejected one or more recipient addresses.
i configured mail using below the step:
Select my vCenter Server and go to Configure menu Under General, provide your Mail server and mail sender Once done, go to Advance Settings and look for mail.smtp.password and provide the value by clicking the Edit same with mail.smtp.port and set port 25 then lastly, provide the mail.smtp.username.
Also,while i tried without SMTP authentication getting the following error
503 This mail server requires authentication when attempting to send to a non-local e-mail address.
Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this server.
Is this problem occurred due to SMTP or Vcenter server?
If problem in SMTP server what are the steps are need to follow or VCenter Server where i can check the mail testing.
please anyone to resolve the above issue.
vSphere 5: Unable to login to vSphere Web Client or vCenter Server Appliance
Hello everybody,
Unfortunately, I currently have the problem that I can not log in directly to the vCenter Server Appliance (VM) through the vSphere Web Client.
Have already changed the root password in the appliance via the Grub menu, but I can then log in the completely booted system not synonymous.
SSH login is always reported as wrong.
Does anyone have any idea or solution?
Convert a virtual machine to a USB disk (vmWare Converter)
Hello all,
I'm trying to convert a virtual machine to a USB drive. the machine is managed by a server vcenter. Vmware converter is installed on a local network machine (out of domain).
I still encounter the same 40% error "lthis sessions does not have the required permissions"
did anyone ever convert a Vm to an external HDD connected to a loacl machine? Do you have a solution
Thank you for answer.
Jérémie Arena
On-board sound card not detected
spec :
- Dell T1700
- on-board sound card -RealTek HD
- esxi 6.0
On the VM (running debian 9) settings. I do not see the option to add sound-card. Tried detected it (lspci -v) and realtek doesn't show.
Question :
1) possible that it could be dead?
2) If not is there a trick to install it? I have tried adding parameters to the vmx file and that did not work. It has to be enabled at hardware level before i could even use that feature...
3) If all fails, should I buy a sound-card and install it and then maybe it will show up in the settings of the VM?
Thanks.
What can we expect in Horizon 7.5?
Hi VMware
Any chance we can get some info on upcoming features and fixes in 7.5? This would be very helpful in planning for future upgrades.
'lost connection to server' after minimizing the VMWare horizon view client window. Please help!
As soon as the user minimizes his window, he gets logged out and the following error is displayed.
'lost connection to server'
Please note that I have had the user try the following:
connected to their network with cable vs wireless – issue remains
lowering screen resolution – issue remains
power saving settings changed to never turn off monitor or hard drive- issue remains
verified correct Horizon client installed – issue remains
OVF Tool to connect to vCenter instead of connecting to Esxi Host
With OVF tool, can we connect to vCenter and then pass Esxi host name as a paramater ? or is there a way to skip the root password for Esxi ?
Deploy OVF failed with strange error
Hi,
Here is what I get when I try to deploy an OVF on a 6.5 (see attachment)
https://gyazo.com/1296eee85e9dac86432f107290047054
Anyone encountered the same error already ?
Thanks.
Eric
REST API vCenter
I have the following doubts with the REST highlight
how to list the snapshots of a vcenter or how to check if a vm has snapshot?
do you have any spare to create and / or delete the snapshots?
How to use widget in a rest to list all vms started with Lab- *?
Andyg
Hi I need to set 2 new firewall rules on the esx server 6.5 they are TCP rules port 135 and 445 but the web client does not let me add these rules and they are not in the predefined rules ?
can anyone help ?