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

Re: vCenter 5 installation error

$
0
0

I came across the error - The Microsoft SQL Server Express Edition installer returned error code '2226847745'.

In this instance it was all my fault ; I was setting up a lab in VMware Workstation and feeling lazy so decided to skip sysprep-ing my VMs - big mistake! (2 x DCs & 2 x VCs all cloned from the same 2008R2 template without a sysprep!)

Worked fine when I decided to do the job properly!


Re: Major performance issue on SAN.

$
0
0

Ohh wait! how things have changed during the weekend! so now I'm really confused.  My write still sucks regardless but read is now worse than write! my write (Random) is at 50-70MB a sec and read is at 1MB-7MB on three guests I tested with.  1MB on two of the three.  I wonder if the weekend backups/dumps could have done something to the cache maybe? I don't know...this is strange. I usually do these tests during the week but I wanted to get you guys some more data today.

 

Also, on one of the servers I was the only guest going against the data store and esxtop had very little KAVG (under .5, No queueing but DAVG/GAVG was there in 10-15 range.

 

 

Andy

Re: Automatically pause all VMs when host goes to sleep?

$
0
0

Are the  guests local  or shared?

Separating VMDKs what are the draw backs?

$
0
0

We are redesiging our vSphere environment, there's disgussion about splitting VMDKs onto different LUNs of different tiers. I've been reading this is not a recommended practice. I've attempted to locate this using google but I haven't found any hard and fast rules.

 

I'm looking for the features that you loose when seperating the disks on separate LUNs.

 

As a side note we are an IaaS company and I'm concerened about the management of seperating client information over various LUNs. We also would like to leverage SDRS.

 

Thank you kindly,

Steven

database connection has failed vm-sso-javalib.log

$
0
0

Trying to upgrade vcenter 4.0 to 5.1,

 

trying to intsall signle sign on , created db and users using script, but getting error:

 

database connection has failed vm-sso-javalib.log

 

 

log have following error:

 

Initialize values of user DBA user RSA_DBA , other user RSA_user
[2013-04-14 15:19:46,169] INFO     5[main] - com.vmware.vim.installer.core.logging.CoreLoggerImpl.info(?:?) - DB information jdbcUrl:jdbc:sqlserver://;serverName=*******;port=1433;databaseName=RSA type: Mssql userName:RSA_DBA
[2013-04-14 15:19:46,635]ERROR   471[main] - com.vmware.vim.installer.core.logging.CoreLoggerImpl.error(?:?) - Failed to established connection :com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'RSA_DBA'.
[2013-04-14 15:19:46,635] INFO   471[main] - com.vmware.vim.installer.core.logging.CoreLoggerImpl.info(?:?) - could not close JDBC connection

 

 

within SQl 2008 sp2 db all ports are already set to 1433, what next to be tried ?

Re: Auto Deploy - Unable to properly boot ESXi 5.1 properly on HP Blade Servers

$
0
0

I was trying to solve the problem all week long (different profile options, image profiles, hosts and so on) - no results there. Ended up with writing PowerCLI script that fully automates host configuration.

 

Pieter, I think there is no problem with any option itself cause I've unticked all the options and host still doesn't boot properly. So I think it's a VMware bug.

 

Thanks aaron for help. Not found how to give you a star.

Re: VCAP5-DCA test available in Costa Rica?

Keyboard not working properly - Wrong Characters & Caps Lock REVERSED

$
0
0

I have found some weird behavior of the keyboard (Spanish ISO) on Mac OS X Server 10.6.8 (Snow Leopard Server) on VMware Fusion 5.0.3 on OS X 10.8.3 (Mountain Lion):

 

1. In all cases on Snow Leopard Server, the key with the greater than (>) and less than (<) characters (placed on the left of the Z key) types the characters corresponding to the key (placed on the left of the 1 key) with the small o (º), small a (ª) and backslash (\), and vice versa. The other keys work as expected.

 

2. The Caps Lock (placed on the left of the A key) usually works as expected, but is REVERSED sometimes (ie., lowercase is typed as capital and vice versa). For instance, when entering the login password on Snow Leopard Server at "Apple - System Preferences - System - Accounts - Click the lock to make changes".

 

No problem when typing in OS X 10.8.3.

 

How to fix that?

Thanks.


Network cable unplugged problem when running multiple machines

$
0
0

When number of simultanious running machines exceed ~30, newly started machines report "Network cable unplugged" and when I try to connect it manually, it fails, saying "Could not connect Ethernet0 to virtual network "/dev/vmnet8". More information can be found in the vmware.log file"

 

vmware.log reads

 

2013-04-14T22:31:06.766+01:00| vmx| I120: VMXVmdbEditRemDevices: Reconnect of ethernet0 would be delayed.
2013-04-14T22:31:07.002+01:00| vmx| I120: VMXVmdbSetCfgState: reconnect delay = 5 seconds, reconnectEthVector = 0x1, poll cb status = 0.
2013-04-14T22:31:07.002+01:00| vmx| I120: TOOLS received request in VMX to set option 'synctime' -> '0'
2013-04-14T22:31:07.409+01:00| vmx| I120: VMXVmdb_SetCfgState: cfgReqPath=/vm/#_VMX/vmx/cfgState/req/#c2/, remDevPath=/vm/#_VMX/vmx/vigor/setCfgStateReq/#d70/in/
2013-04-14T22:31:12.424+01:00| vmx| I120: VNET: MACVNetPortOpenDevice: Ethernet0: can't open vmnet device (Device or resource busy)
2013-04-14T22:31:12.425+01:00| vmx| I120: VNET: MACVNetPort_Connect: Ethernet0: can't open data fd
2013-04-14T22:31:12.425+01:00| vmx| I120: Msg_Post: Warning
2013-04-14T22:31:12.425+01:00| vmx| I120: [msg.ethernet.connectionType.connectFail] Delayed connect of network adapter ethernet0 has failed. Please connect it manually by editing virtual machine settings.
2013-04-14T22:31:12.425+01:00| vmx| I120: ----------------------------------------
2013-04-14T22:31:12.429+01:00| vmx| I120: Msg_Post: Error
2013-04-14T22:31:12.429+01:00| vmx| I120: [msg.vnet.connectvnet] Could not connect Ethernet0 to virtual network "/dev/vmnet8". More information can be found in the vmware.log file.
2013-04-14T22:31:12.429+01:00| vmx| I120: [msg.device.badconnect] Failed to connect virtual device Ethernet0.
2013-04-14T22:31:12.429+01:00| vmx| I120: ----------------------------------------
2013-04-14T22:31:26.512+01:00| vmx| I120: VNET: MACVNetPortOpenDevice: Ethernet0: can't open vmnet device (Device or resource busy)
2013-04-14T22:31:26.512+01:00| vmx| I120: VNET: MACVNetPort_Connect: Ethernet0: can't open data fd
2013-04-14T22:31:26.512+01:00| vmx| I120: TOOLS received request in VMX to set option 'synctime' -> '0'
2013-04-14T22:31:26.603+01:00| vmx| I120: Msg_Post: Error
2013-04-14T22:31:26.603+01:00| vmx| I120: [msg.vnet.connectvnet] Could not connect Ethernet0 to virtual network "/dev/vmnet8". More information can be found in the vmware.log file.
2013-04-14T22:31:26.603+01:00| vmx| I120: [msg.device.badconnect] Failed to connect virtual device Ethernet0.
2013-04-14T22:31:26.603+01:00| vmx| I120: ----------------------------------------

Create and mount virtual USB flash drive

$
0
0

Hello,

 

I use VMware Workstation 9 for a lab environment on my laptop. As an IT engineer who builds and manages operating system deployment (OSD) processes, I need the ability to test out certain processes using USB flash drives. Unfortunately, I do not always have a USB flash drive available to test with. It would be very convenient if I had the ability to use VMware Workstation to create a virtual USB flash drive, rather than requiring me to have a physical USB flash drive to use.

 

Is this a possibility?


Cheers,

 

Trevor Sullivan

http://trevorsullivan.net

http://twitter.com/pcgeek86

Re: Некорректно удаленный LUN

Power cli stats

$
0
0

Hey Guys,

 

I am trying to write a script where I take a datacenter in vcenter - check if its a cluster and then depending on the reply (if stand alone hosts or if a cluster) pull last months avg cpu, max cpu, avg memory and max memory consumption to that cluster or the hyp.

 

Now I know get-stats is a cmdlet that I can use to do that but I am not sure if it does avg cpu and max cpu and avg memory and max memory.

 

I need to write this script to run through different datacenters that are all listed in a excel file.

 

Please advice on the command let usage with some basic layman examples.

 

 

Thanks

RJ

Re: vCD 5.1 networking deployment errors

$
0
0

Kia Ora.

 

Yea it was one of the two passwords, either vShield to vCenter or vCloud to vShield. Changed both and waited.

 

Thanks for the assistance. Off to resolve the next problem =)

 

have a great day.

Re: Power cli stats

$
0
0

To read the Excel file you can use the Import-Csv cmdlet, provided the file is in CSV format.

Otherwise you might want to take a look at Gilbert's Import-Xlsx function.

 

What filetype is the file and what exactly is in there ?

 

The average metrics are most of the time available when you run in Statistics Level 1.

For the Max values you might require a higher Statistics Level.

See my PowerCLI & vSphere statistics – Part 1 – The basics for some more info on this.

You will also find several examples in that series of posts.

Re: Power cli stats

$
0
0

Thanks Luc,

 

Its a excel file with datacenter names and customer names.

 

I just got done reading your part-1 thanks its awesome.

 

In that -

 

Get-Stat-Entity(Get-VMHost$esxName) -Statcpu.usage.average -Start(Get-Date).AddDays(-4) -FinishGet-Date).AddDays(-3) | where{$_.Instance -eq""}

 

 

Here when you say Adddays -4 and finish with -3, I don't understand what the math is. Is it that you are taking today's date adding 4 and then removing 3? For my script I wanted a 30 day average. So will that be adddays(-60) and finish at -30?

 

Also instead of pulling all the cpu.usage.average - how do I sort to get the max average value. May be I might use the cpu.max value and sort and pick the highest.

 

I want to eventually say - you have 60ghz of cpu and your 30 day cpu max was 10% .. makes sense?

 

Thanks man.

RJ


Re: Odd link aggregation problem

$
0
0

hypercat wrote:

 

Perhaps you can explain in more detail what you mean by it being a "small advantage."

 

It is a quite small advantage over the default policy called Port Id.

 

With the Port Id NIC teaming policy you will get a decent load balancing over the VMs, you will get fault tolerance, you have the possibility to connect to two physical switches for increased network redundancy and you need no specific Link Aggregation setup at the pSwitches.

 

For IP Hash the only advantage is that a single VM could, if having multiple connections with different outside IP hosts, use both vmnics (physical nic ports) at the same time, where on Port ID a single VM only uses a single vmnic. The disadvantage is that it does not allow standard based connections to more than one physical switch, it is critical that both vSwitch and physical switch are correctly configured as a static LAG.

 

In your case it does seems like that physical switch is not setup the way it should to work with vSphere IP Hash, making this strange connection losses happens. From that my first question was if you does in fact really need the IP Hash or if going back to Port Id would be a good enough setup.

Why Failed to clone disk: There is not enough space on the file system for the selected operation (13).

$
0
0

The Situation:
1.  We have two SuperMicro servers running ESXi 5.1, and do cross-backups each night between the servers using vkmfstools.  Each server has Windows 2003 Server VM running  Windows Services for UNIX Version 3.5, each with a system virtual hard drive, and a data virtual hard drive, which is an NTFS compressed volume that is shared NFS.  All VMs are thin.  This has combination has worked fine since 2008.  Using this method I can store backups in 1/5th of their THIN size.

 

2.  Recently, I did a hardware refresh making both servers the same model as the most powerful server we had before, except I added a second 6-core processor, doubled the memory to 12 GB, changed to a RAID-10 with 2 TB of drive space, and moved from ESXi 4.0 to 5.1.  I expanded the NFS volumes / vmdk on both servers to 500 GB to allow for more backups.

 

The Problem:

1.  When Server2 backs up fine to the NFS volume on Server1, the clones go fine.  However, when Server1 backs up to Server2, the largest VM (55GB thin and 80GB declared, fails at ~90% point on each attempt, even if I clear space, which it shouldn't need as the drive only has about 51GB of data on a 500 GB NFS volume, and the ESXi VMware Client shows the same amount of free space no matter which server I check it from.

     Destination disk format: VMFS thin-provisioned
      Cloning disk '/vmfs/volumes/datastore1/my_vm/my_vm.vmdk'...
      Clone: 90% done.Failed to clone disk: There is not enough space on the file system for the selected operation (13).

All of the other VMs after it backup fine.  It only fails on the larger VM, but I can back it up fine to a local directory.

 

Observations:
- I made a new secondary vhd at 500 GB.  It worked for a while, but when I went to add more I ran into the same problem.
- I made a new secondary vhd at 1024 GB and the same thing happened.
- I ran chkdsk /r on it and it showed bad clusters.  Then I did it on the macnine that works fine, and it shows the same thing.  I can run chkdsk /r 50 times on each machine and it makes no difference.  The only place it shows bad clusters is with the thin .vmdk backup files.
- After running chkdsk /r, I can backup again, even though the size used on disk doesn't change.  However, one of the features of chkdsk /r is to re-calculate free space.

 

Thoughts:
- It's odd that one machine has the problem and not the other, and why I haven't had the problem for the past 4 1/2 years.  The only notable difference is one of them has a 55 GB thin .vmdk, which is somewhat larger than the others.  Other than that, the two Windows machines are the same, in fact when set up, one was a copy of the other.

- It seems when I copy thin .vmdks to the Windows 2003 NFS volume, it confuses it Windows.  I can see where it could since it states it's a different size than the number of blocks it actually has.  However, I didn't have this problem  before.  When I run chkdsk /r, the last thing it does is recompute free space.  That is probably why I can backup again.

 

Question:  Does anyone know there is a definitive answer out there somewhere as to what is going on, and what the cure is, if any?

No option to upgrade esxi 4.1 to 5.1 after fixing state.#### issue.

$
0
0

I am updating from ESXi 4.1 to ESXi 5.1 using a local CD.

 

In the first attempt I got the option to upgrade,  but at 24% got: [Error 39] Directory not empty ....state.12992.  follow these instructions to fixed it: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2007163.

 

Now after rebooting and boot from 5.1 CD, there is no option to upgrade:

 

I just get these two options:

 

Install ESXi, preserve VMFS datastore
Install ESXi, overwrite VMFS datastore
4.1 was a clean install a few years ago.
Thanks in advance,

Re: CloudCred Team?

VMware View Powercli Get-EventReport return no data

$
0
0

Hello here,

 

I try to make an error reported script from the event of a Horizon VMware VIew.

So, first i tried to retrieve the event log with this PowerCli command

Get-EventReport -ViewName user_events -StartDate ((Get-Date).Adddays(-1))

But this command return no output object.

It seems the command cannot retreive the event from database , how can i debug this please ?

 

I use Powercli for VMwareVIEW horizon 5.2.

The cmdlet was tested directely from the connection server.

 

Thank you.

Viewing all 234493 articles
Browse latest View live