Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all 180460 articles
Browse latest View live

Vcenter 6.0 won't allow login after partition full

$
0
0

So the first thing I did was reset the root password to be able to SSH into the appliance again. After that I cleaned out the logs as shown in this KB VMware Knowledge Base

Then vmware-eam wouldn't start so I followed this KB to recreate the vmware-eam config file eam.properties VMware Knowledge Base

Now vmware-eam is running again, but vmware-invsvc won't start. When I try and start it I get this error

 

Stdout = Starting VMware Inventory Service...

Waiting for VMware Inventory Service..........................

WARNING: VMware Inventory Service may have failed to start.

 

Stderr =

2019-11-05T18:40:27.533Z   {

    "resolution": null,

    "detail": [

        {

            "args": [

                "Command: ['/sbin/service', u'vmware-invsvc', 'start']\nStderr: "

            ],

            "id": "install.ciscommon.command.errinvoke",

            "localized": "An error occurred while invoking external command : 'Command: ['/sbin/service', u'vmware-invsvc', 'start']\nStderr: '",

            "translatable": "An error occurred while invoking external command : '%(0)s'"

        }

    ],

    "componentKey": null,

    "problemId": null

}

ERROR:root:Unable to start service vmware-invsvc, Exception: {

    "resolution": null,

    "detail": [

        {

            "args": [

                "vmware-invsvc"

            ],

            "id": "install.ciscommon.service.failstart",

            "localized": "An error occurred while starting service 'vmware-invsvc'",

            "translatable": "An error occurred while starting service '%(0)s'"

        }

    ],

    "componentKey": null,

    "problemId": null

}

Unable to start service vmware-invsvc, Exception: {

    "resolution": null,

    "detail": [

        {

            "args": [

                "vmware-invsvc"

            ],

            "id": "install.ciscommon.service.failstart",

            "localized": "An error occurred while starting service 'vmware-invsvc'",

            "translatable": "An error occurred while starting service '%(0)s'"

        }

    ],

    "componentKey": null,

    "problemId": null

}

 

 

So then I followed this KB VMware Knowledge Base to try and get it working, and tried multiple generated passwords until the password didn't have ',",*,/,\

and it still won't start.

 


A VMware Tools implementation is installed on the guest operating system, but it is not managed by VMware.

$
0
0

Hello!

 

I have installed VMware ESXi, 6.5.0, 9298722 on HP ProLiant BL460c Gen8. Vcenter version - 6.7.0.41000.

 

Any vm's that Guest managed vmtools installed has information in vcenter (A VMware Tools implementation is installed on the guest operating system, but it is not managed by VMware.) But in ESXi GUI all looks fine. I found nothing about how to fix it. Can anybody help?

 

P.S. Same story on VMware ESXi, 6.5.0, 7967591- UCSC-C220-M3S

How to programatically add a role to a custom group

$
0
0

I am using vRA Rest API to build a custom application.  I am trying to find an API which allows me to add a role to a custom group.

 

The screen shot shows where in the vRA GUI this can be done.

 

Any suggestions would be appreciated.

OVFTool needed for vCloud 10.0

$
0
0
Anyone with any knowledge on if they are going to release an updated one that works with VCD 10? The current one is not working due to API changes as it uses version 31 in vcd 10.

qfle3 driver crashing ESXi 6.7 U3

$
0
0

Our Dell PE R730 Esxi hosts 6.7U3 is crashing with PSOD. We are using Qlogic 57810 10 GbE nic cards. It can not be a hardware issue since it is happening on three servers after the upgrade. Anyone had an issue?

We did use Dell Vmware.iso for upgrades.

ingress issue

$
0
0

Hi team,

 

Iam facing some issues in ingress path base routing.Below is my yaml file when iam adding path (/testpath) and trying to access through http://<url>/testpath  getting 404 error .when i trying with out path application is accessible through http://<url>

 

apiVersion: extensions/v1beta1

kind: Ingress

metadata:

  name: test-ingress

spec:

  rules:

  - host: <url>

    http:

      paths:

      - path: /testpath

        backend:

          serviceName: test

          servicePort: 8080

"Error while powering on: Cannot f‌ind a valid peer process to connect to."

$
0
0

This VM was working, but today I got this.  Anyone know what is going n with this error?

 

Thanks

one command to free up space in /storage/seat

$
0
0

I was trying to free up space in '/storage/seat on my vcsa 6.5

 

This is not applicable for 6.5 :

vCenter Server Appliance 6.0 services fail due to 100% usage of /storage/seat disk (2119809) | VMware KB

 

I don't have "vpx_event" and "vpx_event_arg" table.

Instead I have "vpx_event_1" to "vpx_event_92", and "vpx_event_arg_1" to "vpx_event_arg_92".

 

So I ran "truncate table vpx_event_1 cascade;" for each "event" tables (184 tables!).

 

/storage/seat/ was back to 1%.

 

But there's also this command :

sudo -u postgres /opt/vmware/vpostgres/9.4/bin/vacuumdb -a -e -v -f -U postgres > /tmp/vacuumdb.log

 

(as suggested at the bottom of this article : http://www.settlersoman.com/how-to-reclaim-space-on-storageseat-in-vcenter-appliance-5-5-or-6-x/ )

 

But I don't have a "postgres" user. Is that ok ?

 

So I tried that :

sudo -u root /opt/vmware/vpostgres/9.4/bin/vacuumdb -a -e -v -f -U postgres > /tmp/vacuumdb.log

 

And entered the password returned by this command :

cat /etc/vmware-vpx/embedded_db.cfg | grep

 

But I don't see anything changed. Normal ?

 

When I tried running it before the "truncate" , there was no change to "storage/seat" either.

 

 

 

Thanks


ELM with different vCenter versions?

$
0
0

Hello Experts,

 

Working through some possible solutions and looking for clarification on something as I am not finding a specific answer in docs on the vmware site and would save me some time building out a lab to test.

 

2 vCenters

 

  • 6,5 Update 2 - site 1 - Embedded PSC
  • 6.7 Update 3 - site 2 - Embedded PSC

 

Can Enhanced Link Mode run with 2 different versions of vCenter or must they both be on the same build (6.5 or 6.7)

 

If so, can I point the vCenter 6.5U2 to the vCenter 6.7U3 embedded PSC controller and enabled ELM to then do vMotions to the new 6.7 from the 6.5?

Unable to expnad a datastore

$
0
0

I started using this server with a 32TB RAID5. I created a 32TB datastore. Later I added two more drives to the array, so it expanded to 54TB. I can't find the way to expand my datastore to 54TB or create another one.

https://scrn.li/Gn8k5Dt3wELhrN

The device browser shows that the RAID array is fully occupied by a partition

https://scrn.li/4lqZFoZ2Aew3A0

What can I do about it short of destroying the existing datastore, which would be a major hassle?

 

Thank you.

get cluster utilization info

$
0
0

hi,

 

how do I modify the below to show cluster name as well

 

 

$clusters = get-cluster

foreach ($clustername in $clusters) {

$days = 30

$start = (Get-Date).AddDays(- $days)

$stat = "cpu.usage.average","mem.usage.average","mem.vmmemctl.average",

  "mem.shared.average","mem.active.average","mem.swapused.average"

 

$cluster = get-cluster -name $clustername

$esx = Get-VMHost -Location $cluster

Get-Stat -Entity $esx -Start $start -Stat $stat |

Group-Object -Property {$_.Entity.Name} |

Select @{N="Cluster";E={$cluster.Name}},

    @{N="VMHost";E={$_.Name}},

    @{N="Total memory";E={$_.Group[0].Entity.MemoryTotalGB}},

    @{N="Total CPU";E={$_.Group[0].Entity.NumCpu}},

    @{N="Average memory used";E={$_.Group | Where {$_.MetricId -eq "mem.usage.average"} |

      Measure-Object -Property Value -Average | Select -ExpandProperty Average}},

    @{N="Average CPU used";E={$_.Group | Where {$_.MetricId -eq "cpu.usage.average" -and $_.Instance -eq ""} |

      Measure-Object -Property Value -Average | Select -ExpandProperty Average}},

    @{N="Average memory ballooning";E={$_.Group | Where {$_.MetricId -eq "mem.vmmemctl.average"} |

      Measure-Object -Property Value -Average | Select -ExpandProperty Average}},

    @{N="Average shared memory";E={$_.Group | Where {$_.MetricId -eq "mem.shared.average"} |

      Measure-Object -Property Value -Average | Select -ExpandProperty Average}},

    @{N="Average active used";E={$_.Group | Where {$_.MetricId -eq "mem.active.average"} |

      Measure-Object -Property Value -Average | Select -ExpandProperty Average}},

    @{N="Average memory swapped";E={$_.Group | Where {$_.MetricId -eq "mem.swapused.average"} |

      Measure-Object -Property Value -Average | Select -ExpandProperty Average}} | export-csv "c:\scripts\clusterreport.csv" -notypeInformation

}

Expiring Broker-SSO Self-Signed certificate

$
0
0

We recently ran across a self-signed certificate which was issued to "Broker-SSO", issued by "Broker-SSO" and had a friendly name of "Helpdesk-key-pair-store".  This certificate was located in the local computer personal store on several of our VMWare servers which were running Horizon 7. These certificates were nearing expiration and therefore surfaced in some of our monitoring reports.  I found nothing online telling me anything about them or indicating how to renew them, so I opened a support ticket with VMWare and ultimately was told that these are internal to VMWare and I didn't need to worry about them because they would be renewed automatically when they expire. They are installed when Horizon 7 is installed on the server and they are valid for 1 year. Once they expire and are regenerated, they are valid for only 1 week at a time. VMWare support told me that if I were to delete them from the certificate store, they would be re-created automatically and would be valid for 1 week at a time.

 

Since there was nothing online regarding these certificates, I thought I'd put this out there for you.

Older versions of Windows NT

$
0
0

Hi

 

Has anybody been able to install older (pre-4.0) versions of NT under VMWare Fusion? I get these errors when trying to install them:

 

NT 3.51: Installs and runs, but reports a failed service and network is non-operable

NT 3.5: Gives a stop error when using SCSI hard drive, or "cannot load keyboard layout" with IDE hard drive

NT 3.1: Gives a cryptic "ArcPathToDosPath" error when installing

 

I've tried both with and without the patches to allow them to work on post-P5 architecture processors, and it didn't really make much of a difference either way.

 

I could've sworn that I had these working on VMWare Workstation under Windows a while back, so hopefully there's some way to get them working under Fusion too.

Linux Guests on Windows 10 Host can not access shared files

$
0
0

Greetings!

I'm running Workstation 15 on my windows 10 Pro laptop. It's a preinstall that came from Dell, and not a "clean" install of Windows 10.

 

I have currently six (and counting) Linux guests that can not access shared folders after the Linux guest reboots.

 

I'm successful in initially setting up the shared folder, and under /mnt/hgfs on the Linux guest the shares show up.

 

However once I reboot the linux guest, the shares disappear, even though "always enabled" in checked.

 

The /mnt/hgfs folder remains, its just empty.

 

At one point I was able to run a command in terminal, and it indicated that the shares are still there, just the GUI couldn't see them.

 

I have a suspicion it's something on the windows side, since every linux distro I try is showing the same problem.

 

So far I've tried the following distros.

Mageia 6

Opensuse 15.1

Ubuntu 19.10

Kubuntu 19.04

Kubuntu 19.10

Fedora 31 (KDE)

 

Incidentally, on my main desktop that runs Linux, every OS, Windows or Linux that I run as a VM has no problems with shared folders.

logs in HTML5 interface filled with __item_stack

$
0
0

The log tab in the HTML5 interface is filled with __item_stack entries when my workflows are running making it hard to see any of the logging I'm doing. Is there any way to hide all that noise?


PowerCLI License Manager-UpdateAssignedLicense

$
0
0

I tried running the following commands to try and add a VSAN license to a cluster but it keeps failing at the UpdateAssignedLicense

$LicenseManager= Get-View $server.ExtensionData.Content.LicenseManager

$LicenseAssignmentManager= Get-View $LicenseManager.LicenseAssignmentManager

$cluster = Get-Cluster -Server $server -Name $clusterName

 

foreach($license in $LicenseManager.Licenses){

>>     if($license.Name -contains "VMware vSAN Standard for Retail and Branch Offices"){

>>         if($license.Total -gt $license.Used){

>>             $vsanLicenseKey = $license.LicenseKey;

>>             break;

>>         }

>>     }

>> }

 

$LicenseAssignmentManager.UpdateAssignedLicense($cluster.id,$vsanLicenseKey,"VMware vSAN Standard for Retail and Branch Offices")

 

I keep getting the following errors:

Exception calling "UpdateAssignedLicense" with "3" argument(s): "A specified parameter was not correct: entityId"

At line:1 char:1

+ $LicenseAssignmentManager.UpdateAssignedLicense($datacenterMoRef.valu ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : VimException

 

I tried the following: $cluster.id, $cluster.ExtensionData.MoRef, and even $datacenterMoRef = (Get-Cluster -Server $server -Name $clusterName | get-view).MoRef.value

They all throw the same error. What is the entityId that I should be using with respect to cluster?

 

PowerCLI 6.5 Release 1 build 4624819

vCenter 6.5

NSX-V looses AD mappings

$
0
0

Hello Everyone,

 

We are experiencing some weird issues with Active Directory mappings. I'm pretty heavily using Directory groups with NSX to allow application access. Basically I'm creating a Security Group and make a Directory group to be part of it, then using the SG in rules. Basically what is happening is that throughout the day I would get calls from users not being able to access application all of the sudden. When that happens I go to Loginsight and indeed I see a lot of blocks, then I go to Firewall and click on the Security group and see no mappings between VM, IP and username. SOmetimes I'm able to resolve it by editing the security group, removing directory group, save and then edit it again and readd the Directory group and save again. Sometime it gets resolved on its own and they magically appear again. SOmetimes editing group doesn't help and I add whole subnet just to keep users going and then it comes back on its own again. Very weird and strange. So far VMware is not helpful so I've though I would reach out to the community to see if anyone experienced anything like that.

 

One thing I noticed is that when that happens not all groups are affected, usually it's only one but it happens with multiple groups. THere is one specific group that it seems to be happening the most often though.

 

Can anyone recommend anything in that case?

Deleted and Created VMs for past 4 weeks - dashboard

$
0
0

I have a dashboard summary page which lists number of ESXi hosts, number of running and powered off VMs but i would also like to add VMs that have been deleted and built in the past 4 weeks.

 

Then once that is working go down further and say how many of a specific Operating has been built. Have looked around in vrops to do this but no luck. Anyideas?

role nd permission: only shutdown restart power on power off on both VM and ESXi host

$
0
0

I want certain users can only shutdown, restart, power on, power off on both VM and ESXi. no other options should be enable for this group of people. how can i achiever it. I tried to create new role. only im able to achieve on VM level power on, power off , suspend and reset. but shutdown guest and restart guest are still greyed out. Similarly not even a single option achieved for host level. so how to do it?

 

Where can i find these options?

Writable Volume Exclusions

$
0
0

Hello Everyone,

 

So with Snapvol.cfg we can exclude files/folders/registry etc. but I would like to understand how this works if I update the template and already have a lot of existing writable. The reason for that is that we wanted to exclude a specific folder   exclude_uwv_file=\Users\%USERNAME%\AppData\Local\Temp

 

Now what I have noticed it that whatever information was in it prior to updating template through AV Manager stays like it's frozen. Also, if I delete any subfolder or file with older date next time I log on it is back. Now, if I create a file/folder in there and log off and log back in the file/folder is not there which is to be expected.

 

My expectation would be that after detaching writable snapvol.cfg gets updated with the exclusion, then user logs back in and gets all of the contents in  Temp directory back but once they log off again nothing gets persisted anymore in that directory.

 

Can anyone comment on what is happening out here?

Viewing all 180460 articles
Browse latest View live


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