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

Swap file VMFS best practices for large cluster?

$
0
0

I understand the benefits of using a VM swapfile datastore for VMs that will be replicated.   However,  if I have a large cluster (500+ VMs),  is it OK to have all vSphere hosts in the cluster use the same VMFS volume for  500+ swap files?    This is assuming that memory would never be so constrained that the swap files would be used.    If it is OK to do this,  would it be a concern if the VMFS volume was on a host/datastore that didn't support ATS Locking via VAAI?

 

It would be a good alternative if you could create full memory reservations on VMs to be used by SRM.  However,  it appears that vSphere still creates a 0K .vswp file when using a full memory reservation,  which will still need to be deleted by SRM on failover which will slow the process down.

 

Thanks,

-MattG


Workstation 10 - vmAutoStart.xml missing

$
0
0

Hello,

 

I have a shared VM (2008R2) running on a machine  with W2K3.

The VM is shared and booted when the host does boot. No Problem here.

I want, of course, that the VM is suspended when the host is shutting down.

I found the information that this can be set up in vmAutoStart.xml.

It should be in D:\Programme\VMWare\Workstation\hostd but there is no file at all.

I did a search of the whole machine but couldn't find it.

 

I could do it with VMRun and a script at shut-down, I know.

But it's more safe if VMWare is doing the Job.

 

Any idea?

 

Cheers

Christian

K1 card not showing up in the display panel in view desktop

$
0
0

We have a Dell R720 with a Kepler K1 card installed and we cannot get the K1 card to be the primary adapter in the view desktop vm. The K1 cards shows up in device manager, however I cannot select the K1 adapter in the control panel/Display due to the K1 adapter not showing up in the drop down menu. We were able to set the registry to allow for changing display by hacking the registry but cannot get the K1 card working.

 

Any ideas?

 

V/R

ESXi 5.1 host disconnected after running the Rescan datastore ?

$
0
0

Hi All,

 

Can anyone here please help me with the troubleshooting of the strange behaviour of my newly migrated ESXi 5.1 u1 host.

I'm trying to rescan the datastore in this one particular ESXi host only, but somehow it failed miserably with the host left being disconnected ?

 

I have connected to the SSH console of the host and issued the restart command to restart the management agent but it hangs in the SSH console, the ESXi host is not responding and still disconnected ?

 

 

~ # services.sh restart

Running vmware-fdm stop

Stopping vmware-fdm:success

 

 

Running xorg stop

Running wsman stop

Stopping openwsmand

Openwsmand is not running.

Running sfcbd stop

This operation is not supported.

Please use /etc/init.d/sfcbd-watchdog stop

Running snmpd stop

root: snmpd is not running.

Running sfcbd-watchdog stop

sh: bad number

sh: you need to specify whom to kill

sfcbd is not running.

Connect to localhost failed: Connection failure

Connect to localhost failed: Connection failure

Running vpxa stop

vpxa is not running

Connect to localhost failed: Connection failure

Running vobd stop

vobd is not running

Running dcbd stop

dcbd is not running

Running smartd stop

smartd is not running

Running lacp stop

lacp is not running

Running memscrubd stop

memscrubd is not running

Running cdp stop

cdp is not running

Running slpd stop

Stopping slpd

Running hostd stop

hostd is not running.

Running sensord stop

sensord is not running

Running storageRM stop

storageRM is not running

Running rhttpproxy stop

rhttpproxy is not running.

Running lbtd stop

net-lbt is not running

Running usbarbitrator stop

usbarbitrator is not running

Running SSH stop

SSH login disabled

VobUserLib_Init failed with -1

Connect to localhost failed: Connection failure

Errors:

Invalid operation requested: This ruleset is required and connot be disabled

Running DCUI stop

Disabling DCUI logins

VobUserLib_Init failed with -1

Running DCUI restart

Enabling DCUI login: runlevel =

VobUserLib_Init failed with -1

Running SSH restart

Connect to localhost failed: Connection failure

SSH login enabled

VobUserLib_Init failed with -1

Running usbarbitrator restart

 

Any idea and suggestion please let me know.

 

Thanks

Strange error sometimes during machineprovisioned

$
0
0

Hi everybody,

 

I have this error during some provionning.

I have a custom script... works well last week, but now...some provisionning fails

 

Anybody have an idea ?

 

 

Workflow "WFStubMachineProvisioned" failed with the following exception:

System.InvalidOperationException: CacheMetadata for activity 'DynamicOps.ManagementModel.Workflows.WorkflowStubs.WFStubMachineProvisioned' threw 'System.Xaml.XamlObjectWriterException: Failed to create a 'PointCollection' from the text '300,77.5 300,107.5 300,134.5'. ---> System.ComponentModel.Win32Exception: The operation completed successfully

   at MS.Win32.HwndWrapper..ctor(Int32 classStyle, Int32 style, Int32 exStyle, Int32 x, Int32 y, Int32 width, Int32 height, String name, IntPtr parent, HwndWrapperHook[] hooks)

   at System.Windows.Threading.Dispatcher..ctor()

   at System.Windows.DependencyObject..ctor()

   at System.Windows.Media.PointCollection.Parse(String source)

   at System.Windows.Media.PointCollectionConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)

   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateObjectWithTypeConverter(ServiceProviderContext serviceContext, XamlValueConverter`1 ts, Object value)

   at System.Xaml.XamlObjectWriter.Logic_CreateFromValue(ObjectWriterContext ctx, XamlValueConverter`1 typeConverter, Object value, XamlMember property, String targetName, IAddLineInfo lineInfo)

   --- End of inner exception stack trace ---

   at System.Xaml.XamlObjectWriter.Logic_CreateFromValue(ObjectWriterContext ctx, XamlValueConverter`1 typeConverter, Object value, XamlMember property, String targetName, IAddLineInfo lineInfo)

   at System.Xaml.XamlObjectWriter.Logic_CreateFromValue(ObjectWriterContext ctx, XamlValueConverter`1 typeConverter, Object value, XamlMember property, String targetName)

   at System.Xaml.XamlObjectWriter.Logic_CreateFromInitializationValue(ObjectWriterContext ctx)

   at System.Xaml.XamlObjectWriter.WriteEndMember()

   at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)

   at System.Activities.XamlIntegration.FuncFactory`1.Evaluate()

   at System.Activities.DynamicActivity.OnInternalCacheMetadata(Boolean createEmptyBindings)

   at System.Activities.Activity.InternalCacheMetadata(Boolean createEmptyBindings, IList`1& validationErrors)

   at System.Activities.ActivityUtilities.ProcessActivity(ChildActivity childActivity, ChildActivity& nextActivity, Stack`1& activitiesRemaining, ActivityCallStack parentChain, IList`1& validationErrors, ProcessActivityTreeOptions options, ProcessActivityCallback callback)

   at System.Activities.ActivityUtilities.ProcessActivityTreeCore(ChildActivity currentActivity, ActivityCallStack parentChain, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList`1& validationErrors)

   at System.Activities.ActivityUtilities.CacheRootMetadata(Activity activity, LocationReferenceEnvironment hostEnvironment, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList`1& validationErrors)

   at System.Activities.XamlIntegration.ActivityXamlServices.RequiresCompilation(IDynamicActivity dynamicActivity, LocationReferenceEnvironment environment, String& language)'.

   at System.Activities.XamlIntegration.ActivityXamlServices.RequiresCompilation(IDynamicActivity dynamicActivity, LocationReferenceEnvironment environment, String& language)

   at System.Activities.XamlIntegration.ActivityXamlServices.Compile(IDynamicActivity dynamicActivity, LocationReferenceEnvironment environment)

   at System.Activities.XamlIntegration.ActivityXamlServices.Load(XamlReader xamlReader, ActivityXamlServicesSettings settings)

   at System.Activities.XamlIntegration.ActivityXamlServices.Load(XmlReader xmlReader, ActivityXamlServicesSettings settings)

   at System.Activities.XamlIntegration.ActivityXamlServices.Load(TextReader textReader, ActivityXamlServicesSettings settings)

   at DynamicOps.DWE.Manager.WorkerController.ExecuteWorkflowInstance(WorkflowInstance instance)

 

Contingencia vCenter 5.1

$
0
0

Hola. Estoy planteando un sistema de contingencia para un vCenter 5.1.

 

 

 

Hasta la fecha (vCenter 4.1) tenía un segundo servidor con vCenter instalado y con otro nombre, le trasladaba la BD del vCenter original y renombraba el servidor y el SQL (vCenter y SQL en el mismo equipo).

 

Ahora con vCenter 5.1, al tener el servicio de single Sign On y tener durante la instalación diversas pantallas de configuración del FQDN del servidor no veo trivial instalar un segundo servidor en el que trasladar la BD y luego renombrarlo como el primer vCenter en caso de contingencia, sobretodo porque he visto varios KB's de VMware que indican problemas en caso de renombrar un servidor de vCenter 5.1:

 

 

 

http://kb.vmware.com/kb/2032004

http://kb.vmware.com/kb/1014458

http://kb.vmware.com/kb/2021202

 

 

 

Me preguntaba si era posible tener algún otro método de contingencia, teniendo en cuenta que el vCenter es físico y debería tener otro servidor físico de contingencia que asumiría el servicio en caso de caída del primero.

 

Había pensado en instalar este segundo servidor con otro nombre y también el vCenter, pero sin licenciar, y con una BD recién instalada en el mismo servidor. En caso de caída del servidor de vCenter de producción, recuperar la BD en el servidor de contingencia e intentar reconectar los hosts, ya que los certificados serán diferentes.

 

Desconozco si puede haber algún efecto adverso o secundario y me gustaría saberlo antes de probarlo. ¿Qué opinión os da esta solución?

 

 

 

Gracias y saludos.

Can I run Snow Leopard with the latest version of VMware Fusion on a mid-2012 MacBook Pro?

$
0
0

I have a Snow Leopard installation disk (version 10.6.3), but my mid-2012 MacBook Pro won't allow me to install it.  Is this possible using the latest version of VMware Fusion?

Migrate VM from one Site to another without Downtime

$
0
0

Hi,

 

I have an requirement where we need to migrate virtual machines from one site to another site without downtime. Please suggest which method is more efficient

Customer has vCenter Server 5.1 with vSphere 5.1 Enterprise (ESXi 5.1)


Option 1: Using vCenter Server vMotion & SV Motion

Add both the ESXi Servers to single VC and migrate VM using vMotion & Storage vMotion

 

Option 2: Advanced vMotion using vSphere 5.1

Using Advanced vMotion can we migrate both (Host-to-Host and Array-to-Array) using vSphere Web Client

 

Option 3: vCenter Site Recovery Manager

Using vSphere Replication, Can we replicate a VM from One site to another. Please suggest the components required to achieve this.


Determining Power Saved by DPM (Distribted Power Management)

$
0
0

What is the most accurate way to automatically report on how much power is being saved by DPM?  Ideally, I wouldn't have to sit down and look at one screen, see my usage before a DPM power down event, look at another screen and see my usage afterward, then calculate the difference, then estimate how many servers were powered off how many times and multiply, etc.

 

It would be nice to just generate a report at the end of the week and say "here are the number of servers that were powered off through DPM that otherwise would have been on.  Here is how long they were off.  The estimated power saved is x Kilowatt Hours."

 

Any ideas, software that can do this, amazing powercli scripts, etc?

How to set control Alarm in SRM

$
0
0

I have configured SRM Alarm to find if remote site is down, but l do not find setting for  "Repeat alarm triggered every X minitues".

By default it send alerts every 5 minutes.

 

 

 

Alarm.png

Add other Sources to vCenter Log Insight - Example QNAP NAS (german)

disaster recovery vs. hardware migration

$
0
0

Which is the difference between a disaster recovery to a replacement endpoint and a hardware migration to a differend endpoint ?

Update a package programatically

$
0
0

Hi,

 

Does anybody know if there is a way to update the contents of a package from within a workflow?

 

I'm looking for the equivalent of right clicking the package and selecting "Rebuild". I didn't see any methods other than delete on the package object, so am unsure.

Problems With New PSObject For Audit Report

$
0
0

   Hi All,

 

I'm attempting to write a script that will gather information about the VMs in a vCenter environment, namely Name, vCPUs, Memory, Operating System, and, the kicker, disk information (specifically, capacity and free space).  The script is attached, with many parts borrowed.

 

Now, typically, I would use the New-Object -TypeName PSObject -Property @{ }, but I couldn't find any way to use any sort of logic (i.e. a ForEach loop within this), and this is required.  For some reason, the columns for vCPU, MemoryGB, and GuestOS are blank.  Also, it's transposing the two disks, swapping the C:\ and E:\ drives (attached as well).  The Name works, but has been blanked out to protect the innocent.

 

Thank you, in advance, for any help!

How to add Cluster Name to Report

$
0
0

Get-DataCenter $DC | Get-Datastore | Where-Object {$_.Name -notlike "DataStore1*"} |

Sort-Object -Property Name |

Select-Object -Property Name,

@{Name="CapacityGB";Expression={[Math]::Round($_.CapacityGB,0)}},

@{Name="UsedSpaceGB";Expression={[Math]::Round($_.CapacityGB-$_.FreeSpaceGB,0)}},

@{Name="FreeSpaceGB";Expression={[Math]::Round($_.FreeSpaceGB,0)}},

@{Name="UncommittedSpaceGB";Expression={

  if (-not $_.ExtensionData.Summary.Uncommitted) {

    0

  }

  else {

    [Math]::Round($_.ExtensionData.Summary.Uncommitted/1GB,0)

  }

}},

@{Name="ProvisionedSpaceGB";Expression={

    $Summary = $_.ExtensionData.Summary

    if (-not $Summary.Uncommitted) {

      [Math]::Round(($Summary.Capacity - $Summary.FreeSpace)/1GB,0)

    }

    else {

      [Math]::Round(($Summary.Capacity - $Summary.FreeSpace + $Summary.Uncommitted)/1GB,0)

    }

}},

@{Name="PercentageUsed";Expression={[Math]::Round(100*($_.CapacityGB-$_.FreeSpaceGB)/$_.CapacityGB,0)}},

@{Name="PercentageFreeSpace";Expression={[Math]::Round(100*$_.FreeSpaceGB/$_.CapacityGB,0)}},

@{Name="PercentageProvisioned";Expression={

    $Summary = $_.ExtensionData.Summary

    if (-not $Summary.Uncommitted) {

      [Math]::Round(100*($Summary.Capacity - $Summary.FreeSpace)/$Summary.Capacity,0)

    }

    else {

      [Math]::Round(100*($Summary.Capacity - $Summary.FreeSpace + $Summary.Uncommitted)/$Summary.Capacity,0)

    }

}},

@{Name="VMs";Expression={[string]::Join(";",($_.ExtensionData.Vm | ForEach-Object {Get-View -Id $_}).Name)}},

@{Name="VMDKs";Expression={[string]::Join(";",(&{

    $Datastore = $_

    $Datastore.ExtensionData.Vm |

    ForEach-Object {

      Get-View -Id $_ |

      Get-VIObjectByVIView |

      Get-HardDisk |

      Where-Object {$_.FileName -like "*$($Datastore.Name)*"}

    }

  }).FileName)

 

 

}} | Export-CSV $FileName -NoTypeInformation -UseCulture


Datastore regex not working

$
0
0

Hi guys, i'm trying to get the datastore regex working by modifying nova.conf file, i have a 2 esxi cluster working with iscsi and one small volume locally for ESXi's installation:

 

 

Datatastore nameHostPurpose
local1vesxi1esxi installation
local2vesxi2esxi installation
iscsivesxi1 & vesxi2Shared storage

 

I want to deploy the newly created isntances in the "iscsi" datastore but all get created by default in the first datastore (local1),i cant get the datastore regex to work, whats the correct syntaxis? im using datastore_regex = iscsi


thanks!

Changing the IP address of the Vcenter Machine will affect Vmware Horizon View 5.2

Auflösungs- und Darstellungsproblem nach Upgrade auf VMWare 6

$
0
0

Hallo zusammen,

heute habe ich mir das Upgrade auf Fusion 6 auf meinem MacBook Pro Retina installiert. Nachdem ich die Virtuellen Maschinen über die Kompatibilitätseinstellungen auf "Hardware 10" gesetzt habe, läuft soweit alles wie erhofft, jedoch mit Ausnahme der Auflösung bzw. der Vergrößerung von Text und Elementen (Einstellung in der Bildschirmauflösung unter Windows 7, die sich "Text und weitere Elemente vergrößern oder verkleinern" nennt). Hier habe ich folgendes Problem:

Die höchste Auflösung von 2880 x 1800 ist mir zu hoch. Ich habe diese auf 1920 x 1200 heruntergesetzt. Dies wird auch vom System genommen. Allerdings ist mir hier die Darstellung etwas zu groß (bei der nächst höher möglichen Auflösung von 2560 allerdings wieder zu klein). Dies liegt wohl daran, dass die oben beschriebene "Text und weitere Elemente vergrößern oder verkleinern"-Einstellung auf 150% steht. Ich kann diese zwar kurzfristig auf 100 oder 125 % heruntersetzen, dann fordert mich Windows jedoch auf, mich neu anzumelden ("Sie müssen sich am Computer abmelden ..."). Nach der erneuten Anmeldung erhalte ich dann die VMWare-Meldung, "VMWare Tools has modified the user Interface size Settings. You must log off ..." Nach der dann zweiten Ab- und Anmeldung ist die Einstellung wieder auf 150 % gesetzt.

 

In den VMWare-Einstellungen habe ich auch schon die Option "Automatische Anpassung der Größe der Benutzeroberfläche in Windows" aktiviert und auch mal deaktiviert. Aber wie ich es auch mache, ich behalte dauerhaft nicht die gewünschte Auflösung einschl. der gewünschten Vergrößerung.

 

Ich weiß zwar nicht mehr wie die Einstellungen in VMWare 5 waren und wie ich sie hinbekommen habe, aber ich erreiche die selben Anzeige jetzt nicht mehr.

 

Vielen Dank im Voraus.

 

Markus

Creation of the virtual machine on a cluster via vmcreate.pl script

$
0
0

Hi,

 

I have checked few posts on this forum on how to create the virtual machine via vmcreate.pl, but the responses was not so clear to me...

These are the topics I have read:

 

Create VM instance on Cluster

How to set up the HostSystem Managed object

 

So, I would like to create a virtual machine on a Cluster, not on a specified host. Does the script vmcreate.pl would do the job ? Or I should modify it ?

From the topic => Create VM instance on Cluster    I didn't quite get, what should I modify ...

 

This is what I do:

 

vmcreate.pl --server "ESX NAME" --username "LOGIN" --password "PASS" --filename vmcreate.xml --schema vmcreate.xsd


Result:

 

Error creating VM 'myTestMachine':

SOAP Fault:

-----------

Fault string: InvalidArgument

Fault detail: InvalidArgument

 

Here are the XML file values:

 

                <Name>myTestMachine</Name>

                <Host>blabla</Host>

                <Datacenter>blabla</Datacenter>

                <Guest-Id>Linioch</Guest-Id>

                <Datastore>blabla</Datastore>

                <Disksize>2048</Disksize>

                <Memory>256</Memory>

                <Number-of-Processor>1</Number-of-Processor>

                <Nic-Network></Nic-Network>

                <Nic-Poweron>1</Nic-Poweron>

 

The values are correct cause I have checked them via other perl scripts.

 

Thank You in advance for Your help

Michal

Converting Physical RDM to Virtual RDM

Viewing all 179681 articles
Browse latest View live


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