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

Host Config and Runtime

$
0
0

Hi,

 

Need one help.

 

var esxhosts = VcPlugin.getAllHostSystems()

 

My vRO is hanging whenever I am running the above code. I was reading some articles where it is mentioned that code needs to be written with xpath when doing large queries against VC to consume less source.

 

Is it possible to retrieve only runtime and config property of hosts using xpath. If yes, how to do it?


VMware® NSX-T Reference Design

$
0
0

Authors: VMware NSX Technical Product Management Team

 

This is the NSX-T Reference Design 2.0 based on NSX-T release 2.5. It is the foundational overhaul to design guidance and leading best practices.  The key changes are:

 

  • Platform enhancements
  • Enterprise to Service Provider scale routing
  • Resilient, Optimized and Simplified Edge Node Functionality
  • Native Load Balancer
  • Performance
  • Design enhancements – Small to Cloud-scale

 

The design chapter evaluate various deployment form factors and provides best practices. It offers guidance for a variety of factors including physical infrastructure considerations, compute node requirements, and variably-sized environments from small to enterprise scale data centers.

 

Finally, in this version of design guide we have a chapter on performance. This chapter has been introduced on public demand from our loyal customer base and aims at clarifying the myths vs facts on NSX-T based SDN.

 

Starting with this design guide, readers are encouraged to send a feedback to NSXDesignFeedback_at_groups_vmware_com  (replace at and underscores)

 

We will continually updating this document so please re-download this document.

 

--The VMware NSX Product Management

Fresh install of vmware.powercli and connect-server gives me this error "connect-viserver : Could not load file or assembly 'VMware.VimAutomation.Logging.SoapInterceptor, Version=1.0.0.646, Culture=neutral, PublicKeyToken=null' or one of its dependencies.

$
0
0

Fresh install of vmware.powercli and connect-server gives me this error "connect-viserver : Could not load file or assembly 'VMware.VimAutomation.Logging.SoapInterceptor, Version=1.0.0.646, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified." . HELP! I have tried an uninstall and reinstall all with Administrator Priviledges.

Howto get inside Linux Guest the VMware or ESXI version used

$
0
0

Hi,

 

Howto get inside Linux Guest the VMware or ESXI version used?

 

I need to get the version of VMware environment but from inside a booted virtual linux machine.

 

I search in google but I haven't been able to find information.

 

Using one script or similar, example:

VMware version: ESXI 6.7, ESXI 6.5, vmware workstation xxx, etc.

 

How can I find out how this is done?

 

Regard,

Cesar Jorge

Unable to export the logs from Log insight in raw or csv format

$
0
0

I was unable to extract all the event logs from log insight 4.6.2 due to limitation of log Export to 20,000 results. I wrongly applied the solution mentioned in KB article "VMware Knowledge Base ". After that I am unable to extract any logs in CSV and Raw format and receiving the error message "CSV format export for event trends not yet supported. Please use JSON export instead." Earlier I was able to extract the logs in JSON, CSV and Raw format upto 20000 results.

Can someone please help me to revert the changes to previous state?

ESXi 7.0 free and XSIBackup free

$
0
0

Hello,

I need your help.

I want using XSIBackup Free on ESXi 7.0.

Backup  working correct, but problem is with email notifications.

XSIBackup must be able to make a change to the file:  /etc/vmware/firewall/service.xml

If I try to change the permission manually (from 444 to 644), ESXi will return this error message:

[root@HPMicroS01-ESXi70:~] chmod 644 /etc/vmware/firewall/service.xml

chmod: /etc/vmware/firewall/service.xml: Operation not permitted

[root@HPMicroS01-ESXi70:~]

 

 

Thx. for help.

vRA 7.3 custom spec - Computer Name and Hostname

$
0
0

Hi all,

 

I need to specify the a "Computer Name" in customization spec different from the "Machine Name". I've modified the custom spec in vCenter as shown in the capture below:

But then, I cannot find the way to specify that parameter with custom properties. I always get the same error message: "A specified parameter was not correct: spec.identity.hostname"

 

I've tried with:

  • ext.policy.activedirectory.system.machineName
  • SysPrep.UserData.ComputerName
  • spec.identity.hostname
  • VirtualMachine.Admin.Name

 

Any ideas?

Thanks.

A specified parameter was not correct: spec.identity.hostname

Assign VM Tag IF

$
0
0

How do I go about doing things like:
1) Assign this tag if....connected to these portgroups
2) Assign this tag if....within this folder


How to export OVA image (ESXi 6.7)?

$
0
0

Author : Martina Laleva

URL : http:////docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vm_admin.doc/GUID-B05A4E9F-DD21-4397-95A1-00125AFDA9C8.html

Topic Name : Export an OVF Template

Publication Name : vSphere Virtual Machine Administration

Product/Version : VMware vSphere/6.7

Question :

As the topic says. I see no such option in the browser. The Export function only export as OVF files (that doesn't actually work) It was so easy to do with the vSphere client. This browser based interface is truly a turd :-(.

VCAP Exam Vouchers for VCAP Deploy 2020

$
0
0

I am looking for a VCAP voucher for a reasonable offer. Does anyone have additional VCAP voucher, Please let me know. In my country the normal cost for voucher is 325USD.

Please reply to this discussion. Email-  nuwantharangadesilva@gmail.com

vCenter 6.5 mob - virtual machine GuestDiskInfo[] = unset. How can this be set to disk?

$
0
0

Seeing this issue in some Red Hat Linux VMs residing on same ESX as other VMs with same o/s, tools version and hardware which are showing disk.

My disks aren't anymore recognized when I try to create a new datastore.

$
0
0

Hello.

 

Im trying to create a new datastore for esxi 7 because I want to boot the physical installation of Windows 10 that I have on the Samsung EVO ssd disk,but it seems that I'm not able to create a new datastore. Infact below you can see that my disk devices are recognized :

 

https://drive.google.com/file/d/1YSfBr0P7w3NlZe6W1Gc_7X5WZmOlBb32/view?usp=sharing

 

but,as u can see below,none of my disks are recognized anymore when I try to create a new datastore :

 

https://drive.google.com/file/d/1LSTPciBRyOZYNj1zX8FZFgrIh-YT3I1I/view?usp=sharing

 

It says : "no devices with free space" but also "the following devices are unclaimed". So,what it looks for ? is asking for an empty sata disk ?

 

 

 

RVTools is hung at Wait for search Datastores Thread

$
0
0

Hello,

 

Can anyone please tell me why RVTools is stuck at 'Wait for search Datastores Thread'. Its been running for a while and not finishing.

REST GET VSphere 6.5+ Host Custom Attributes

$
0
0

Hi, is there a simple way to get all set custom attributes from the vsphere host (esxi) itself?

I am able to see the Custom Attribute "Key and Values" in the GUI on the frontpage, but i could not find the "GET" method in the api documentation? Even in the POSTMAN sdk example files under "host".

Mabye someone here has handled this before? I want to collect all custom host attributes from our bunch of esxi servers.

 

next question is, can i also see this information in Vrealize? VROPs console? where all esxi events and status is consolidated?

 

BR

Sven

PowerCLI - Deploy an appliance

$
0
0

Hello

 

I'd like to create a vm which is an appliance ( so I can't deploy from a template)

So I have 3 file:

-vmdk

-ovf

-md5

 

I cannot use "new-vm" ...

 

Any idea?


PowerCLI Script Required for Multiple Tasks

$
0
0

I have 3 vCenter servers. I want to get below reports on daily basis from all 3 different Virtual Center servers.  (VC Version - 6.5)

 

I am looking for a script which I run from a VC, and it generate all these information in one file per VC wise, and then send report to email. I am already using vCheck but specifically looking fa separate script for these tasks only.

 

  • Number of VMs migrated through DRS in last 24 hours.
  • Physical adapter Status of ESXi Hosts
  • List of Host in maintenance mode
  • List of Datastores over provisioned
  • New VMs created in last 24 hours
  • VMs removed in last 24 hours
  • Snapshot report
  • Snapshot older than 7 days

 

LucD

Script for DV Switch Backup of Multiple vCenter Servers

$
0
0

I am looking to schedule a backup of all dvswitch from multiple vcenter servers. I am using below script, what else can be added here to to mitigate below points?

 

1) All vcenter should run from single schedule job

1) Output should have contained vCenter name in starting_portgroup name

2) Schedule the task for daily run at particular time

3) Send an email confirmation after completion

 

LucD - Your help required.

 

___________

 

$vcenter = “vc1", "vc2", "vc3"

$vcenteruser = “domain\user“

$vcenterpw = “password“

#

$date=get-date -uformat %Y-%m-%d

#

# End of script parameter section

#—————————————— #

#

# Connect to vCenter Server

connect-viserver $vcenter -User $vcenteruser -Password $vcenterpw

#

# Get the vNetwork Distributed switches

$switches=get-vdswitch

#

# Perform the backups

foreach ($switch in $switches)

{

#

# Backup each vNetwork Distributed Switch not including the port groups

export-vdswitch $switch -Withoutportgroups -Description "Backup of $switch without port groups" -Destination "c:\vSphere\$switch.without_portgroups.$date.zip"

#

# Backup each vNetwork Distributed Switch including the port groups

export-vdswitch $switch -Description "Backup of $switch with port groups" -Destination "c:\output\$switch.with_portgroups.$date.zip"

#

# Backup each port group individually

get-vdswitch $switch | Get-VDPortgroup | foreach { export-vdportgroup -vdportgroup $_ -Description "Backup of port group $($_.name)" -destination "c:\vSphere\$($_.name).portgroup.$date.zip"

}

}

Import-Module : THe required module 'VMware.VimAUtomation.Srm' is not loaded. Load the module or remove the module

$
0
0

Import-Module : THe required module 'VMware.VimAUtomation.Srm' is not loaded. Load the module or remove the module from 'RequiredMOdules' in the file

VMWare Workstation and MS Storage Spaces Direct

$
0
0

Hello

 

I have VMWare Workstation 15 Pro (15.5.5) and tried to install MS hyper converged cluster with S2D (Storage Spaces Direct) in my home test environment.

But I got a problem with virtual disks serial numbers (not volume UUIDs).

 

PowerShell commandlet Enable-ClusterStorageSpacesDirect failed with error "The disk identifier is not unique. The hardware is not compatible with Storage Spaces Direct (S2D)".

 

And that was true because all virtual disks have same serial numbers in all virtual machines in Hyper-V cluster nodes.

 

Capture.PNG

 

I tried to use these articles:

https://kb.vmware.com/s/article/1010398

https://www.virtualtothecore.com/build-a-microsoft-storage-spaces-direct-cluster-using-vmware-virtual-machines/

 

But without result. I also tried to use different types of virtual hard disks (SATA, SAS/SCSI, NVMe) and different disk controllers (LSI, PVSCSI etc).
I also tried to move the discs at different SCSI/SAS/SATA/Bus points, as part of one machine they are different but the same on other nodes.

 

Standard utility vmware-vdiskmanager.exe can't insert any unique serial numbers in .vmdk files.

 

So any ideas how to solve this problem?
I also use Hyper-V role in my home PC and had no problem with S2D, but my primary test environment is in VMWare Workstation.

It would be nice to find some solution to this rather simple problem.

Vcenter 6.5 SSO linked mode Vcenter no showing up

$
0
0

I have just installed two Vcenter 6.5 systems and they are in linked mode.  When I login with the administrator@vsphere.local account and all works fine.  I have setup the SSO and I can login with my user account but the linked vcenter does not appear as a linked system?  I seems like when I am logged in as the administrator@vsphere.local account the SSO information is the same on both systems.

 

Any ideas what to check?

Viewing all 175326 articles
Browse latest View live


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