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

Duplicate or Replicate ESXi Host or VMs

$
0
0

Our current environment has two VMware servers, They both point to the same VMs that are stored in a NAS. I can connect to either one and see the exact same information on the VMs.

 

How would I do that same configuration with our new server? I again purchased two servers and have ESXi 6.7 installed. I have the two VMs loaded on one of the servers. If I register either VM on either of the servers I cannot access them on the other server, so I know registering is not the solution.

 

So I'm not sure if I should be reading about duplication or replication. Replication didn't seem like the right information but I could be wrong and just not understanding it correctly.

 

Any help is greatly appreciated.

 

Thanks,

Jessica


NFS and IP reconfiguration

$
0
0

I've inherited an ESXI host with a NFS datastore that's currently mounted and in use. Unfortunately, the ESXI host doesn't have an IP that's in the same subnet as the datastore so all that storage traffic is going through our router.

I want to add a new IP to the ESXI host that's on the right subnet and just have the traffic going through our switches.

My question is, am I able to do that while everything is up and running? Just add the new IP and everything should just reconnect without issue. Or do i have to unmount the datastore first and then configure the networking the remount and import the disks?

Import vCenter VM into vApp

$
0
0

Hi, I am trying to use the `ImportVcenterVmIntoVapp` API call via pyvcloud sdk by specifying a target org-vdc storage policy.

 

Setup: All the datastores in the host have storage policies defined at the vsphere level with I/O control (data servicing capability)

 

Here is the error response thrown on the host. On the vCD the job just fails that we cannot import the VM into the vApp.

Screenshot from 2019-09-19 08-29-33.png


Importing a vCenter VM into a vApp first does a clone operation first into the specified datastore (pertaining to the org vdc storage policy mentioned in the vCD API call). This is failing with the error message:

 

Changing or applying VM Storage Policies with Data Service capabilities during clone operations is disallowed. VM Storage Policies with Data Service capabilities can be assigned to the provisioned VM after the clone operation has been completed and before the VM has been powered on.

 

While working with the vCD APIs, is it possible to control the workflow to first clone and then assigning the storage policy? Is this a known issue? Is there a workaround?

 

I'm aware of the blog https://veric.me/2018/06/06/applying-vsphere-encryption-when-cloning-a-vm/

Change VM supported hardware version to 13 in PVDC

$
0
0

I am running vCD 9.5 and have two ESXi clusters of 6.0 and 6.5. I have merged PVDC so that I can migrate VMs between the ESXi clusters. I am having problems in migrating a HW13 VM (created in vcenter since its a customized template) to vCD stating HW13 not supported at Org level. When checked, found my PVDC level configured to HW11. Upgrading to HW13 at PVDC gave me error mentioning I am running ESXi hosts of 6.0. It seems during PVDC merger, I merged PVDC 6.5 to PVDC 6.0 making PVDC6.0 primary so that it is not allowing HW13 due to compatibility issue. Is it possible to make PVDC6.5 primary so that HW13 can be migrated/supportd on PVDC..Thanks

Creating a net inside the vApp

$
0
0

I apologize foe the very basic question.

I am new to vCloud Director and I have a vApp with few VMs.

I need to create a new net inside the vApp to connect some VMs

The net should exist and be accessible only to VMs inside the vApp.

Some VMs wil be connected to the exisging network (provided by the vApp) other VMs sould be connected only to the new net, other VMs should be connected to both and will act as routers.

Does the design make sense?

Which kind of network should I create?

Regards

marius

What Catalog template did vapp com from

$
0
0

We have had vcloud director for several years and i am trying to find out if our catalog  vapp  templates are still needed.

Is there a way using powercli or sql query ( ms-sql vcd 9.5) that I can tell the last time a catalog template was deployed ?

Or is there a way I can tell  the original  template used to create  existing vapps?

SRM Reports using the API

$
0
0

Folks:

 

I'll admit I am not a powercli guru, and utilize other people's published code to get the job done. In this case, it's a result in trying to find a "canned" report that would dump the VM/Protection Group/Recovery plan into a report that can be added to our audited DR plan. For the life of me I don't understand why this isn't already in the product, but that be as it may. The below code works but I happen to have two recovery "realms" - I protect our HQ Cluster/Vcenter1 with a recovery plan in our Colo Cluster/Vcenter2, and vice versa I protect our Colo Cluster/Vcenter2 with a recovery plan in HQ Cluster/Vcenter1. Vcenters in in embedded link mode, SRM 8.2 Vcenter 6.7U3.

 

The crux of the problem is "$srmApi.Protection.ListProtectionGroups" list all of the protection groups (both HQ and Colo) which is good, but "$protectionGroup.ListAssociatedVms()" only sees VM's in my HQ Vcenter. The Colo VM's  error out-

 

Exception calling "UpdateViewData" with "0" argument(s): "The object 'vim.VirtualMachine:vm-355' has already been deleted or has not been completely created"

At C:\Temp\srm_report.ps1:13 char:16

+     $vms | % { $_.UpdateViewData() }

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

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

    + FullyQualifiedErrorId : VimException

 

I played with the connect statement to use the Colo Vcenter as the connection point, but same result, the Colo VM's are not detected. This was not what I was expecting I figured I'd be missing the HQ VM's.

 

$credential = Get-Credential

Connect-VIServer -Server 10.10.10.10 -Credential $credential

Connect-SrmServer -port 443 -Credential $credential -RemoteCredential $credential

 

So I'm at a loss to explain how to get the "$protectionGroup.ListAssociatedVms()" to reference both Vcenters. What do you think?

 

srmApi = $srmConnection.ExtensionData

$protectionGroups = $srmApi.Protection.ListProtectionGroups()

#Generate a report of the virtual machines associated with all protection groups.

$protectionGroups | % {

    $protectionGroup = $_

   

    $protectionGroupInfo = $protectionGroup.GetInfo()

   

    # The following command lists the virtual machines associated with a protection group

    $vms = $protectionGroup.ListAssociatedVms()

    # The result of the above call is an array of references to the virtual machines at the vSphere API

    # To populate the data from the vSphere connection, call the UpdateViewData method on each virtual machine view object

    $vms | % { $_.UpdateViewData() }

    # After the data is populated, use it to generate a report

    $vms | %{

        $output = "" | select VmName, PgName

        $output.VmName = $_.Name

        $output.PgName = $protectionGroupInfo.Name

        $output

    }

} | Format-Table @{Label="VM Name"; Expression={$_.VmName} }, @{Label="Protection group name"; Expression={$_.PgName} }

Move VMs out of vApps?

$
0
0

Hi,

 

Has anyone tried to move VMs out from vApps?

I have a bunch of VMs as OVF files that I have exported from an old system, and I need to get them in to vCD as regular VMs. All tips are welcome!

 

/Andreas


VM Bus Types

$
0
0

Is it possible to add the NVMe disk controller to a VM from within vCloud Director?  It is not listed as an option as  a Bus Type within the properties of the VM.

"Unknown API version: null" error when creating an external network in vCD 10

$
0
0

I installed vCD 10 with NSX 6.4.6, vCenter Server 6.7U1, ESXi 6.7U1. This is a supported configuration according to the VMware products compatibility matrix.

 

When I tried to create an external network, I went through the wizard and when I clicked on the last button to complete the operation I got the following error:

"Unknown API version: null". Attached is the screen shot.

 

I tried several things to get around it, but nothing worked.

 

I then went back to vCD 9.7 while maintaining the same version of NSX, vCenter and ESXi, and was able to successfully create the external network and complete the vCD configuration.

 

Is this a known compatibility issue? If so, how can I get around it using the above configuration? I haven't tested with vCD 10 & 6.7 U3 yet.

 

Thanks.

IMG_7694.HEIC

Unable to open Virtual Machine

$
0
0

This is the error message I get.

Increasing video memory for a VM?

$
0
0

How do I increase the video memory for a VM from VCD 9.x? The HTML5 client doesn't have the option on the GUI. Is there a way to do change the attributes?

Moved VM but Port 80 is now closed

$
0
0

Hello Community - I have a VM, that has a bridged network connection, that is available via port 80 and 443. I recently moved it to a new host (same Workstation version but newer update) on the same subnet but for some reason the VM cannot be reached via port 80 anymore. It works just with port 443. Anyone know if there are anything in the Workstation settings that may be stopping port 80 from working? Does the firewall settings on the host matter? Thanks!

ovftool installation for Alpine (musl libc instead of glibc)

$
0
0

Hi,

We are moving from ubuntu to Alpine for our container image and encountered the following error for ovftool installation in an Alpine container. It works fine in an ubuntu container. Please note that Alpine uses musl libc instead of glibc. We also tried installing the glibc using “apk --no-cache --allow-untrusted -X https://apkproxy.herokuapp.com/sgerrand/alpine-pkg-glibc add glibc glibc-bin”, but it did not help.

The https://stackoverflow.com/questions/37818831/is-there-a-best-practice-on-setting-up-glibc-on-docker-alpine-linux-base-image suggests “Instead of installing glibc on Alpine, build and/or package your dependent software packages and libraries for Alpine.”.

Any help or workaround to install the ovftool on Alpine would be greatly appreciated.

bash-5.0# ./VMware-ovftool-4.3.0-7948156-lin.x86_64.bundle

Extracting VMware Installer...done.

musl libc (x86_64)

Version 1.1.24

Dynamic Program Loader

Usage: /lib/ld-musl-x86_64.so.1 [options] [--] pathname

Warning: VMware Installer could not determine this system's glibc version.

User interface initialization failed.  Exiting.  Check the log for details.

bash-5.0#

The log file referred in the above output is attached.

Regards,

Pramod


Appvolumes 4.0 packages change operating system

$
0
0

Hi All,

 

This is random so packaged an application and its put down to Windows 10x86.

 

So on 2.X easy fix

Select application

Click Edit

Under Operating Systems tick the box.

 

Now under 4.0

Click Edit

can do everything else except for changing or ticking the box to run on other versions of windows

 

Am i missing something

Unable to mount external OS X formatted hard drive in Mac VM

$
0
0

Fusion for Mac 8.5.10

Mac Host Mavericks 10.9.5

Mac Guest Sierra 10.12.6

Mac is Late 2013 MacBookPro

 

I can mount a USB 3.0 and 2.0 thumb drive when I click on "Connect to the VM" when asked to choose where I want to connect (at least most of the time).

 

I have several LaCie Rugged drives that have Firewire 800 and USB ports.  I also have several LaCie Rugged drives that have a built in Thunderbolt cable and a USB-C port.  The LaCie drives come with adapter cables that end with a USB-A plug suitable for my MBP's USB port.  These drives with these USB cables work in a variety of Macs.

 

But after clicking on "Connect to the VM" they do not mount in the VM.  Command diskutil list doesn't show them either on the host or guest.

 

Is this a known problem for my Fusion, host or guest version? 

 

Does it work in some other version of Fusion, host or guest?

 

Is there some configuration setting that will make this work?

 

Are people able to get USB only (no firewire or thunderbolt) drives to mount?

 

Are people able to get other multi-port drives to mount?

 

Thank you

How to publish a alpha or beta Android Enterprise app?

$
0
0

Dears,

 

We're publishing Android Enterprise app from our Google Play Console to our WorkspaceONE UEM.

This works rather fine.

 

Now, when a project needs two versions of the same app (one Prod for end-users, and one Dev for the Project team): how can I safely do that?

From what I understood, I can only retrieve on WorkspaceONE the Production release launched on the Google Play Console ; I can't retrieve at the same time Prod and Alpha or Beta releases...!

 

So here is the workarround I used: I've created two different apps on the Google Play Console: one Prod and one Dev.

Both have been released as Production from the Google Play Console to WorkspaceONE.

 

That worked fine until Google suspended both apps publication, because of their "Repetitive Content policy" violation

Without any prelim warning

 

So...

Here is my question: has any one found a valid solution here?

Am I doing it wrong?...

 

Thanks in advance for your feedbacks.

 

Julien

Pushing Profiles to Ipad

$
0
0

Having some issues with pushing a specific profile to a group of iPad, basically when I go into a device on Workspace and then under profiles, the profile I want pushed to the iPad or iPads is sitting with a status of "Pending Install" but it never appears to make its way to the devices. Any assistance would be greatly appreciated, thank you!

Tunnel without Tunnel App?

$
0
0

I have an app in iOS and Android that we need the Tunnel app as part of to allow the app to access a DB in our network.  Works fine.  Users seem to find installing an additional app challenging and don't read the requirements so when the app fails and it tells them it's failing because you need to install the Tunnel app they ignore it and remove the app.  OK venting done.  Can you utilize the WS1 SDK to bake in tunneling (not proxy) capabilities where the app will work like VMWare Web and just tunnel in automatically without additional apps being installed?  What is the best way to do this?

 

Thanks.

 

Steve

Viewing all 176760 articles
Browse latest View live


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