Quantcast
Channel: VMware Communities: Message List
Viewing all 194012 articles
Browse latest View live

vmsyslog logger xx.xx.xx.x lost # log messages

$
0
0

Hi,

 

Is there anything that can be investigated to prevent such logs being missed to be sent to the syslog server?

 

I see this message on different hosts (6.5 and 6.7) and am wondering if I can do anything to find the cause?

 

Should ESXI's be left with logging level at Informational (Default) or this generates excessive logs/traffic?

 

What free Syslog Server do you use or recommend?

 

Thanks


Re: Apply OSCustomization to an existing virtual machine using PowerCLI

$
0
0

Hi Luc! Thanks for responding.

 

If I merely do a Start-VM at the end of the script, the OS customization does run but the VM is neither renamed nor re-IP'ed as part of the customization process.

I am also not prompted to enter this information after I run the script.

 

I am looking for a way to specify a computer name and IP address in the script itself but I have not been able to figure this out.

 

$vmname = Get-VM -Name MyVM

$custspec = Get-OSCustomizationSpec -Name 'PDC_Windows'

Get-VM -Name $vmname | Set-VM -OSCustomizationSpec $custspec -ComputerName 'NewName' -IpAddress '192168.1.10'<< Trying to do something like this.

Re: VIX 1.17 does not work for VMware Workstation Player 15

$
0
0

Can you please help me understand more about this because i have no idea what this means???????

Re: Waiting Timer isn't resuming (perhaps after restart)

$
0
0

Thank you for the suggestion.  I ended up just going with a much shorter timer.  I basically have it pause execution for only 4 hour increments, and then check to see if we are past the desired date, and resume execution when we get there.  It's a lot of pause/resume workflow for what I wanted, but it seems to be working well so far. The benefit is that I don't have to have an active token like with a sleep for the entire duration, but it seems like it doesn't lose track of the token with a 4 hour wait timer, at least so far. I didn't want to externalize the process, because its basically the entirety of the workflow, there's a lot more steps than just destroy the VM - remove from AD, remove from DNS, remove from monitoring, etc. But the explanation of the rabbitmq queue makes sense if thats not clustered.

Re: vmsyslog logger xx.xx.xx.x lost # log messages

$
0
0

there are tens of servers pointing to the same syslog server so will check basics CPU/RAM/Network utilization

 

If in meantime anyone can offer other insights as to what logging level you set the ESXi's and syslog server you use that would be great

customization file not working

$
0
0

I have a template with server 2019.

 

I have created some servers from template and used my 2019 customization file.

 

But servers have not been customized.

 

In customization file I have not inserted any license key, because I still waiting to get one.

 

The template is also not licensed.

 

Could that be the reason?

 

My 2016 templates/customizaion is working fine.

Re: Create Email Alert if VM goes down - NON-VCSA host

$
0
0

Hello

 

 

 

 

Re: Create Email Alert if VM goes down - NON-VCSA host

$
0
0
PowerCLI is user friendly - but to use it I have to log on to a Windows VM - windows not so reliable for a "cron" job, etc.

You can just use the task scheduler on windows, and you can also install powercli on linux, and do a cron there. I really suggest not doing a cron directly on the appliance or the esxi hosts.


Re: Apply OSCustomization to an existing virtual machine using PowerCLI

$
0
0

Ok, gotcha.

 

Changing the hostname inside the guest OS is afaik not available through OSCustimizationSpec directly.

You could use the GuiRunonce parameter if the guest OS is Windows based.

Otherwise, you will have to fall back on the Invoke-VMScript cmdlet (after the customisation and the power on). Also note that this requires VMware Tools to be running.

 

For the IP address you have to configure your OSCustomizationSpec via the Get- and Set-OSCustomizationNicMapping cmdlet

 

There is a series of blog posts on the subject on the PowerCLI Blog.

This should provide you with some detailed info

Re: Providers list is empty in vSphere HA

Re: vmsyslog logger xx.xx.xx.x lost # log messages

$
0
0

As far as logging levels go, stay at defaults unless troubleshooting. As for syslog servers, vRealize Log Insight, Splunk, and SolarWinds are what I most often see.

Re: iSCSI Default iSCSI network for stretched vSAN?

$
0
0

That seems like a much better option! Thanks so much for sharing Bob

 

-Mike

PKS Create-Cluster issue with NSX-T

$
0
0

When I create a cluster, I am getting following error.

Deployment VM state is showing as follows

SSH to the master VM and check the logs in

/var/vcap/sys/log/pks-nsx-t-prepare-master-vm/pre-start.stderr.log

 

     time="2020-03-06T16:29:37Z" level=warning msg="NSX-T communication config: server tls authentication is disabled"

     time="2020-03-06T16:29:44Z" level=warning msg="NSX-T communication config: server tls authentication is disabled"

     Error: timeout: client certificate is not working after 60 seconds

 

/var/vcap/sys/log/pks-nsx-t-prepare-master-vm/pre-start.stdout.log

     Registering client certificate

     dc0a43bf-685a-42f1-b186-e41c1f727554

     Registration of client certificate is successful

     Checking if client certificate is ready to be used

     timeout: client certificate is not working after 60 seconds

 

If I run the command /var/vcap/jobs/pks-nsx-t-prepare-master-vm/bin/pre-start ...it is work fine...even it is waiting for some time.

 

Node IP block and Management IP block are routable.

Everything behind NSX-T (2.5.1)

PKS management console v1.6.1-rev.1

Thanks

Re: Can I use vSAN datastore form another cluster ?

$
0
0

Ok, I assume this is a Horizon related issue.

 

But is this my question has a solution ?

"can I create cluster and put new hosts in that and use vSAN datastore from another cluster in same datacenter ?"

 

If it has, would tell me how to do it ?

Re: Can I use vSAN datastore form another cluster ?

$
0
0

mj19922007, A host can only access the vsanDatastore of the vSAN cluster it is part of - a host can only be a member of one vSphere/vSAN cluster.

Whether additional hosts added are providing storage to the cluster or not is irrelevant - they are still members of the cluster and should be able to access the vsanDatastore (but only this clusters vsanDatastore, not those belonging to other clusters).

 

Bob


Re: PKS Create-Cluster issue with NSX-T

$
0
0

I have not specifically run into this one, but a couple of guesses as to the cause: 1) ESXi host has a state issue, possibly with hyperbus transport. Try a rolling reboot. 2) possible consistency issue with the managers. Can check the proton log file during cluster creation to see what is being logged.

 

I'd probably recommend opening an SR regardless because there is a lot of complexity here and troubleshooting can be difficult.

Re: vRA 7.6 Add Drive letter mount path without using Guest Agent

$
0
0

In early 7.*, (probably 7.3-7.5), I had to set the value to 0 because post provisioning when Chef runs to install an application that writes files to the new drives, it failed because the new drives were not accessible. The drives were NOT initialized and ready for use despite having the Guest Agent active in the VM and filling out the drive letter and size on the vRA form. If I remove this setting, I have to either script the formatting and initialization or manually do it once the vm is provisioned. Windows OS is configured NOT to automate the processing of newly added drives in this manner, so I don't know how the Guest Agent bypasses that without this setting. I have not tried it in 7.6.

Re: VCSA 6.7 U2 - New Backup Over SMB

$
0
0

Who in VMware thought it was a good idea to only support SMB1 in 2019?!  Why bother even releasing the functionality if your only going to use a decrepit protocol that everyone else has abandoned at this point, even Microsoft.

Re: Shortcuts created by UEM (9.7) need removing

$
0
0

That's just it.  The location at C:\ProgramData\....., the Startup folder is empty; and within %APPDATA%\Microsoft, it is empty pastAPPDATA%\Microsoft\Windows  (There is no Startup folder)

Re: Dell - BIOS Profile not installing

$
0
0

Mario_Juarez and rwamps,

 

After doing some testing and validation with Mario_Juarez and our R&D team, it turned out that the device in question (Latitude E5401) did not support the Wake-on-LAN "BIOS Attribute" setting of "LAN or WLAN" was not supported by the device, therefore the profile failed to install. Feedback on seeding the latest version of the Dell Command | Monitor client and improving the return of why the profile failed to install back to the console has been passed along to R&D.

 

rwamps - let me provide a few tips to get this working for you as well. Ensure that you currently do not have a BIOS password set, if so, clear the password/set it to blank. Ensure the device supports all attempted configurations that are set in the BIOS profile. If you are unsure, I will tell you how to verbose the logs to see what is failing.

  1. Checking if BIOS Password is Set
    • (Get-WmiObject -namespace root\dcim\sysman -class DCIM_BIOSPassword)[0].IsSet
      • Returns True if Admin BIOS Password (AdminPwd) is set. This needs to be reset or set to NULL value. Follow step #2 below.
  2. Resetting the BIOS Password
    • You will need to enter your current password into the $adminPwd field. $value remains null to clear the BIOS password.

$adminPwd = ""

$attribute = "AdminPwd"

$value = ""

Get-CimInstance -Namespace root\dcim\sysman -ClassName DCIM_BIOSService | Invoke-CimMethod -MethodName SetBIOSAttributes -Arguments @{AttributeName=@($attribute);AttributeValue=@($value);AuthorizationToken=$adminPwd}

      • SetResult is {0} (Success) - If the method is completed successfully.
      • SetResult is {1} (Failure)
        • the possible value is out of range.
        • it is an unsupported BIOS operation.
      • SetResult is {2} (Authentication Failure) - If the BIOS password is incorrect. e.g. providing a blank or incorrect "adminPwd"
      • SetResult is {4294967295} (Invalid Possible Value) - if the possible value is invalid; or read-only.
    • Once you obtain a Success, running the above command with null $adminPwd, try to create a new BIOS profile and push. If it still fails, then continue to next steps.
  1. Debug Logs
    • We need to increase the logging level to Debug. Open Notepad in Admin mode. Open %ProgramFiles(x86)/AirWatch/AgentUI/AWProcessCommands.exe.config then set the loggingConfiguration level to Debug. Save the file, then close. See below.

  1. Checking the Log
    • Create a new BIOS profile, and attempt to install it. To speed things up, go into device details -> Profiles, and manually re-push the BIOS profile in the Workspace ONE UEM console. Now on the device, right-click Workspace ONE icon -> click Sync in the hidden icon menu in the taskbar. Now we will look at the logs.
    • Open the log located at %ProgramData%\AirWatch\UnifiedAgent\AWProcessCommands.logs and scroll to the bottom of the log file and start a search going up.
      • If you are running into the BIOS Password error like below refer to the steps above on resetting your password.
      • For all other issues, you will need to search for isSetResultOk = False and see which attribute is failing to be set on the device. In this example, everything fails, this is not typical, you should only see a few attributes fail, then remove those from the profile. Ensure the device supports those attributes or attribute values.

I will be updating the Integrating with Dell Client Command Suite: VMware Workspace ONE Operational Tutorial | VMware on Tech Zone soon with some of this information and added warnings to ensure System and BIOS attributes are supported on the managed Dell devices.

 

Respectfully,

Josue

Viewing all 194012 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>