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

Vra8.1 how to init VM name?

$
0
0

Hi:

     blueprint how to init vm name? i try it but not take effect. and how to change the VM displayname in the vsphere?

     and how to generate multiple VM? i try use count, but not take effect.

 

this is my code,

inputs:

  hostname:

    type: string

    title: hostname

  count:

    type: integer

    default: 1

    maximum: 2

    minimum: 1

    description: VM count

resources:

  Cloud_vSphere_Network_1:

    type: Cloud.vSphere.Network

    properties:

      networkType: existing

      constraints:

        - tag: 'policyPath:/infra/segments/vlan101-seg'

  Cloud_vSphere_Machine_1:

    type: Cloud.vSphere.Machine

    properties:

      image: centos7-init

      cpuCount: 1

      count: '${input.count}'

      totalMemoryMB: 1024

      networks:

        - network: '${resource.Cloud_vSphere_Network_1.id}'

      cloudConfig: |

        #cloud-config:

        hostname: ${input.hostname}

微信图片_20200911134654.png


vSphere HA Cluster - Something is missing and I don't know what...

$
0
0

Hi all,

 

I have a newly formed cluster in my lab.

 

My cluster is composed as follows:

  1. 3x HPE DL380 Gen8. specs:
    1. 2x Intel Xeon E5-2670v2 10c/20t;
    2. 16*8GB DDR3 ECC (tot 128GB);
    3. 2x SAS 15k rpm 146GB disks as local swap location;
    4. ESXi is installed on a 32GB SD card;
    5. 530FLR-SFP+ (Dual port 10gbps SFP+ card flexibleLom);
    6. X520-DA1 (Single port 10gbps SFP+ card pcie);
    7. I350-T4 (Quad Port 1gbps RJ45 card pcie);
  2. 1x Dell PowerConnect 8024F 24 port SFP+ 10gbps switch;
  3. 1x HPE StoreVirtual 4530. specs:
    1. 12x HPE SAS 15k rpm 600GB SAS drives in RAID6;
    2. X520-DA2 (Dual port 10gbps card);

 

I used the 530flrs to connect to the SAN via the switch.

I used the 520-da1 and 1 of the 1gbps nics for my vmnetwork and configured the 1gbps port to be in standby for failover.

I used 2 more ports on the i350 to make a gateways network as I have a pfsense instance running on the cluster.

 

The cluster is up as of right now.

 

I installed ESXi 7.0.0 HPE Custom Image and I deplyed the relative VCSA on host1 to manage the cluster.

 

All guides I follow get me to the point where HA should be enabled but something is missing...

 

I have HA enabled now but cluster has a yellow triangle on it and says that there are a few VMs waiting for HA failover retry... whatever that means...

If then I head to HA monitoring I see that Host2 is the master and that there are no hosts connected to it........ O.O"

 

What should I do? I'm stuck.....

 

Thanks for any help...

 

Fabio

4.1 - assigning 2 diff Pckg's to One Application ?

$
0
0

Apologies for the newb question .

We are on 2.18 atm.

We are moving from LTSB/C to Enterprise - thus we are recreating every Layer / appstack in 4.1 .

 

In order to consolidate and limit # of attached drives we have AppStacks that combine multiple programs into one Layer .

 

For example .

 

an "Everyone" appstack... this has 4 apps.. Chrome - PDF xchange - financial app etc. 

EVeryone in the Co gets this .. hence the name .

 

Now to bring that to 4.x .

 

My question is :

 

Can i not HAve One Application called EVeryone .. and assign Different Multiple PAckages to said Application ?

 

Using 'Current' doesnt work..as it appears to me i can only have one Current PAckage in an Application ( which MAKES SENSE of course ) .

 

I tried 'Assignment Type 'Package'... that Assigns our AD group for this to just ONE package . 

 

I want one Application to dish out 4 Different PAckages .. ( e.g. Chrome / PDF software ..etc. ) .

 

Is there no way to do that ?

 

Also the question is would anyone WANT to do that ?...

 

In 2.18 we created one Appstack and installed 4 items in that one app stack .

 

Appears in 4.x we might have to create One Application.. One Package.. and install all 4 apps in said package ?

 

I presume EAch Package appears to be a separate VMDK..

 

Thus could one say you could never Have Two Packages in an Application assigned at the same time ?

 

Sorry for the newb questions .

 

thanks much .

VM template diployment issue from Cluster A to Cluster B

$
0
0

Hello Friends,

I have two cluster in a vCenter while deploying VM by template from Cluster A to Cluster B getting below error.

 

 

Below are the connectivity details.

Cluster A and B are part of different VLAN but in same VC

There is no visibility between Cluster A and B storage.

Please let me know if it is possible in my case.

 

Regards,

Wasil

Problem with vMware HA Cluster resource reservation values

$
0
0

Hi,

 

I have a problem with vMware HA Cluster resource reservation. The cluster total capacity is 13.97 Ghz but only 7.82 Ghz is available.

 

I didn't understand why, if someone could explain it to me.

 

vm.png

 

Also "Total slots in cluster" calculation is based on the 7.82 Ghz ( 7.82 * 1000 / 32 = 244 )

 

vm2.png

 

 

im using vMware vCenter version 6.5.

 

thanks.

Unable to Login to vCenter

$
0
0

I am currently unable to login to my vCenter 6.5 web client. I keep getting an error "User name and password are required" when trying to login. I only get the error when imputing a correct username and password. I have used multiple user accounts and computers with the same error. Anyone have any idea on how to fix this?

 

How to setup to share local storage

$
0
0

We have two enclosures with Esxi installed.

They are Esxi-A and Esxi-B

Since Esxi-A has more storage capacity, we would like to store all the virtual OS images on Esxi-A's local storage.

So, could you please tell me how to set up Esxi-B to access Esxi-A's local storage from Esxi-B?

 

Best Regards,

Best Practices for a Newbie

$
0
0

I recently inherited a production HP DL360 Gen9 server with  ESXi platform and will need to use it for virtualizing a file sharing system for a small office.    We primarily rely on a couple of Access databases that are hammered fairly hard by 10-15 or so simultaneous users in spurts across the work week.    Part of the "inheritance" means we lost the Nasuni fileshare that was previously housed on the server and we won't be replacing the Nasuni software.

 

I've been in IT a long time, but am pretty new to vmware and virtualization.

 

I was thinking to virtualize a Windows 2016 Server on the platform for the file share.    My main goal is speed/performance for the database access.    The databases are less than 3Gb in size.

 

The server has a RAID-5 array of traditional hard drives with plenty of space, and then also a RAID-1 array of 800Gb of faster SAS SSD drives.

 

I also have plenty of RAM for a small RAM disk - if that is appropriate to use for a dedicated "fast" database file share.

 

Should I try to split the Win2016 OS system partition from the data partition - and then place the data solely on the fast RAID-1 array??    Or would it be about as good to just place the Win2016 OS & data partition both on the RAID-1 SSD??

 

Would it be appropriate to set up a 16-32Gb RAM disk for super fast performance?   

 

Are there any good documents discussing layout options for OS vs data vs disk type?   Or is this mainly just learned through experience??

 

 

 

Thanks for any advice!!

Howard


How to view the portgroupID property?

$
0
0

I need it to be able to create and Edge via the NSX API, for which I need a portgroupId which i havent been able to find anywhere.
Ive seen the other post here on forum, but the guide appears to be for a web interface different than mine, since im not finding the URL revealing the portgroupID as explained in that solution. Also I would very much prefer to be able to get a list of portgroupIDs via the API if possible.

Ive tried:

  • Using the port group NAMES
  • Listing portgroupID /Networks in the web interface but no ID property is revealed here
  • Listing portgroupID/Networks via the API but I haven’t been able to identify a query that does this from the API documentation

 

The API query im currently using which is missing the portgroupID:

curl -k -X POST -H "Content-Type: application/xml" -u user:password -d '<edge><datacenterMoid>datacenter-2</datacenterMoid><name>APICreated-LBSS-Edge</name><tenant>Default</tenant><vseLogLevel>info</vseLogLevel><appliances><applianceSize>compact</applianceSize><appliance><resourcePoolId>123</resourcePoolId><datastoreId>123</datastoreId></appliance></appliances><vnics><vnic><index>0</index><name>APICreated-LBSS-Edge-Interface</name><type>uplink</type><portgroupId>AZT-vlan12</portgroupId><addressGroups><addressGroup><primaryAddress>213</primaryAddress><secondaryAddresses><ipAddress>123</ipAddress></secondaryAddresses><subnetPrefixLength>28</subnetPrefixLength></addressGroup></addressGroups><mtu>1500</mtu><enableProxyArp>false</enableProxyArp><enableSendRedirects>false</enableSendRedirects><isConnected>true</isConnected><inShapingPolicy><averageBandwidth>20000000</averageBandwidth><peakBandwidth>20000000</peakBandwidth><burstSize>0</burstSize><enabled>true</enabled><inherited>false</inherited></inShapingPolicy><outShapingPolicy><averageBandwidth>20000000</averageBandwidth><peakBandwidth>20000000</peakBandwidth><burstSize>0</burstSize><enabled>true</enabled><inherited>false</inherited></outShapingPolicy></vnic></vnics><cliSettings><userName>admin</userName><password>123</password><remoteAccess>false</remoteAccess></cliSettings></edge>' 'https://123/api/4.0/edges'

Kind regards

VMWare 11 / Mac Mini / Samsung X5 Thunderbolt 3 / Windows 10 Home.

$
0
0

I Have the above configuration. When I plug in the external thunderbolt drive it is not recognized by vmware. Is this a design/feature, a bug, or operator error. Any ideas?

The hard disk is filled by installbuilder when compiling

$
0
0

Hi,

 

When InstallBuilder is opened in GUI mode or Builder-cli is executed in a batch script in Windows, the user's temporary folder is filled by installbuilder binaries with directories named BRLXXXXXX that are not deleted after the command finishes or the GUI is closed. In a CI environment, Installbuilder fills the temporary disk very quickly. Is there anyway for each instance of Installbuilder to control its temporary directories and delete them at some point? Think that we have several instances of Installbuilder at the same time.

 

Best regards,

 

Ion

Workspace one uem 2005 on-prem login problem

$
0
0

Hi everyone

 

i just finish the workspace one on-prem install

 

but i didn't set any password or user

 

is it an default user?

Unable to mount VMFS after rebuilding partition table

$
0
0

Hello All,

 

I am currently working on the issue with two vmfs files that were wiped when a raid card was swapped.

 

So far I have rebuilt the partition table on the drive and can see the partition from the devices, though I have been unable to mount the partition and when I try adding the drive the only option i have is to wipe it out.

 

Currently I am running a data recovery on one of the drive but due to time constraints and working to repair the drives to bring the system back online faster.

 

At this point I thnk the issue is with the lvm but i am out of my depth.

 

Any help would be greatly appreciated.

 

Best,

 

Justin

Change Default Virtual Machines List Sort Order Behavior on ESXi 6.7

$
0
0

Dear all,

Is there any way to change the default behavior of how the virtual machines list is sorted? I would like to default be by vms name, but ESXi web client always sort by vms' ID, which is not the best option for me.

Newbie questions

$
0
0

Hi, I'm new to vmware. I'm not sure is vmware suitable for me.

 

I've 3 kids they have their own Ipad, but now they need PC for school homework.

 

So i thinks to let them use my PC by concurrent login remote from their Ipad. yes, 1 PC with Win10 act as a server for 4 users including me.

 

But the problem is which vmware product have that features? Please advise.


App Volumes 2.18.x and Horizon 8 (2006)

$
0
0

According to the VMware interoperability matrix, Horizon 8 (2006) is not compatible with App Volumes 2.18.x.

Does anyone know if this is an oversight in the interoperability matrix or if they are really incompatible?

 

I do not see why they would not be compatible as there is not really a strong dependency between VMware Horizon and VMware App Volumes except for the agents being installed on the same machine.

 

 

 

2006(VMware Horizon)7.12.0(VMware Horizon 7)
VMware App Volumes
2006YY
4.0.1YY
4.0YY
2.18.4Y
2.18.2Y
2.18.1Y
2.18.0Y
2.17.1Y
2.17.0Y
2.16.0Y
2.15.0Y
2.14.8Y
2.14.3Y
2.14.2Y
2.14.0Y

esxi 7 network disconnecting

$
0
0

Hi, i have Esxi 7 installed on Dell - T640 as bare -metal , it is working fine.But the only issue when i remove the network cable and reconnected.I am losing the connectivity in the host.Then i have to restart the network manager to establish the connectivity.Means when i lost the connectivity and to re establish it need to restart the network services.Your valuable help in this regard highly appreciated.

Thanks

Eyad

Create a VM from a unix hard drive

$
0
0

Hello all,

 

I'm new at everything related with VM and I beg for your help.

 

In our factory we have a really old computers (using a kind of UNIX system) used for controlling processes. It is common that they fail and we have to fix them. ¿It is possible to create a VM from them and use them in a new Windows computers? As they are not windows I can't install VM converter or whatever and I try to connect the hard drive (IDE) to a Windows computer but it doesn't reccognise it.

 

Attached you'll find some captures of the computers.

 

Thenk you in advance.

PowerCLI Script to capture Cluster Utilization with Performance Averages (v2)

$
0
0

Hi,

 

Id like to take the script used for quickly analyzing and exporting cluster utilization data to include historical average as well using Get-Stat as recommended by LucD.  I've modified the final script version from the previous thread located https://communities.vmware.com/thread/596563 to the following:

 

$hosts = "192.168.0.1"

 

 

$a = "<style>"

$a = $a + "BODY{background-color:white;}"

$a = $a + "TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}"

$a = $a + "TH{border-width: 1px;padding: 1px;border-style: solid;border-color: black;background-color:PaleGoldenrod}"

$a = $a + "TD{border-width: 1px;padding: 1px;border-style: solid;border-color: black;background-color:white}"

$a = $a + "</style>"

 

 

if($global:defaultviservers){

    Disconnect-VIServer -Server $global:defaultviservers -Force -Confirm:$false

}

 

 

$output = foreach($vc in $hosts){

    Write-Host "Getting Cluster Information from $vc"

    Connect-VIServer -Server $vc | Out-Null

    Get-Cluster -Server $vc | where{$_.ExtensionData.Host.Count -ne 0} | ForEach-Object -Process {

        Write-Host "Looking at cluster $($_.Name)"

        #$ds = Get-Datastore -RelatedObject $_ | where{$_.ExtensionData.Summary.MultipleHostAccess}

        $esx = Get-VMHost -Location $_

        $vm = Get-VM -Location $_ | where{$_.PowerState -eq "PoweredOn"}

        $cpuTot = ($esx | Measure-Object -Property CpuTotalMhz -Sum).Sum

        $cpuUse = ($esx | Measure-Object -Property CpuUsageMhz -Sum).Sum

        $memTot = ($esx | Measure-Object -Property MemoryTotalGB -Sum).Sum

        $memUse = ($esx | Measure-Object -Property MemoryUsageGB -Sum).Sum

        $obj = [ordered]@{

            #vCenter = $global:defaultviserver.Name

            Cluster = $_.Name

            'Total CPU Ghz' = [math]::Round($cpuTot/1000,0)

            'CPU Usage' = "{0:P0}" -f ($cpuUse/$cpuTot)

            'CPU Free' = "{0:P0}" -f (($cpuTot - $cpuUse)/$cpuTot)

            'Total RAM GB' = [math]::Round($memTot,0)

            'RAM Usage' = "{0:P0}" -f ($memUse/$memTot)

            'RAM Free GB' = "{0:P0}" -f (($memTot - $memUse)/$memTot)

            #'Total Capacity GB' = [math]::Round(($ds.CapacityGB | Measure-Object -Sum).Sum,0)

            #'Used Capacity GB' = [math]::Round(($ds | %{$_.CapacityGB - $_.FreeSpaceGB} | Measure-Object -Sum).Sum,0)

            #'Free Capacity GB' = [math]::Round(($ds.FreeSpaceGB | Measure-Object -Sum).Sum,0)

            'N° Hosts' = $_.ExtensionData.Host.Count

            'N°VMs' = &{

                $esxVM = Get-View -Id $_.ExtensionData.Host -Property VM

                $vm = @()

                if($esxVM.VM){

                    $vm = Get-View -Id $esxVM.VM -Property Summary.Config.Template |

                    where{-not $_.Summary.Config.Template}

                }

                $vm.Count

                }

            'vCPU' = ($vm.NumCpu | Measure-Object -Sum).Sum

            'pCPU' = ($esx.NumCpu | Measure-Object -Sum).Sum

            'vCPU/pCPU' = "{0:P0}" -f (($vm.NumCpu | Measure-Object -Sum).Sum / ($esx.NumCpu | Measure-Object -Sum).Sum)

            'vMem' = [math]::Round(($vm.MemoryGB | Measure-Object -Sum).Sum)

            'pMem' = [math]::Round(($esx.MemoryTotalGB | Measure-Object -Sum).Sum)

            'vMem/pMem' = "{0:P0}" -f (($vm.MemoryGB | Measure-Object -Sum).Sum / ($esx.MemoryTotalGB | Measure-Object -Sum).Sum)

        }

        New-Object PSObject -Property $obj

   }

   Disconnect-VIServer $vc -confirm:$false

}

 

 

$output | ConvertTo-Html -Head $a | Out-File C:\ClusterReport.htm -width 400

 

I've commented out various storage related items, and added columns for the vCPU, pCPU, vMem, and pMem components, as well as changed the original script to only count poweredOn VMs where relevant.  Is it possible to change CPU usage and RAM usage to display the clusters overall average usage for 7 days or even a month? Can anyone think of a way to subtract the largest host from the values calculated for pCPU?

 

Thanks in advance,

carias593

VCenter error start

$
0
0

После установки обновлений на сервер 2016 перестал запускать VCenter. При подключение по веб выдает следующее:

503 Service Unavailable (Failed to connect to endpoint: [class Vmacore::Http::NamedPipeServiceSpec:0x000001b07949a9f0] _serverNamespace = / action = Allow _pipeName =\\.\pipe\vmware-vpxd-webserver-pipe)

 

На самом сервер при проверке сервисов выдает следующее:

C:\Program Files\VMware\vCenter Server\bin>service-control --status

Running:

EsxAgentManager VMWareAfdService VMWareCertificateService VMWareDirectoryService VMwareComponentManager VMwareDNSService VMwareIdentityMgmtService VMwareSTS VServiceManager rhttpproxy vPostgres vapiEndpoint vmon vmonapi vmsyslogcollector vmware-cis-config vmware-license vmware-perfcharts vmwareServiceControlAgent vpxd-svcs vsphere-ui vspherewebclientsvc

Stopped:

VMWareCAMService content-library mbcs vmware-autodeploy-waiter vmware-imagebuilder vmware-network-coredump vpxd

StartPending:

vimPBSM vsan-health

 

При попытке запуска:

C:\Program Files\VMware\vCenter Server\bin>service-control --start --all

Operation not cancellable. Please wait for it to finish...

Performing start operation on service vmware-cis-config...

Successfully started service vmware-cis-config

Performing start operation on service VMWareAfdService...

Successfully started service VMWareAfdService

Performing start operation on service VMWareDirectoryService...

Successfully started service VMWareDirectoryService

Performing start operation on service VMWareCertificateService...

Successfully started service VMWareCertificateService

Performing start operation on service VMwareIdentityMgmtService...

Successfully started service VMwareIdentityMgmtService

Performing start operation on service VMwareSTS...

Successfully started service VMwareSTS

Performing start operation on service VMwareDNSService...

Successfully started service VMwareDNSService

Performing start operation on profile: ALL...

Successfully started service vmon

Service-control failed. Error: Failed to start services in profile ALL. RC=1, stderr=Failed to start sps, content-library, vpxd, vsan-health services. Error: Operation timed out

 

Ребят помогите куда копать пожалуйста!

Viewing all 176760 articles
Browse latest View live


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