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

choose datastore freespace

$
0
0

Hello to All,

I have workflow to create VM from template,

I want to create list with 5 datasores with most free space to choose,

any idea how to do that?


Issues with InitiateFileTransferFromGuest

$
0
0

We recently switched our code from using VIX to using the new web SDK guest services.  We have noticed a strange issue with the InitiateFileTransferFromGuest call.   It appears that the first time we call InitiateFileTransferFromGuest for a vm the size property of the returned FileTransferInformation object is 0.  If we immediately recall InitiateFileTransferFromGuest we get the correct size and data returned on the HTTP GET call.   Subsequent calls to the same vm seem ok after this.  But this is repeatable on our other vm's.

 

We verified that the script if copied to the server and the script is ran as we are outputting the results into a file and this is the file being returned. So there is an issue here.   these are both windows 2008 and 2003 vms.

 

Anyone else seen this behavior.  We are also using the dotnet c# sdk.

Snapshot error

$
0
0

Create virtual machine snapshot

xxxxxxxxxx error occurred while quiescing the virtual machine. See the virtual machine's event log for details.

Consolidating VM with a large number of redo logs and snapshots fail.

$
0
0

Hi,

 

We've been backing up a Windows Server 2012 virtual machine using Acronis and have noticed over a period of time it's got 146 redo/snapshots associated to the VM disks.

 

C: drive is 900GB and the D: drive is 5TB

 

I don't have enough storage to attempt a clone in the environment due to the large drive sizes. 

I've turned off the VM and tried running a disk consolidation.  It runs for a few hours before failing with the following error:  "An error occurred while consolidating disks: 12 (Cannot allocate memory)."

 

Any ideas on how I could consolidate the VM back to the base disks?

 

The environment is running vSphere Essentials 5.5 on a single ESXi 5.5 host.

 

Cheers,

Using vdiskmanager : VMware Fusion-based VM to ESXi 5.5 host; file conversion in OS X

$
0
0

Hi All, 

 

I have a Linux-VM I am running in Fusion on OS X, but I'd like to move it over to my ESXi 5.5 host on the same network. I understand that I need to convert the .vmwarevm file I currently have into the 2 file .vmdk format for ESXi. I found the vdiskmanager application and downloaded it, but I am struggling with how to employ it. Launching the application does nothing more than show me its man page- I have the correct command (I think) and the right syntax based on the man page, but when I can't figure out how to actually employ the tool. OS X keeps telling me the command isn't recognized. Help? Thanks!

Cooler Master Devastator KeyBoard Problem (LED Not Working In Some Guest OS)

$
0
0

Hello there before i used VMWare Workstation 10 that time my keyboard backlight led working just perfectly on guest operating systems. But after upgrading to VMWare 11 the led light (not even num lock) not working. The problem i am having is with Windows 10 and Ubuntu linux. But in windows server 2012 r2 it is working perfectly. In my keyboard i have to press scroll lock to enable keyboard backlight and without backlight i can hardly read a key. Can anyone please help me to resolve this issue? thank you?

ESXi 5.5 Cannot connect to Management Network

$
0
0

Hello Everybody,

 

I am brand new to VMWare - just installed ESXi 5.5 on two blade servers and trying to configure them and connect them to VSphere client however I am experiencing issues with the network connectivity. Doesn't matter what configuration I set up for management network I am not able to ping the servers or ping any of the other machines on my network. My network is in the 192.168.1.x range and there is DHCP server running. If I configure ESXi to use DHCP I see error that it couldn't connect to the DHCP server. If I configure it to use static IP I am still not able to ping any other machines.

I also tried using 10.1.0.x network by configuring VM with dual adapter but this one didn't work either.

Machines are working fine because if I install Windows or Linux on them they are able to connect to the network. Are there any specifics for configuring the management network on ESXi hosts?

Both machines are experiencing the same issue. Logs do not yield any useful information.

 

Best,

Toddy

Anyone use SNMP monitoring specifically with ESXi?

$
0
0

I'm looking at all options of monitoring within VMware. We have vCops and vCenter. Just trying to understand all options and get a better feel. vCops is a monster to learn and becoming more clear the more I use it. We currently use HP hardware and a custom ISO to build servers. I dread using 3rd party add-ons to hardware and wonder what built-in SNMP monitoring offers. I always like to ask people in the community their feedback on something like this. It's interesting to here from others. Secondly, at home I run a couple stand-alone desktops with the free VMware hypervisor. It rocks! I setup openNMS and wanted to monitor my home machines. I like to tinker discovering obscure features like SNMP. Monitoring is a passion of mine :) I've never used openNMS, I discovered I could import the VMware mibs. I hope to blog my experiences later on.


VM events for 'Guest Info Ip Address' changed

$
0
0

All,  I have seen these events in VCOPS and trying to dig into what they mean.  I have a MS SQL Cluster fail over occur near the same time.  Any insight on this meaning and where to find more info would be a help

 

Dec 28, 2014 10:10:52 AM Virtual Machine ################ SAAS-Datacenter ‘Guest Info IP address’ changed from 10.234.4.50 to 169.254.4.93


How do I make /tmp/VMwareDnD a separate disk

$
0
0

Mounted a separate nonpersistent disk at /tmp/VMwareDnD but it is not working, I cannot copy files from windows host to linux guest, only the other way round. What's the proper way to do in /etc/fstab?

 

Here's the relevant line in /etc/fstab that does not work:

 

/dev/sdd1 ext3 errors=remount-ro 0       0

 

What is the proper way to do it in /etc/fstab?

 

If it helps, I also tried

 

sudo chmod 777 /tmp/VMwareDnD

 

Now the permissions shown by ls -l are like this:

 

drwxrwxrwx 3 root root 4096 5 Jan   1  2014 VMwareDnD

 

But still I cannot copy from host to guest. What else could be wrong?

HOL-SDC-1425 - Unable to get DHCP Relay to work

$
0
0

I've tried this three times now, assuming that I'm somehow making a mistake when going through the lab - but every time, the PXE boot fails before (as expected) and after configuring the DHCP relay agent. Is anyone else having this problem?

Windows XP VM not recognizing 3D acceleration

$
0
0

Hi,

 

I'm running Ubuntu 14.04LTS with an onboard Intel HD 4600 graphics chip. GLXGears shows that it is running OpenGL 3D acceleration, but when I start XP under VMWare Player, I get a message that 3D acceleration is not supported, so we're unable to run a number of video games. I've Googled this to death without result. Can someone here please assist? Thanks.

There are no vCoud Air Labs

$
0
0

I cannot find vCloud Air Labs last few days. Please re-open such courses.

WDS didnt show deliverance on LOCAL LAN

$
0
0

I installed WDS , on MS server R2 Enterprise 2008 ,  My goal is to be able to deliver windows 7 installation through out the PXE Local Network ( laptop,Desktop), included LOCAL WMware client.   My host is a laptop .

Here the setting I used/installed :

Static IP 192.168.1.75

Server name : Ben WDS

DNS

Scope 192.168.1.1 -192.168.1.200

DHCP

File Transport

 

I am using the bridge connection on WMware and i am successfully ping from the server  to (example) www.yahoo.com

but  i cant ping the rest of the clients on the LOCAL network.  But my local clients able to ping my ip address 192.168.1.75

 

I tried different connection setting NAT , HOST only etc .. none of them , able to get me to the installation process through the PXE.

 

I really appreciate for the input , ive watching many videos on youtube and carefully analysis my setting. i seems missing something. Everything seems intact , network cards , everything works. on host laptop or the clients.

vSphere 6 Release Date ?

$
0
0


Hi,

 

Is there any idea when next version of vSphere will be released ?

 

Thanks


Jumbo Frames Question

$
0
0

I know jumbo frames have to be enabled on the Network side as well as the virtual switch.  What if they are enabled on the vDS but not on the Network side though?  I know you would not see a MTU of 9000 until it's enabled on both sides, but is there any down side of keeping it at a MTU of 9000 with the thought of enabling it in the future?  Or should both sides always match and if so why?  Thanks for the help.

Some VMs not showing in vcenter

$
0
0

I have two host running ESXi 5.0 which I have succesfully added to my vcenter (5.0 client and server).  However one of the hosts is missing 3 vm's from its inventory.  I can connect directly to the ESXi 5.0 server and see all vm's running.  I am sure it is not coincidence that these three servers are my only linux servers (canned Squid proxy servers).

 

1) I stopped and started the Vcenter server services.  same results.

2) I have removed and readded the host. same results, but I do want to note that during the add process I did see that all servers showed in the list of vm's running on the host.

 

Thanks for any help!

 

J

Is there a way to get the List of Hosts and its belonging Clusters at the vCenter Folder level in vsphere web client 5.5 plugin development ?

$
0
0

Hi,

I need to get the list of all hosts and its belonging clusters at the vcenter folder level.

1. I created a view giving the extension point: vsphere.core.folder.monitorViews.

2. After this step, I have written the below constraint in my Mediator class,

var ListConstraint:Constraint =

            QuerySpecUtil.createConstraintForRelationship( _contextObject,"childEntity");

I expected a list of all child entities like hosts,dc,cluster.. But I've got only the immediate child object that is only the datacenter as my result.

Is there a way to get all the hosts and Clusters at vCenter Folder level since I need the entire list at vCenter (top most level).

Other Info:

Folder Object has only two properties:

  1. childEntity - List of ManagedEntities

  2. childType - Type of folder ("Virtual Machine","Datacenter"...)

Is there a way to write a constraint specifying what list of childEntities I need using childType.

Example: Get me childEntities which has a childType of "Host" and "Cluster" but ChildType doesnt have these two types.

 

Also, at this level I could see the "Related Objects" tab that has all the information I need, like Clusters and Hosts in Cluster tab and Host tab respectively.

So I believe its possible to get this list at vCenter Folder level.

I have attached a screenshot representing the need. Kindly ignore the naming Conventions in it since I have edited the sample program shipped with sdk.


Query:

1. How can I get the Host and Cluster list (relation table) at vCenter Folder level or even at vise.global.view level ?

2. Once I get that list, is it possible for me to manipulate that list and send the new list to UI ?

3. Is there any other way to do the same without using Mediator and Model classes ?


Any pointers to this will be very helpful.

 

vCenterアラーム定義をPowerCLIにて抽出する方法について

$
0
0

<環境>

vCenter 5.5U1

vCenter用OS:Windows2012R2SP1

 

vCenterのアラームの設定情報をvSpherePowerCLIにて抜き出す方法を模索しております。

色々とドキュメントを探した結果、以下のスクリプトでアラームとアラームタイプの一覧を取得することが可能であることは確認出来ました。

※アラームタイプ=「CPU使用率や電源状態など、特定の条件または状態を監視」 or 「仮想マシンのパワーオンなど、このオブジェクトで発生する特定のイベントを監視」

 

 

$alarmMgr = Get-View AlarmManager

$alarms = $alarmMgr.GetAlarm($entity.Extensiondata.MoRef) | %{Get-View $_}

$alarminfos = $alarms.info

foreach ($alarminfo in $alarminfos) {

Write-output $alarminfo.Name

}

 

 

#結果抜粋#

Name                                    Expression

----                                    ----------

ホストの接続とパワー状態                VMware.Vim.AndAlarmExpression

セカンダリ仮想マシンの起動のタイムア... VMware.Vim.OrAlarmExpression

vSphere Replication RPO violation       VMware.Vim.OrAlarmExpression

セカンダリ仮想マシンに適合するホスト... VMware.Vim.OrAlarmExpression

 ・

 ・

 ・

 

 

 

 

 

 

次に、定義毎のトリガーを取得しようと以下のスクリプトを試したのですがトリガの情報が上手く出力されませんでした。

 

 

$alarmMgr = Get-View AlarmManager

$alarms = $alarmMgr.GetAlarm($entity.Extensiondata.MoRef) | %{Get-View $_}

$alarminfos = $alarms.info

foreach ($alarminfo in $alarminfos) {

$alarminfo | select-object Name,Expression

$alarminfo.expression.expression

}

 

 

#結果抜粋#

Name                                    Expression

----                                    ----------

ホストの接続とパワー状態                VMware.Vim.AndAlarmExpression

 

 

 

 

セカンダリ仮想マシンの起動のタイムア... VMware.Vim.OrAlarmExpression

 

 

vSphere Replication RPO violation       VMware.Vim.OrAlarmExpression

 ・

 ・

 ・

 

 

 

 

 

試しに、トリガのみを出力させたところ綺麗に出力されました。

 

 

 

$alarmMgr = Get-View AlarmManager

$alarms = $alarmMgr.GetAlarm($entity.Extensiondata.MoRef) | %{Get-View $_}

$alarminfos = $alarms.info

foreach ($alarminfo in $alarminfos) {

$alarminfo.expression.expression

}

 

 

#結果抜粋#

Comparisons     :

EventType       : EventEx

EventTypeId     : com.vmware.vc.HA.VcCannotFindMasterEvent

ObjectType      : ClusterComputeResource

Status          : red

DynamicType     :

DynamicProperty :

 

 

 

Comparisons     :

EventType       : EventEx

EventTypeId     : com.vmware.vc.HA.VcConnectedToMasterEvent

ObjectType      : ClusterComputeResource

Status          : green

DynamicType     :

DynamicProperty :

 ・

 ・

 ・

 ・

  

 

 

 

 

 

ここまでで、AlarmInfoオブジェクトのExpressionプロパティの値を上手く出力出来ていないように思えるのですが、何故こうなるのかが全く見当が付きません。

vSphereドキュメントセンターにてAlarminfo、AlarmExpressionオブジェクトのリファレンス等も確認したのですが、プロパティの関連性についてうまく理解が出来ず困っております。

 

 

最終目標は、Excel等で加工可能な形で、現状のアラーム設定を一つのスクリプトにて抜き出せればよいと考えております。

 

 

上記のスクリプトの動作について何かわかることがあれば教えてください。

また、Alarm関連情報をPowerCLIにて抽出する方法について上記以外にも方法がありましたら教えてください。

Workstation 11 critical error with certain OSes

$
0
0

Hey everyone.  I keep getting an error when I try to run virtual machines of certain guest OSes..... For example When I try to run a Windows Vista machine to install it I get this error:

 

VMware Workstation unrecoverable error: (vcpu-0)

 

 

vcpu-0:VERIFY vmcore/vmm/main/cpuid.c:382 bugNr=1036521

 

 

A log file is available in "C:\Users\Gabe Griggs\Documents\Virtual Machines\Windows Vista\vmware.log". 

 

 

You can request support. 

 

 

To collect data to submit to VMware support, choose "Collect Support Data" from the Help menu.

 

 

You can also run the "vm-support" script in the Workstation folder directly.

 

 

We will respond on the basis of your support entitlement.

 

I also get the same error When I install a Windows 98 OS.  If you want me to collect support data I can.

Viewing all 179681 articles
Browse latest View live


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