Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all 195209 articles
Browse latest View live

Get memory for virtual machines in order of imported csv

$
0
0

I recently exported the names of all of our virtual machines, then organized over 400 of them in different groups. I neglected to also export the memory so I'm trying to import an csv get the memory and export that to a csv. That way I can just copy and paste the memory from one spreadsheet to another. I think I'm missing something simple but I can't see it I am trying this

 

$servers=Import-Csv C:\Users\sjesse\Desktop\sdcvms.csv

$vms=@()

foreach ($server in $servers)

{

 

    $vm=Get-VM -Name $server.Name select Name, Description, PowerState, NumCpu, MemoryGB

    $vms+=$vm

}

 

$vms | Export-Csv "C:\vms.csv" –NoTypeInformation

 

and I keep geting this error

 

VM with name '<name of the server>' was not found using the specified filter(s).

 

The name in the error is the exact name I see in vcenter, and was an exported by using get-vm to get all of the virtual machine names using this.

 

Get-VM | select Name | Export-Csv -path “c:\vminventory.csv” –NoTypeInformation

 

so I can't see why I can't find the VMs.


vmware-vpxd service cannot start after importing Machine SSL certificate

$
0
0

Hi people,

 

I have implemented vCenter Server 6 WEB appliance and tried to import self signed SSL Machine certificate, in order to access on vCenter web interface using that certificate for HTTPS. Certificate was signed by Windows Server 2008 CA with template configured using these instrustions: Creating a Microsoft Certificate Authority Template for SSL certificate creation in vSphere 6.0 (2112009) | VMware KB. Also, I tried to import Comodo Trial Positive SSL certificate with same issue - couldn't import it.

 

I used the VMCA script for certificate management and also tried to import them manually using this procedure: vSphere 6.0 Documentation Center. In both cases, process crashed during vmware-vpxd service restarting process. VMCA script exited with rolling-back old certificates. After trying to manual replace certificates using commands certool and vecs-cli, I tried to start vmware-vpxd service using command service vmware-vpxd start. It produced following output:

 

virtual:~ # service vmware-vpxd start

vmware-vpxd: VC SSL Certificate does not exist, it will be generated by vpxd

Waiting for the embedded database to start up: success

Executing pre-startup scripts...

vmware-vpxd: Starting vpxd by administrative request.

success

vmware-vpxd: Waiting for vpxd to start listening for requests on 8089

Waiting for vpxd to initialize: ..........................................................Fri Jun 17 14:19:51 CEST 2016 Captured live core: /var/core/live_core.vpxd.7892.06-17-2016-14-19-51

[INFO] writing vpxd process dump retry:2 Time(Y-M-D H:M:S):2016-06-17 12:19:48

.Fri Jun 17 14:20:13 CEST 2016 Captured live core: /var/core/live_core.vpxd.7892.06-17-2016-14-20-13

[INFO] writing vpxd process dump retry:1 Time(Y-M-D H:M:S):2016-06-17 12:20:01

.failed

failed

vmware-vpxd: vpxd failed to initialize in time.

 

End of the /var/log/messages log file contains following:

 

2016-06-17T14:10:04.149368+02:00 virtual vmware-vpxd: VC SSL Certificate does not exist, it will be generated by vpxd

2016-06-17T14:10:04.158972+02:00 virtual root: RHTTPPROXY_HTTP_PORT = 80

2016-06-17T14:10:04.168334+02:00 virtual root: RHTTPPROXY_HTTPS_PORT = 443

2016-06-17T14:10:04.748884+02:00 virtual vmware-vpxd: Starting vpxd by administrative request.

2016-06-17T14:10:05.811146+02:00 virtual vmware-vpxd: Waiting for vpxd to start listening for requests on 8089

2016-06-17T14:10:11.068787+02:00 virtual kernel: [ 8262.100377] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=32356 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:10:41.045286+02:00 virtual kernel: [ 8292.062481] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=32645 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:11:11.392806+02:00 virtual kernel: [ 8322.396547] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=280 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:11:41.380687+02:00 virtual kernel: [ 8352.368229] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=593 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:12:11.508805+02:00 virtual kernel: [ 8382.477595] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=905 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:12:41.124668+02:00 virtual kernel: [ 8412.078362] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=1173 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:13:11.068788+02:00 virtual kernel: [ 8442.006593] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=1480 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:13:41.052756+02:00 virtual kernel: [ 8471.975786] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=1805 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:14:10.948713+02:00 virtual kernel: [ 8501.859385] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=2068 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:14:41.048793+02:00 virtual kernel: [ 8531.942485] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=2336 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:15:01.102632+02:00 virtual /usr/sbin/cron[6935]: (root) CMD ( /usr/sbin/iiad.sh >/dev/null 2>&1)

2016-06-17T14:15:10.976770+02:00 virtual kernel: [ 8561.853765] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=2622 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:15:41.220689+02:00 virtual kernel: [ 8592.076813] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:fc:4d:d4:d2:e5:a9:08:00 SRC=192.168.0.23 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=5745 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:16:10.988809+02:00 virtual kernel: [ 8621.836572] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:3c:97:0e:32:f7:1c:08:00 SRC=192.168.0.80 DST=192.168.0.255 LEN=229 TOS=0x00 PREC=0x00 TTL=128 ID=16631 PROTO=UDP SPT=138 DPT=138 LEN=209

2016-06-17T14:16:41.200814+02:00 virtual kernel: [ 8652.031163] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=3292 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:17:11.040715+02:00 virtual kernel: [ 8681.856944] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=3595 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:17:41.012706+02:00 virtual kernel: [ 8711.812066] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=3808 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:18:10.948718+02:00 virtual kernel: [ 8741.730820] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=4046 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:18:40.936986+02:00 virtual kernel: [ 8771.705858] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=4360 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:19:11.024790+02:00 virtual kernel: [ 8801.777535] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=4647 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:19:41.144770+02:00 virtual kernel: [ 8831.881485] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=5909 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:20:01.147104+02:00 virtual /usr/sbin/cron[13172]: (root) CMD ( /usr/sbin/iiad.sh >/dev/null 2>&1)

2016-06-17T14:20:01.153980+02:00 virtual /usr/sbin/cron[13171]: (root) CMD ([ -x /usr/lib64/sa/sa1 ] && exec /usr/lib64/sa/sa1 -S ALL 1 1)

2016-06-17T14:20:01.157092+02:00 virtual /usr/sbin/cron[13175]: (root) CMD ( test -x /usr/sbin/vpxd_periodic && /usr/sbin/vpxd_periodic >/dev/null 2>&1)

2016-06-17T14:20:01.163979+02:00 virtual /usr/sbin/cron[13170]: (root) CMD ( test -x /usr/sbin/cloudvm_ram_size_periodic && /usr/sbin/cloudvm_ram_size_periodic >/dev/null 2>&1)

2016-06-17T14:20:11.664891+02:00 virtual kernel: [ 8862.387284] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=6251 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:20:23.877678+02:00 virtual vmware-vpxd: vpxd failed to initialize in time.

2016-06-17T14:20:41.260666+02:00 virtual kernel: [ 8891.967607] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=6551 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:21:10.940726+02:00 virtual kernel: [ 8921.632250] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=6906 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:21:41.452588+02:00 virtual kernel: [ 8952.121422] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:8d:f4:26:08:00 SRC=192.168.0.51 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=22577 PROTO=UDP SPT=137 DPT=137 LEN=58

2016-06-17T14:22:11.080638+02:00 virtual kernel: [ 8981.739467] IPfilter Dropped: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:23:24:7c:8a:09:08:00 SRC=192.168.0.94 DST=192.168.0.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=7505 PROTO=UDP SPT=137 DPT=137 LEN=58

 

 

Please help me, tell me where I made mistake. Thank you in advance.

Unable to to Link My VMware Account

Datastore

$
0
0

Hello ,

My Datastore isnt listed.

How can I recovery the  the vintual machine in this datasorage ?

When I try to add data storage I receive the error

 

Error:An error occurred during host configuration.

Error Stack

Call "HostDatastoreSystem.QueryVmfsDatastoreCreateOptions" for object "ha-datastoresystem" on ESXi "A.A.A.A" failed.

 

Regards

Registration Advisory June 15: Skyline Collector registration issue: EA number you have selected is not associated with a Skyline enabled entitlement account

$
0
0

Hello,

 

Please be advised that we are currently having Skyline Collector registration issues. If you get the following message when attempting to register, please note we are working on resolving this. We expect this to be resolved within the next 2 to 3 days, we will update this post when the problem is resolved.

 

The My VMware account or EA number you have selected is not associated with a Skyline enabled entitlement account. Please visithttps://www.vmware.com/support/services/skyline.htmlto signup to be a part of our next adoption wave.

 

Thank you,

VMware Skyline team.

What are the ScheduledHardwareUpgradeInfo.UpgradePolicy Options

$
0
0

Hey All--

 

Wondering if anyone has some info on this.  Looking to better understand the ScheduledHardwareUpgradeInfo.UpgradePolicy options.  What each does, and long-term impacts.  Hoping folks can chime in here.

 

For passers-by who aren't familiar with what I'm referring to, I'm looking to better understand the various ways of upgrading the VM Hardware.  In the past, you always had to power the VM off before you could upgrade the hardware, or schedule it with VM.  Later they gave you the "Schedule Hardware Upgrade" option within the webclient which waiting until the VM was powered off then back on. Now it seems in the webclient, there's a new(er) option when editing a VM's settings for "Upgrade > Schedule VM Compatibility" (with a sub option to only upgrade on GuestOS shutdown).  Selecting this later option (edit vm settings > upgrade > schedule vm compatibility w/o sub-option for guestos shutdown), appear to upgrade the VM Hardware now at reboot rather than full shutdown/poweron.

 

So now comes the questions...

 

When doing this via PowerCli, I understand there are three (if more feel free to add) options for the 'ScheduledHardwareUpgradeInfo.UpgradePolicy' ReconfigureVM method.  'Always', 'Never', and 'onSoftPowerOff'.  What I'm unclear on, is if I use this method with 'Always', to set the version key and reconfigure the VM, does this mean that from now on, every time the VM reboots, it will upgrade hardware if an upgrade is available?  Or, is this a one-time shot like you'd get from doing the same thing with the webclient?  If this isn't a one-time shot and setting the UpgradePolicy to 'Always' actually does mean always after reboot if available, then the final question is, how can I achieve the same result as the webclient way and not impact future version upgrades being forced?

 

Thanks!

Mouse disappears in the console

$
0
0

I just upgraded the my vCenter server from 5.5 to 6.5 appliance. Now when I try to use the console some of the console the mouse disappears when moving it into the field where the OS resides. Any ideas

VM report daily

$
0
0

Hello, I would like something like this:

 

$VMS = get-vm
$report = @()
foreach ($vm in $VMS) {
$row = "" | select  "VM","DNS Name",PowerState,CPU,Memory,DiskProvisioned,DiskUsed,Cluster,Environment
$row."VM" = $vm.Name
$row."DNS Name" = $vm.Guest.get_HostName()
$row.PowerState = $vm.PowerState
$row.CPU = $vm.NumCPU 
$row.Memory = $vm.MemoryGb
$row.DiskProvisioned = $vm.ProvisionedSpaceGB
$row.DiskUsed = [Math]::Round($vm.UsedSpaceGB,2)
$row.Cluster = ($vm | get-cluster).Name
$row.Environment = "PROD"
$report += $row


 }


 $report |Export-Csv C:\Users\gemela\Desktop\report.csv -NoTypeInformation

 

Also add info like: Version, Vmtools status and IP,

I would like to set this report to create new file (with date) every day (append) , example: report_2018_02_16.csv

 

Thanks for support


Invalid certificate issue in endpoint creation in vrealize automation 7.4

$
0
0

Hi,

 

I have a new vra 7.4 setup. I am trying to create the endpoint with name - vCentervsaqa which is same as the agent name added in iaas.

Its failing with the below error. Can some one please help with this.

 

vCAC Server logs - C:\Program Files (x86)\VMware\vCAC\Server\Logs

UTC:2018-06-15 18:37:29 Local:2018-06-15 13:37:29] [Trace]: [sub-thread-Id="14"  context=""  token=""] Processing ping report, report queue depth is 3

[UTC:2018-06-15 18:37:29 Local:2018-06-15 13:37:29] [Trace]: [sub-thread-Id="14"  context=""  token=""] Processing ping report for agent vCenter

[UTC:2018-06-15 18:37:29 Local:2018-06-15 13:37:29] [Trace]: [sub-thread-Id="14"  context=""  token=""] Processing ping report for agent vSphere65

[UTC:2018-06-15 18:37:29 Local:2018-06-15 13:37:29] [Trace]: [sub-thread-Id="14"  context=""  token=""] Processing ping report for agent vCentervsaqa

GetWorkItem AgentID:vCentervsaqa taskType: testconnection Long Running: False Data Collection: False Can run long running data collection: True Can run long running resource intensive: True Message:<?xml version="1.0" encoding="utf-16"?><workItem id="f30e8bd1-3155-49da-8d47-a15234588e69"><task type="testconnection"><parameter name="TestConnection.Endpoint.Address">https://vcenterfqdn/sdk</parameter><parameter name="TestConnection.Endpoint.Username">ADMIN_USERNAME-OFVCENTER</parameter><parameter name="TestConnection.Endpoint.Password">5mj8vLCdmMn7ol0bFNn/Sw==</parameter><parameter name="TestConnection.Endpoint.TrustThumbprint" /><parameter name="TestConnection.Endpoint.TrustAllCertificates">False</parameter></task></workItem>

[UTC:2018-06-15 18:37:32 Local:2018-06-15 13:37:32] [Debug]: [sub-thread-Id="17"  context=""  token=""] TestConnection WorkItemResponse: [<?xml version="1.0" encoding="utf-16"?><workItemResponse id="f30e8bd1-3155-49da-8d47-a15234588e69"><task type="testconnection"><result succeeded="false"><message>Test connection failed: Certificate is not trusted (RemoteCertificateChainErrors). Subject: C=US, CN=vcenter-fqdn Thumbprint: 43C993C46A18CB228147C20B3B92F1000CA118DA</message></result><parameter name="TestConnection.Endpoint.Request.ResultCode">INVALID_CERTIFICATE</parameter><parameter name="trace_id" /></task></workItemResponse>]

[UTC:2018-06-15 18:37:32 Local:2018-06-15 13:37:32] [Trace]: [sub-thread-Id="17"  context=""  token=""] Begin completing test connection request with id [f30e8bd1-3155-49da-8d47-a15234588e69].

[UTC:2018-06-15 18:37:32 Local:2018-06-15 13:37:32] [Trace]: [sub-thread-Id="17"  context=""  token=""] Finish completing test connection request with id [f30e8bd1-3155-49da-8d47-a15234588e69].

[UTC:2018-06-15 18:37:32 Local:2018-06-15 13:37:32] [Trace]: [sub-thread-Id="17"  context=""  token=""] Deleting work item with id [f30e8bd1-3155-49da-8d47-a15234588e69].

 

Thanks!

Why am I unable to link my account?

$
0
0

It has been a few days of trying to configure my Skyline appliance.

I am getting stuck at the linking of my account step.

 

Followed the referenced link to https://kb.vmware.com/s/article/2006983

Not really useful information, but I did check and validate I can log in to MyVMware without an issue, and still have full administrative privileges on the account for my company.

 

Not much else is listed.

How do I proceed?

Updated version of Code Stream plugin for Jenkins

$
0
0

There is an updated version of the Code Stream plugin for Jenkins that adds the ability to trigger Code Stream pipelines as a post-build step at https://github.com/inkysea/vmware-vrealize-codestream-plugin

We are working towards integrating that with VMware's github repo as well as Jenkins' plugin repository.

 

Do let us know if you need help with setting it up on your Jenkins.

Unable to upgrade from 7.1 > 7.5 but 7.4 > 7.5 works...anyone else?

$
0
0

I've been having a really tough time upgrading from 7.1 to 7.5 on my external connection server, the internal connection server works fine.  I think the breakdown is on the LDAP sync beacuse that is usually where it fails plus i found this in the logs:

 

Property(C): LDAP_UPGRADE_ERROR_MESSAGE1 = LDAP is not ready for an upgrade. Error in reaching the server [VDM_LDAP_ERROR_SERVER_NAME] to get replication status. Please resolve the issue and try again. To get more information, run the command "repadmin /showrepl [VDM_LDAP_ERROR_SERVER_NAME]:389"

 

I did however upgrade to 7.1 > 7.4 and then to 7.5 that worked fine and everything is up and running now.  Has anyone had this issue?  I have logged a support case to see what they come back with.  The documentation says you can go right from 7.1 > 7.5

Updating Reservations after VM relocation :: Powershell

$
0
0

Is there a way to update a "Managed Machine" s Reservation from Powershell/powerCLI?

I have found the PowervRA module, which offers me the Get-vRASourceMachine where I can see the ReservationName assigned to that machine, but I don't know how to change it. We have moved hundreds of VMs to new clusters and I don't want to do this manually :)

Thanks!

please can someone help me with this below error message

$
0
0

VMware Workstation cannot connect to the virtual machine. Make sure you have rights to run the program, access all directories the program uses, and access all directories for temporary files.

 

 

The VMware Authorization Service is not running.

smbios system sku number

$
0
0

I am trying to deploy an appliance image in to a VM that depends on the smbios "System SKU Number" being populated. Currently in a default VM that property reports as "Not Specified" and there does not appear to be a method to override that with the vmx file for the VM. I'm assuming that is because the default bios.440.rom does not have that property listed in its DMI Strings so it cannot be modified in order to produce a custom ROM to be used with the bios440.fileName vmx directive. Is there a way to populate the smbios system sku number in a VM?


vExpert: Mike Brown

$
0
0

This document is a detail page for the VMware vExpert Directory.

Expert Information

NameMike Brown
LocationHouston, TX
United States
Short DescriptionVCDX 71, Senior SDDC Architect working on VMware Validated Designs.
Affiliation
Industry
Website/Blog

http://www.vcdx71.com

http://blogs.vmware.com/vsphere/author/mike_brown

https://blogs.vmware.com/cloud-foundation/author/mike_brown

Twitterhttp://www.twitter.com/vcdx71
LinkedIn Profile
Overview
Technical CertificationsVCDX-DCV 4/5/6, VCDX-NV, VCAP-CID, VCAP-CIA, VCP 3/4/5, VCP-Cloud, VCP-NV, VCP-DT
Publications and Speaking EngagementsVMworld, VMUG’s, etc
User Groups and Communities
Expertise and Interests

 

 


View all vExpert entries

Deduplication / Compression - Thick Objects

$
0
0

Hello Everyone,

 

We  have a 500TB+ vSAN consisting of SSD capacity drives.  I am presently only seeing a dedupe/compression savings of around 12TB and a 1.04x ratio.

USED BEFORE: 329TB

USED AFTER: 317

 

The mass majority of the the usage is from Microsoft / Linux Cluster servers with disks formatted as thick provision eager zeroed. (Based on vendor recommendation)  The storage policy that the drives are assigned to do not have OSR set. (defaults to 0%)  Can someone please confirm whether or not that disks formatted as thick provision eager zeroed as well as thick provision lazy zeroed benefit from dedupe/compression?  I've done a bit of research and I've stumbled across a few articles that seem to imply that "thick objects" do no benefit from dedup/compression.  This would probably explain why our savings is so low if that's the case.

 

If they don't benefit from dedupe/compression, what are my options for reaping that benefit?  Do I need to rebuild / clone them and set the disk formatting to thin provision?  Being that we're using SSD, I'm thinking that eager zeroed probably isn't even necessary.

 

Thanks,

- Bill

sum the value in the colume

$
0
0

This is my query:

Get-Datastore | where{$_.ExtensionData.summary.multiplehostAccess} | where {$_.name -like  "XIO*"}

 

i am getting this output. can any one guide me how i can sum the value for both FreeSpaceGB and CapacityGB.

 

and show them separably, my basic goal is to sum and have percentage of both columes

Pinning Traffic with Multi-NIC vMotion

$
0
0

I'm using UCS - if I use multi-NIC vmotion - can I also still pin the traffic to one side of the fabric to prevent it from hitting the core or is that not possible with multi-nic vMotion on UCS?

 

Thanks!

Cannot set RDSH Application Icon

$
0
0

Hi all, I'm attempting to set the Icon for an application, but I seem to be hitting some dependency that I don't have.  Any suggestions?

 

C:\Users\Administrator> Set-HVApplicationIcon -ApplicationName xxxx -IconPath C:\temp\xxx.png
New-Object : Cannot find type [VMware.Hv.ApplicationIconSpec]: verify that the assembly containing this type is loaded.
At C:\Program Files (x86)\VMware\Infrastructure\PowerCLI\Modules\VMware.Hv.Helper\VMware.HV.Helper.psm1:9294 char:13
+     $spec = New-Object VMware.Hv.ApplicationIconSpec
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : InvalidType: (:) [New-Object], PSArgumentException    + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand

Set-HVApplicationIcon : Error in reading the icon parameters: The property 'IconSource' cannot be found on this object. Verify that the property exists and can be set.
At line:1 char:1
+ Set-HVApplicationIcon -ApplicationName xxx -IconPath C:\temp ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Set-HVApplicationIcon
Viewing all 195209 articles
Browse latest View live


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