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

Re: Power CLI script to find pcislotnumer(UI number) in a windows guest OS

$
0
0

I'm so glad I found this, I've been trying to figure out a way to discover the "UI number" through PowerShell for almost a year due to all the issues mentioned with other methods of correlating disks.  I realize this is an old post, but I was curious to hear whether you all have had success with this method?


Filtering Values In XaaS Blueprint

$
0
0

vRA 7.0.1

 

When we are using XaaS Blueprint Form Designer how can we filter certain values to avoid/hide them in listing...

 

Example: Say we use Checkbox list and entity assigned is vCAC:VirtualMachine. Default functionality it will display all vCAC:VirtualMachine type entities in the checkbox list. Now in case I want to display only machines which are "Powered Off" or "GuestOS="RHEL" . I tried playing around conditional settings under constraints -> Value, but that didn't help,  getting an error saying circular conditions not possible ...Appreciate any inputs on this

 

I can understand we can achieve this by external values (vRO action  doing the actual job and returning values), trying to see if this is possible directly on XaaS designer. Also when we use external values with vRO action with return type vCAC:VirtualMachine Array , Checkbox list display not so good. It display ID as the display attribute.

Re: number of cores vs virtual sockets

Problem on installation steps after repoint VUM to new server/ip

$
0
0

Hello everyone,

 

I found some problems to perform jobs on "Installation steps" after change of my Update Manager to a new server/IP.

Jobs as a "prepare hosts" and "service deployments" not working successfully after this change. Always results in failed jobs or in looping "uninstalling" stats .

 

The new VUM works perfectly, but all tasks from "Installation Steps" on NSX crashed.

 

I checked KB #2053782, but the solution don't worked for me.

Using requestCatalogItemWithProvisioningReqeust; Can't change the size of disk

$
0
0

Hello,

 

I'm requesting a catalog item using the example in the Request a catalog item with provisioning request which builds a provisioning requests and then modifies the JSON to override values. The example shows setting the number of cpus, which works fine for me, as does setting the memory size. What doesn't work for me is setting the disk size. I'm using these statements

 

json[CatalogItem.name].data.cpu = 2;

json[CatalogItem.name].data.memory = 8192;

json[CatalogItem.name].data.disks[0].data.capacity = 110;

json[CatalogItem.name].data.description = machineDescription;

 

The resulting JSON seems correct and I get no errors on deployment but the disk size stays at the default 100 GB of the blueprint. I can change cpu and memory values and they change accordingly but I can't change the disk size.

 

Any ideas?

Re: Problem on installation steps after repoint VUM to new server/ip

$
0
0

I found a workaround:

 

 

Delete manually the extension "com.vmware.vShieldManager" from https://<vcenter>/mob, and then, restarted the vCenter and NSX Manager.

After this, a new register from NSX to vCenter has been performed, and the jobs finalized successfully.

 

 

Anyone found some experience like this?

Re: js-io-rights.conf assistance

$
0
0

Probably will blog this.  When IT people say "know enough to be dangerous".  I think this situation applies.  I don't confess to be an expert in Linux.   So... when you create a local directory on a linux, point a remote NFS mount point, it's magic and works.  "if you reboot the host" the mount point is gone and the local directory "acts like a local directory".  Yeah ok, seems straight forward now. 

 

I did this

 

  • added path to js-io-rights.conf
  • deleted local directory on both *vRA appliances*
  • re-created local directory /mnt/Scratch
  • Remounted remote NFS share
  • Restarted vRO services. 
  • Tested and worked

 

the only thing I need help on now is adding to the /etc/fstab conf file.  This helps keep it persistent during reboots. 

 

Sure hope this helps someone else. 

Memory Reclamation Techniques

$
0
0

I just want to know in which version of VMware vSphere these memory reclamation techniques were introduced by the VMware.


Content Library - Cannot create service "%s"

$
0
0

Has anyone seen this error before? I got to create a new Content Library location, and the vCenter errors and states Cannot create service "%s". This type of error also happens if I try to delete an existing Content Library as well.

 

Any idea which log would have some more information?

 

Thanks.

Re: Archived CVD & Base Layer

$
0
0

Does anybody else keep archived CVDs for any period of time?

Re: Errors trying to covert VM?

Re: Errors trying to covert VM?

$
0
0

I'm assuming you downloaded the latest version of converter?  What OS is mailserver1?  Did you try running converter from the server?

VGT Guest to Guest VLAN Tagging

$
0
0

I am trying to set up a networking lab which requires two guests to send VLAN tagged traffic between each other and not having much success.

 

This is all on ESXi 6.0

 

I understand that VGT can be used to pass VLAN tagged traffic from a guest to a physical switch.  My question is, can VGT be used to pass VLAN tagged traffic between two ESXi guests, without using a physical switch?

 

I have two guests, each connected to the same port group.  The port group is configured for VLAN 4095.  The port group is connected to a vSwitch.  The vSwitch only has the mentioned port group as a member.  There are no physical ports on the vSwitch.  Whatever I try I am not able to pass VLAN tagged traffic between the two guests and I am starting to think that maybe the vSwitch cannot switch VLAN tagged traffic and the feature is designed to rely on an external physical switch for switching.  Cannot seem to find any examples of this working guest to guest.  Does anyone know if this is possible?

VMWare vCenter Converter Standalone

$
0
0

Hi,

I have a need to clone a physical desktop to several VM's.

Currently I have an ESXi 5 environment, Vcenter Server etc.

Do I need to install the vCenter Converter Standalone to a separate machine and run the tool from there, or is there some way I can integrate a P2V tool to my vCenter Server?

 

Thanks!!!

Re: Errors trying to covert VM?

$
0
0

Hi,

Can you check with the block size of the destination datastore might be does not support a VMDK as large as the source.


OR

 

When you try to convert a VM with Paravirtual SCSI Controller, VMware Converter throws you a nice error and the task fails with Status: FAILED: An error occurred during the conversion

 

Try doing this:

– Change all Paravirtual controllers to LSI Logic (VM MUST be powered off)

– Do NOT poweron the VM from now on

– Perform the Convert, make sure VM is not powered on automatically after convert

– Change SCSI controller back to Paravirtual

– Power on VM


To change a SCSI controller, open Edit Settings… from the VM and select the SCSI Controller.  Click the Change Type… button and modify the SCSI Controller Type.


Import or create a VMHost Profile without a Reference Host.

$
0
0

I'm trying to either import an existing VMHost Profile or create a VMHost Profile in a vCenter with no attached ESXi hosts. (vSphere 6U2).

 

According to the PowerCli reference, I should be able to import a VMHost Profile with Import-VMHostProfile since ReferenceHost is not a required field.

 

http://pubs.vmware.com/vsphere-60/index.jsp#com.vmware.powercli.cmdletref.doc/Import-VMHostProfile.html


However if I try it, I get the following error:

 

import-vmhostprofile : 10/28/2016 11:16:52 AM    Import-VMHostProfile

ReferenceHost parameter is required for this operation.

At line:1 char:1

+ import-vmhostprofile -filepath profile.vpf -name production

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

    + CategoryInfo          : InvalidArgument: (:) [Import-VMHostProfile], Vim

   Exception

    + FullyQualifiedErrorId : Client20_SystemManagementServiceImpl_ImportVMHos

tProfile_ReferenceHostRequired,VMware.VimAutomation.ViCore.Cmdlets.Command

s.Host.ImportVMHostProfile

 

Funny enough if I am able to do it via the web client and it works via the script if a Host is attached either to the vCenter directly or attached to a different vCenter in the domain, even if not specified as a reference host.

 

I also tried to create a VMHost profile, but that doesn't work without a reference host, either through the GUI or PowerCli.

 

In addition I tried to use the SDK to do it via the following code, but not having any luck with that either.

 

$vc = connect-viserver vm-vc2.nj1.hcmny.com

$hprofm = Get-View -Id 'HostProfileManager-HostProfileManager'

$prof = New-Object VMware.Vim.ProfileCreateSpec

$prof.annotation = ''

$prof.enabled = $true

$prof.name = "Production"

$hprofm.CreateProfile($prof)

 

HostProfileManager:

https://vdc-repo.vmware.com/vmwb-repository/dcr-public/98d63b35-d822-47fe-a87a-ddefd469df06/8212891f-77f8-4d27-ab3b-9e2fa52e5355/doc/vim.profile.host.ProfileManager.html

 

ProfileCreateSpec:

https://vdc-repo.vmware.com/vmwb-repository/dcr-public/98d63b35-d822-47fe-a87a-ddefd469df06/8212891f-77f8-4d27-ab3b-9e2fa52e5355/doc/vim.profile.Profile.CreateSpec.html

 

I also installed the Project Onyx fling to see if it could capture the import to code, but it comes up blank.

 

Any help or suggestions are appreciated.

 

Thanks

 

Mike van

Re: Content Library - Cannot create service "%s"

$
0
0

Hi,

What exactly you are trying to do ? Can you send the screenshot of the error you are getting if possible ?

Re: Content Library - Cannot create service "%s"

$
0
0

I'm just trying to create or delete a Content Library from the web client.

 

2016-10-28_12-23-04.jpg

Just the error in the bottom corner keeps coming up every time I attempt to perform the action and then nothing changes.

Re: Memory Reclamation Techniques

Re: Can you use a VM product to create a virtual machine that uses a multi-core processor of a single threaded application across all cores?

$
0
0

This can only be solved by asking the developer to re-engineer the application

Viewing all 182084 articles
Browse latest View live




Latest Images