Quantcast
Channel: VMware Communities : Popular Discussions - ESXi
Viewing all 24437 articles
Browse latest View live

Question about sharedPolicyRefCount setting

$
0
0

We have 4 servers in a cluster running ESXi 4.1 U2. I was checking the profile on each host in vSphere and discovered two servers have a Config.GlobalSettings.guest.sharedPolicyRefCount setting of 0 and 2 servers are set to 1. I haven't been able to locate any info about the setting, how to determine an appropiate value, or even a default value. Does anyone have any information?

 

 

Thank you,


LSI SAS error?

$
0
0

Hello all. I've been running an evaluation version of ESXi [5.1] at my company, as we're trying to move torwards a more professional virtualization solution. I have a R515 however that doesn't seem to be able to work with VMware. I can add it as a host, but whenever I try to make a new VM on it, or move a VM to it, it just sits there for over an hour, then says Disconnected. I did some poking around on the forums here and found out how to turn on the shell and SSH, then went in to look at the dmseg. I found the following (apologies for the wall of text):

 

2013-03-13T08:28:39.108Z cpu3:13162)WARNING: LinScsi: SCSILinuxAbortCommand:1949:The driver failed to call done from itsabort handler and yet it returned SUCCESS
2013-03-13T08:28:39.108Z cpu3:13162)WARNING: LinScsi: SCSILinuxAbortCommands:1816:Failed, Driver LSI Logic SAS based MegaRAID driver, for vmhba2
2013-03-13T08:28:39.305Z cpu3:13162)megasas: ABORT sn 7723822 cmd=0x2a retries=0 tmo=0
2013-03-13T08:28:39.305Z cpu3:13162)<5>0 :: megasas: RESET -7723822 cmd=2a retries=0
2013-03-13T08:28:39.305Z cpu3:13162)<3>megasas: cannot recover from previous reset failures
2013-03-13T08:28:39.305Z cpu3:13162)WARNING: LinScsi: SCSILinuxAbortCommand:1949:The driver failed to call done from itsabort handler and yet it returned SUCCESS
2013-03-13T08:28:39.305Z cpu3:13162)WARNING: LinScsi: SCSILinuxAbortCommands:1816:Failed, Driver LSI Logic SAS based MegaRAID driver, for vmhba2
2013-03-13T08:28:39.630Z cpu3:13162)megasas: ABORT sn 7723825 cmd=0x2a retries=0 tmo=0
2013-03-13T08:28:39.630Z cpu3:13162)<5>0 :: megasas: RESET -7723825 cmd=2a retries=0
2013-03-13T08:28:39.630Z cpu3:13162)<3>megasas: cannot recover from previous reset failures

 

 

There's pages and pages of that It's a good server, before I put ESXi on it the uptime was 16 months. I would like to use this server for VMs but don't know if this is something that can be fixed or not. Is this just incompatability, or is the SAS card failing because of ESXi? It's a Dell H700, so I imagine that's a fairly popular (and supported) card.

Broadcom iSCSI Adapter - BCM 5709 not working with iSCSI

$
0
0

 

Hi All

 

 

I testing new ESXi on my server Dell R710  with 4 TOE port BroadCom Ethernet adapter.

 

 

000:001:00.0 Network controller: Broadcom Corporation PowerEdge R710 BCM5709 Gigabit Ethernet

000:001:00.1 Network controller: Broadcom Corporation PowerEdge R710 BCM5709 Gigabit Ethernet

000:002:00.0 Network controller: Broadcom Corporation PowerEdge R710 BCM5709 Gigabit Ethernet

000:002:00.1 Network controller: Broadcom Corporation PowerEdge R710 BCM5709 Gigabit Ethernet

 

 

This ethernet device have support for dependent BroadCom iSCSI Adapter.

 

 

when I configure vmk and NIC with vmhba34 - then iSCSI not working

 

 

when I configure vmk and NIC with Software iSCSI Adapter iSCSI working for me.

 

 

pleas see image:

 

 

 

 

 

and esxcli configuration for vmhba34

 

 

 

 

 

Does anyone have a similar problem and knows how to solve this?</span>

 

 

Tom

 

 

 

 

USB passthrough to ESXi 4.1.0 on Dell PowerEdge T610

$
0
0

Hello

 

I'm struggling with provisioning USB ports to VMs on our company server. We have an APC SmartUPS 1000 that needs to be controlled by the PowerChute software in order to email notifications that power is out and shut down the VMs when this occurs. We also have a USB thermometer on the way (has been purchased, but not delivered yet) to monitor the temperature in our server room and email notifications when it becomes too high.

 

I've tried to follow the instructions on a website that outlines exactly how to achieve this process (http://vninja.net/virtualization/using-usb-pass-through-in-vsphere-4-1/) but at the step where the author of the web page adds a specific USB device, I can only add a USB Controller. Even with the controller present, I cannot plug USB devices into the server and have them installed on either of the VMs. Our main VM also has two serial ports allocated, and neither works in terms of finding the attached APC UPS.

 

Could somebody please provide the configuration steps to provision successfully provision USB ports to a VM? Please let me know if you need any more information on the setup.

 

Kind regards

Adrian

ESXi 4.1 U1 VMs somehow changing from thin to thick?

$
0
0

I have been creating all my VMs as Thin and I just noticed that some of them have turned into Thick. I haven't cloned or moved any of them. At most I have been using Snapshots on some of them. But I didn't look right after snapshots so I don't know if that is what caused it.


I am worried that they are changing on their own. If it's because of snapshots, is there anyway around that? And if I delete the snapshots will that let them go back to thin?

 

If any more turn into thick, I am in trouble as I have been using thin to over provision.

 

Using ESXi 4.1 U1 installable, on a Dell R710 with internal SAS array. Thanks.

ESXi 4 invalid argument

$
0
0

Hi

I'm new here and really hope, you can help me.

I have a ESXi 4.0.0 installed on IBM blade server HS22. Virtual machines are stored on IBM storage.

 

Some time ago, power on the storage system was lost while one virtual machine was running. From that point, I can't access this virtual machine.

 

In vSphere, it was liste as Unknown. After following one Community discusion, I removed it from Virtuals Inventory and wanted to include it again throught browsing Datastore. I see all files, so I located the .vmx file and wanted to Add it to inventory, but the option is grayed out.

 

So after some search, I logged throught ssh to server and wanted to copy the Virtual Machine files to another storage, just to have backup. During copy, I got an error on multiple files including .vmx, -flat.vmdk and all -delta.vmdk files...all files that are locked during virtual machine running. The error message was:

 

cp: can't open 'xxx': Invalid argument

 

I'm getting the same errors when I try to copy the files throught scp client.

 

I searched and tried a lot of things, but still no change.

 

I'm just thinking, that the files still have some "locked" flag set up and that the file system doesn't allow access to them.

 

Can anyone point me to some direction?

 

Thanks

Internal dual SD module and Dell PE R710?

$
0
0

I know this really has nothing to do with VMware, so please tolerate.

 

I had bought a Dell PE R710 several months ago.  After that, I've learned the existence of IDSDM (Internal Dual SD Module) for R910 server.  Of course, I'm not going to buy R910.  I know there's an internal single SD module for R710, but nothing is said about the compatibility of the dual SD module with R710.  So I'd like to know if anybody here has tried to make them work together and got a "success story".  Thanks.

How to trigger NTP client to sync time?

$
0
0

I have an internal NTP server in the LAN (so there's no need to configure any firewall for this matter) but my ESXi 4.1U1 servers are totally out of time (3 to 5 minutes).

 

I've tried to restart the NTP client n times but the time is still not synch'ed.

 

Of course, I could manually change the time but what's the point to have the NTP client if we have to do it manually?

 

Is there any command (through SSH) to trigger the time-sync?

 

TIA


ESXi 4.1, md3000i, Path Redundancy failures

$
0
0

I inherited a vsphere 4.1 environment attached to two MD3000i's. One of the md3000i's functions flawlessly, and both did before I made changes to the second.

 

Last month, I decommissioned the 10 LUNs served by the second SAN. I created 5 new LUNs, and served them to my cluster.

 

The datastore shows up, has paths over each of the SAN vmks, and looks fine.

 

This month, I created new guests living on the datastore. When there is any sort of IO in the guest on this datastore, I get an email of the following.

 

([Event alarm expression: Lost Storage Connectivity] OR [Event alarm expression: Lost Storage Path Redundancy] OR [Event alarm expression: Degraded Storage Path Redundancy])

 

Occasionally I also receive:

Issue detected on esx03 in datacenter: ScsiDeviceIO: 2368:Failed write command to write-quiesced partition naa.60024e800070282800004dd04f7c6bf0:1

(34:06:21:27.996 cpu15:4438724)

 

The host logs:

Jun  7 07:26:43 esx03 vmkernel: 34:06:21:27.996 cpu15:4438724)Fil3: 1035:  Sync WRITE error ('') (ioFlags: 16) : IO was aborted
Jun  7 07:26:43 esx03 vmkernel: 34:06:21:27.997 cpu4:6566)Fil3: 1035:  Sync READ error ('.fbb.sf') (ioFlags: 8) : IO was aborted by VMFS via a virt-reset on the device
Jun  7 07:26:43 esx03 iscsid: Kernel reported iSCSI connection 9:0 error (1017) state (3)

Jun  7 07:26:43 esx03 vmkernel: 34:06:21:28.717 cpu7:4103)ScsiDeviceIO: 1688: Command 0x2a to device "naa.60024e800070282800004dd54f7c6cbe" failed H:0x2 D:0x0 P:0x0 Possible sense data: 0x0 0x0 0x0.
Jun  7 07:26:43 esx03 vmkernel: 34:06:21:28.717 cpu7:4103)NMP: nmp_CompleteCommandForPath: Command 0x2a (0x41027efd8340) to NMP device "naa.60024e800070282800004dd54f7c6cbe" failed on physical path "vmhba33:C0:T1:L45" H:0x2 D:0x0 P:0x0 Possible sense data: 0x2 0x3a 0x1.

(plenty more of the same, for multiple LUNs)

 

After receiving that error, I can see visible path failures in the VIC. Shortly, within say 4 minutes, those errors clear up, and all the pathing registers as happy. The guests running on that datastore don't seem to notice any blips or problems.

 

VMware support said talk to my storage vendor.

Dell support diagnosed a failed controller [0,1], and replaced it.

The problems continue.

 

I have walked through the Dell md3000i setup guide for using iscsi and ESXi to verify my configuration.

I have continuous vmkpings between all hosts and the san controllers.

I have the current firmware for the san controllers.

I have the current 4.1 patches installed on all hosts.

I have switched hosts, switched paths, tried both MRU and RR, and the errors continue.

 

I'm hoping for community sugggestions, or maybe other dell md3000i customers who have run into similiar can tell me what I'm missing.

 

Thanks.

Host error message - IDT: 1795: 0xfb received but not set up

$
0
0

Hi all

 

I have been recieving this message recently on one of my hosts. I am having difficulty tracking down exactly what this mean.

 

IDT: 1795: 0xfb received but not set up.

 

Does anybody know?

 

Thanks

How to recover deleted files "vmdk" on a vmfs partition ?

$
0
0

Hello,


I've a problem. after deleting vmdk files on a vmfs partition with "rm". I search a solution to recover

them. Do you have an idea ?

 

thank you

 

Didier

Changing ESXi Syslog from verbose

$
0
0

Hi all Gurus,

 

I have tring to change the default log level in ESXi 4.1.0 version 348481.

 

I already read a lot off stuff about the subject, but unfortunately I cannot get this accomplished.

 

Steps:

 

- Read this http://virtirl.com/?p=56 and this http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004795 .. etc ...

 

- Alter the configuration:

   <log>
      <!-- controls where rolling log files are stored -->
      <directory>/var/log/vmware/</directory>

      <!-- name of log file -->
      <name>hostd</name>

      <!-- controls whether logger sends its output to console also -->
      <outputToConsole>false</outputToConsole>

      <!-- If true, log to files on disk -->
      <outputToFiles>true</outputToFiles>

      <!-- default size(in bytes) of each log file before rolling over to next -->
      <maxFileSize>524288</maxFileSize>

      <!-- default number of log files to rotate amongst -->
      <maxFileNum>8</maxFileNum>

      <!-- default log level -->
      <level>none</level>

      <!-- If true, logs to syslog -->
      <outputToSyslog>true</outputToSyslog>

      <!-- syslog configuration.  Only used if outputToSyslog is true. -->
      <syslog>
         <!-- syslog identifier to use when logging -->
         <ident>Hostd</ident>

         <!-- syslog facility to use when logging -->
         <facility>local4</facility>
      </syslog>

   </log>

   <!-- Log level configuration (Rules are applied in order) -->
   <level id = "1">
      <logName> PropertyProvider </logName>
      <logLevel> info </logLevel>
      <prefix> false </prefix>
   </level>

   <level id = "2">
      <logName> SoapAdapter.HTTPService </logName>
      <logLevel> info </logLevel>
      <prefix> false </prefix>
   </level>

 

- Restart the hostd

- reboot the physical host

 

But I keep getting the info level in the /var/log/messages

 

I 'am open to ideas, any one have a clue what maybe the problem in this ?

 

 

Regards

lun input/output error

$
0
0

hi,

 

 

we have some problems with a lun. each attemtpt to start a vm, which use this lun, ends with following exception:

 

 

 

Failed to open '/vmfs/volumes/4c5a5ebd-a904712c-0032-001517ce8e38/icg4aida/icg4aida-flat.vmdk' : Input/output error

 

or

 

Cannot open the disk '/vmfs/volumes/4c5a5ebd-a904712c-0032-001517ce8e38/icg4aida/temp.vmdk' or one of the snapshot disks it depends on.

 

 

 

is there a tool to check the lun and if yes repair it?

 

 

we tried to remove the lun and reattach it, but we can not remove it,because it is shown as busy.

 

 

there are also strange things when we want to view the storage in vcenter gui. in the vm we had the storage attached to (in the past) we can see it under the devices tab but not in the storage tab. On the other two servers we see the lun in both tabs.

 

we are using esxi4.1 on a intel modular server

 

 

 

hope you can follow my explainations and thanks in advance

 

 

 

gruss juergen

Could not power on VM : Invalid metadata - storage

$
0
0

Hi,

 

I am new at this forum and I have problems starting VM. My configuration of esx 4.1 is :

- two host in cluster ( esx1 and esx2 ) HA

- datastore is on DELL MD storage conected via ISCSII

 

When I try to start VM on esx1 I get this error:

 

Failed to power on VM

Could not power on VM : Invalid metadata.

 

If I migrate host to esx2 the VM power ON without any errors. When the VM is on I can migrate host back to esx1 and it works normaly until first shutdown. Then I have to repeat the procedure.

 

Can you help me to resolve this problem ?

 

 

Thanks,

 

Alan

vmrun.exe error Error: Insufficient permissions in host operating system

$
0
0

Hi,

 

Does anyone  have a listing of errors that vmru.exe produces and what they mean?

 

 

I have this error  Error: Insufficient permissions in host operating system when I try to remote start a vm. What is this?

 

 

 

 

Regards,

 

 

 

Garry


VM reset, stuck at 95%

$
0
0

It happens every now and then that a VM will crash, completely, to a point I can't move the mouse on the console.

My normal reaction is to do a reset on the VM.

Today I did this and the reset action got stuck at 95% and now I can't do anything with the VM in question.

 

This particular incident turned into a problem, as the uptime of the VM was of importance, I had to resort to the replica of the VM that was created last night.

 

Now, the process of resetting the first VM is still at 95% and I assume it will stay this way until I restart the ESXi host.

Is there a way to kill this process, or perform any action that will save me from having to restart the host?

This would be valuable, if it were to happen again I don't want to have to power on a replica (this should be the last resort, really) if it turns out I can get around it some other way.

 

Thanks

NFS Multipathing within ESXi? Possible?

$
0
0

 

Hi community

 

 

I set up a redundant storage system (active-active) and did not find any information about NFS multipathing within ESXi. Is that possible? I only read about Multipathing with iSCSI, which is apparently possible.

 

 

Is there anywhere information about that?

 

 

Thanks,

Daniel

 

 

Repair a Virtual Drive?

$
0
0

All of my virtual drives on one of my Physical drives, some how got corrupted. Luckly is was a secondary drive, so it wasn't to bad of a data loss but I would like the data back.

 

As far as I could tell the physical drive is ok, I ran a scan on the drive and it came up ok.  On the Physical drive can see all of the folder and the files on the drive, but I just can't open any of the virtual drives or copy them.

VM event viewer message

$
0
0

I'm seeing the below msgs in event viewer...

 

The "vmGuestLibrary" is successfully initialized for this Virtual Machine.

 

The "vmStatsProvider" is successfully initialized for this Virtual Machine. WMI namespace: "root\cimv2".

 

any ideas about these msgs? nothing has changed.  ESXi 4.1.

 

thanks.

ESXi 4.1 update 3 install error - vmfs module failed to load

$
0
0

I downloaded the latest ESXi 4.1U3 ISO to install on a brand new Dell R720 host & I recieved the following error at the begining of the install...VMFS module failed to load

 

There are 4 network adapters, all Broadcom Gigabit Ethernet BCM5720

Viewing all 24437 articles
Browse latest View live


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