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

Re: ESXi 5.5 heartbleed patches---question

$
0
0

Thank you very much. I wonder if VUM makes the distinction. I will have to check my other clusters that use VUM.


Get VM Guest disk Information for specific VMDK(from Get-Harddisk)

$
0
0

Hello everybody,

 

please i need your help.

 

I'm trying to get disk information from specific disks in datastores, for example:

 

I have VM with 3 HardDisks, each disk on different datastore,

Hard disk 1 - on datastore named "Datastore1"

Hard disk 2 - on "datastore2"

hard disk 3 - on "datastore3"

 

if i do get-hardisk -vm $vm ,i get the 3 disks with their capacity and the filename(on which datastore location they are)

now when i do $vm.guest.disk i get the disks with their capacity,used and free space but there is no relation between the hard-disk number(vmdk filename) to the $vm.guest.disk results

 

My question is how can i get guest disk information e.g (used,freespace etc) by specific hard-disk/vmdk

 

like for example(sure it not work but just for the demonstration) -

get-harddisk "hard disk 1" | $vm.guest.disk ( so the result will be just for the specific disk )

 

the target is to get guest disk information for "physical" vm disks(vmdk's) one by one-

i hope i explained myself well and you understand it.

(as you can see in the attached image-the order of the vmdisks and the guest disks is not right and there's no releation between them)

thanks in advance and waiting for your answers,

all the best...

Re: ESX Cluster with vCenters in both DCs

$
0
0

There is no Active/Active configuration for vCenter Server at the moment. As Andre mentioned, the closest you can have is vCenter Heartbeat, but it is an Active/Passive config. I have implemented heartbeat in a stretched environment (using VPLEX) wherein the primary vCenter is located at Site A and the secondary vCenter is at Site B.

Setting up Update Manager while using existing Oracle DB in use for VCenter DB purpose

$
0
0

Dear Experts,

 

We've in our environment Vcenter DB in Oracle. There are:

 

16 Esxi hosts running version 5.0 U2 and one vCenter physical server having its DB in Oracle, now we are planning to install vmware update manager 5.0, The intention is to use same DB of vCenter , since environment is small.

 

I would like to know from experts here that, what exactly is required for this case from our DB fellows so the same DB can be used for update manager purpose also, I need these details so, I forward the information to them before beginning the installation part of update manager.

 

Waiting for quick response.

 

Kind Regards,

Re: Test Lab on VMware Workstation

How do I create standard vSwitches in a HA cluster where the VM fails over to the same network?

$
0
0

I have a lab set up with 2 ESXi 5.5 hosts and vCenter.  I want to create a situation where each VM must have a dedicated NIC.  If I create vSwitchABC on host 1, what do I do on host 2?  Create vSwitchABC on that host too and connect it to the same physical switch?  Will that allow the host 1 to fail and the VM to come up on host 2 on that same network because the vSwitch names are the same?

Thanks!

Re: vCO sample plugin "SolarSystem" and custom resources in vCAC

$
0
0

Hmm,

 

I'm not sure what i'm doing wrong. Currently I'm unable to troubleshoot because everytime I visit the vco/api/workflows page I get a HTTP 401 ("full authentication required to access this resource"). Maybe I should note I'm using the vcac integrated vco (vcac 6.0.1).

 

so the link I'm trying to visit looks like this:

https://vcac.local:8281/vco/api/workflows/19c610ca5af84162bd955a955ab961d2/executions/ff808081457f00ea01457f1cdcd60012

 

No basic auth popup (tried ie, firefox, chrome) nothing. Just 401. Also I tried submitting a basic auth header - no luck (not sure which credentials exacly are needed to visit this ...)

 

 

Well but let's get focused on the problem here:

I was able to resolve the issues using a different object from the solarsystem example (star instead of planet). I looked at the source code of the example, but i'm not sure what's different for the star / planet objects that could cause the star being provisioned and the planet not to be.

 

So I tried to build my own custom object using some aspect oriented programming. Source looks like this:

 

package com.testlab.o11n.plugin.TESTPLUG;
import java.io.Serializable;
public abstract class AbstractObject implements Serializable{    private static final long serialVersionUID = 1L;    private String id;     public AbstractObject() {  // Not exacly sure what this is used for in vco / vcac and how unique this should be  id = this.toString();  }  /* Serialize the object's content as Base64 encoded string.  *  * @return the the serialized content of the object as an UTF-8 string  */    public String getId() {        return id;    }
}
//----------------------------------------------------------------------
package com.testlab.o11n.plugin.TESTPLUG;
import com.vmware.o11n.plugin.sdk.annotation.*;
@VsoObject(name = "TestObject", description="Some Test for the API browser here")
// What exacly is the "idAccessor" needed for?
@VsoFinder(name = "TestObject", idAccessor = "getId()", hidden = false, image = "images/item-16x16.png", description="Some Test for the API browser here")
public class TestObject extends AbstractObject{  private static final long serialVersionUID = 1L;  @VsoProperty(readOnly = false, description = "The name of the object.")  private String objName;  @VsoProperty(readOnly = false, description = "The owner of the object.")  private String objOwner;  @VsoConstructor(description="Creates a object.")  public TestObject(@VsoParam(description="The object name as a String")String objName, @VsoParam(description="The object owner as a String")String objOwner) {  // call parent constuctor  super();  this.objName = objName;  this.objOwner = objOwner;  }  public String getObjOwner() {  return objOwner;  }  public void setObjOwner(String objOwner) {  this.objOwner = objOwner;  }  public String getObjName() {  return objName;  }  public void setObjName(String objName) {  this.objName = objName;  }  @VsoMethod(description="A test method which dosn't do anything.")  public void objMethod()  {  }
}

 

Within vCO I just created a workflow which has a single scripting task which basiclly creates a new object as output parameter (of type TestObject) like this:

myObject = new TESTPLUGTestObject(objName,objOwner);

 

The workflow runs successfully, the object is created within the script task (checked by system.log printout accessing the object properties) but when the workflow finishs, the variables result set shows "Not Found" - "The linked element cannot be found" for the output parameter.

So far I'm not sure what is causing this.

 

Sooooo. The documentation is note quite clear what the ID of a custom object is used for. However, from the examples it seems like a unique id is needed for vCO to locate the object - which could be the reason why  my workflow isn't working

I'm also not sure what the requirements for custom objects are - specially when using annotation based creation. And last but not least I don't know yet how and where custom created objects are stored in vCO and how they're retreived by vcac.

 

Do you have any information about that for me?

Re: PF Exception 14 in world 32768

$
0
0

Hi,

 

André is right, I can see from picture enclosed that you running ESXi on laptop, or it's just monitor from Lenovo on the picture... ?!

Ca you provide more details about your HW, please?

 

If you have ESXi installed directly on non-server (laptop) HW is always hit or miss ... because some components are usually unsupported (ie. disk controllers, NICs ...)

 

I found very simmilar PSOD for ESXi which was caused by missing C-State information to be exposed by the BIOS...see:

VMware KB: Fujitsu RX300 S5 fails with a purple diagnostic screen with "no symbols" on VMware ESX/ESXi 4.1…


PSOD type is Exception 14: Page Fault A page fault (Exception 14) occurs when the page being requested has not been successfully loaded into memory.

For detailed info see:

VMware KB: Understanding Exception 13 and Exception 14 purple diagnostic screen events in ESX 3.x/4.x and ESXi 3.x/4…

 

So it is definitely worth to check your HW components support on VMware HCL and update your HW firmware like BIOS etc. to latest revisions.


If you found your CPU supported but other components not, think about nested virtualization using VMware Workstation.

More on this you can find here:

VMware KB: Support for running ESXi/ESX as a nested virtualization solution

VMware KB: Installing ESXi 5.x in VMware Workstation

 

Regards,

Petr


PS: Because you have 5.5 U1 build: 1623387 I would recommend update your image to latest build which address and resolves Heartbleed vulnerability issue, see:

VMware KB: VMware ESXi 5.5, Patch ESXi-5.5.0-20140404001-no-tools

 



Re: How do I create standard vSwitches in a HA cluster where the VM fails over to the same network?

$
0
0

Welcome to the Community - Yes you will have to create a vswitch on host 2 that has a Virtual machine port group with the same name as it is on Host 1 connecting to the same subnet as connected to on host 1-

Re: certificate installation vcenter 5.5

$
0
0

Hi John,

 

replacing vCenter certificates after 5.1 release has come was always little bit tricky because lots of new components are there (SSO etc.)

Whole process has many manual steps so that's why there is plenty of space to make a mistake.

 

So that's why VMware come with SSL Automation Tool which simplifies the process in many ways.

Once you have all certificates, private keys and .pem files prepared it's really quick and straightforward to apply them.

No manual steps is needed to refresh trusts between vCenter components everything is done by SSL Automation Tool.

 

Check it here:

VMware KB: Deploying and using the SSL Certificate Automation Tool 5.5

 

Only one think is missing in that KB the way how to create .PEM files, although it is simple ...

If you need help with this just ask...

 

Regards,

Petr

Re: How do I create standard vSwitches in a HA cluster where the VM fails over to the same network?

$
0
0

Fantastic!  Thank you!  I'll test it out later. 

Re: Get VM Guest disk Information for specific VMDK(from Get-Harddisk)

$
0
0

The objects you get from $vm.Guest.Disk are not necessarily the vdisks you get from Get-Harddisk.

These objects represent the partitions as seen from inside the guest OS.

 

A simple, but not very reliable, method to link the 2 together is to compare CapacityGB values of both objects.

If you have 1 OS partition per VMDK, you will see that most of the time these values are close to each other.

 

For example, the following checks if the VMDK capacity within a 5% range of the OS partition capacity.

$vmName="myVM"

$vm=Get-VM-Name$vmName
Get-HardDisk-VM$vm|
Select@{N="VM";E={$_.Parent.Name}},Name,
 
CapacityGB,
 
@{N="Path";E={
   
$capacity=$_.CapacityGB
   
$vm.Guest.Disks|
   
Where {$capacity-lt ($_.CapacityGB*1.05) -and$capacity-gt ($_.CapacityGB*0.95)} |
   
Select-ExpandPropertyPath
  }}

The problem is immediately visible when you have a VM with 2 VMDK of the same size, which each only 1 OS partition on that VMDK.

 

There are other methods that are more reliable to make the link between a VMDK and the OS partition(s) on that VMDK.

But these mostly only work for a Windows guest OS.

Re: datastore clusters and i/o control

$
0
0

Just wanted to thank both of you for your answers and clearing things up.

Re: upgrade from esxi 5.1 to 5.5 using update manager

Re: stripe size для хранилища больших файлов

$
0
0

Оставьте все по умолчанию.


Re: Underlying Dell Virtual Disk is larger. Want to increase the size of datastore.

$
0
0

Well.... [expletive].

 

~ # partedUtil getptbl "/vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a"

msdos

364456 255 63 5854986240

1 63 80324 222 0

2 80325 8466884 6 0

3 8466885 13709764 252 0

4 13711360 3865468766 251 0

 

Earlier when I ran fdisk, I received this warning:

~ # fdisk "/vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a"

 

 

***

*** The fdisk command is deprecated: fdisk does not handle GPT partitions.  Please use partedUtil

***

 

And I assumed it was warning me that the disk was formatted GPT.

 

Ok, lemonade from lemons? Can I create a new partition from that space and give it to the same datastore? Or can I create a new partition and create a datastore1? The latter is less fun, but it's preferable to having to raze all the work I've done to start over.

 

Here's the output from fdisk:

Disk /vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a: 2199.0 GB, 2199023255040 bytes

255 heads, 63 sectors/track, 267349 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

                                                    Device Boot      Start         End      Blocks  Id System

/vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28ap1               1           5       40131  de Unknown

Partition 1 does not end on cylinder boundary

/vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28ap2               6         528     4193280   6 FAT16

Partition 2 does not end on cylinder boundary

/vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28ap3             528         854     2621440  fc VMKcore

Partition 3 does not end on cylinder boundary

/vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28ap4             854      240615  1925878703+ fb VMFS


I suspect you're going to say that I cannot utilize that space at all since the disk is what's MSDOS and it cannot support drives larger than 2TB. Which would mean that I would have to see if I can somehow carve off the VD that I merged into VD0. And I suspect _THAT_ is a data-destructive. I'd have to move things off of VD0, destroy it, recreate it, then put it all back. (Which would require re-registering each virtual machine.)

 

I am not above doing that at this point. We're so early in the plans that it may be worth that effort. I'd have to figure out exactly how to move the data off to external storage... I don't have any iSCSI SANs lying around ;-)

 

Cheers,

 

M

CBT and migration of backup solution

$
0
0

Hi,

 

 

I have a question regarding cbt and backup.

Take the following example :

 

I backup my VMs with a backup solution using cbt (for example with Netbackup). I change my backup solution to backup my VMs (for example with Veeam).

Have  I to reset cut before backup my VMs with my new backup solution or not ?

Indeed I’m a little paranoid  regarding cbt….

 

 

Thank you in advance for your help !

 

Sébastien

Re: Can we use VIX to get VMNet info from Workstation

$
0
0

I think exposing a VMNET API through VIX would be very useful for a lot of people. (myself included )

Re: all apps crashes on windows server 2003 if you don't run them as admin

$
0
0

I have tested some apps on a new server 2003 installation and I don't have similar problems there. I think a new installation of Windows Server will help.

VMware Workstation 10.0.2 exclusive mode Ubuntu 14.04

$
0
0

Hi,

 

I am currently testing the new Ubuntu 14.04 LTS 64 bits, I see that the exclusive mode do not work property. I am using the latest VMware Workstation 10.0.2.

 

The problem is that the launcher bar, do not hide in exclusive mode.

 

Any ideas?

 

I think that is a bug of VMware 10.0.2 working with Ubuntu 14.04 LTS 64 bits.

 

Thanks.

Viewing all 294344 articles
Browse latest View live




Latest Images

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