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

Re: Frozen ESXI5 host


Re: Reporting Default gateway

Re: How do I determine if I am running on a VM?

$
0
0

You could enumerate the hardware components and check for VMware "hardware".

 

André

virtualHardwareSection/memory failed, error code: 400

$
0
0

Hi,

 

I am using php api for vcloud.


the api is returning the error:

 

Fatal error: Uncaught exception 'VMware_VCloud_SDK_Exception' with message 'PUT https://186.233.144.180/api/vApp/vm-43086a1c-2582-4180-906a-e06e48b2e5ef/virtualHardwareSection/memory failed, error code: 400, error: <?xml version="1.0" encoding="UTF-8"?>

<Error xmlns="http://www.vmware.com/vcloud/v1.5" stackTrace="javax.ws.rs.WebApplicationException: com.vmware.vcloud.common.xml.XMLProcessingException: Bad request

        at com.vmware.vcloud.api.rest.providers.CommonJAXBProvider.readFrom(CommonJAXBProvider.java:255)

        at org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBody(JAXRSUtils.java:1025)

        at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(JAXRSUtils.java:606)

        at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(JAXRSUtils.java:571)

        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:239)

        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:91)

        at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)

        at java.util.concurrent.Executors$RunnableA in /home/httpd/htdocs/vcloudPHP-5.1.0/library/VMware/VCloud/ServiceAbstract.php on line 215

 

I am trying to change the memory of a vm like this:

 

$newvalue = 64;

 

$mem = $sdkVm->getVirtualMemory();

$vq = $mem->getVirtualQuantity();

$vq->set_valueOf($newvalue);

$mem->setVirtualQuantity($vq);

$sdkVm->modifyVirtualMemory($mem);

 

what I get on an export if I do:

 

$mem = $sdkVm->getVirtualMemory();

$vq = $mem->getVirtualQuantity();

$vq->set_valueOf($newvalue);

$mem->setVirtualQuantity($vq);

$xmlstr = $mem->export();

echo $xmlstr;

 

<Item xmlns="http://www.vmware.com/vcloud/v1.5" xmlns:vcloud="http://www.vmware.com/vcloud/v1.5" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:ovfenv="http://schemas.dmtf.org/ovf/environment/1" xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:vmw="http://www.vmware.com/schema/ovf" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ns12:href="https://186.233.144.180/api/vApp/vm-43086a1c-2582-4180-906a-e06e48b2e5ef/virtualHardwareSection/memory" ns12:type="application/vnd.vmware.vcloud.rasdItem+xml" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5http://186.233.144.180/api/v1.5/schema/master.xsdhttp://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingDatahttp://schemas.dmtf.org/wbem/wscim/1/cim-schema/2.22.0/CIM_ResourceAllocationSettingData.xsd">

    <rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>

    <rasd:Description>Memory Size</rasd:Description>

    <rasd:ElementName>16 MB of memory</rasd:ElementName>

    <rasd:InstanceID>5</rasd:InstanceID>

    <rasd:Reservation>0</rasd:Reservation>

    <rasd:ResourceType>4</rasd:ResourceType>

    <rasd:VirtualQuantity>64</rasd:VirtualQuantity>

    <rasd:Weight>0</rasd:Weight>

    <vcloud:Link href="https://186.233.144.180/api/vApp/vm-43086a1c-2582-4180-906a-e06e48b2e5ef/virtualHardwareSection/memory" type="application/vnd.vmware.vcloud.rasdItem+xml" rel="edit"/>

</Item>

 

What is wrong?

 

Regards,

Fabi

Backup best practices in a SAN environment

$
0
0

Hello,

 

Can somone please tell me the best way to do backups using VEEAM in a SAN environment with 3 hosts and 2 arrays with the VMWare Standard Acceleration Kit?  I'd prefer not to purchase another device to back up to and I definitely want backups to both the LAN and Cloud.  I'm planning on implementing a full 10GB solution.  Let me know if you need any more info!

 

Thanks,

T

Re: AutoDeploy plugin 5.1 just not working...

$
0
0

I got the answer. When I edited the /etc/vmware-rbd/httpd/httpd.conf file, I did it as root. This changed the permissions on it, and the "deploy" user couldn't read it. I did chmod 666 httpd.conf, restarted AutoDeploy, and it works.

New to vmware and vSphere rolling out ESXI 5.1 looking for recommendations/advice

$
0
0

Hi all new to the site just purchased 2 Dell PowerEdge R720 servers with internal storage of (6)500GB Drives configured at RAID5(no SAN) and 128GB of RAM.  We are planning on running Windows Server 2012 with Role of AD and then an additional Windows 2012 Server with Role of Terminal Server to use for publishing RemoteApps to our end users and file storage.  The end users will be using Microsoft Office apps solely and housing their documents on the server.

 

1. Am I better off installing ESXI on an SD card and leaving the entire internal storage for my VM's?

2. As far as replication of my VM's for DR is the vsphere replication appliance suffice or should I be looking at a different product?

3. Any other advice that can be given would greatly be appreciated.

 

Thank you all and have a great day...

Re: Migrate VM's between vCenter 4.0 and vCenter 5.1

$
0
0

Linked-mode won't work as two vCenter servers' version and build number should match.

Even it works, vMotion between two different vCenter servers doesn't work!

 

I would recommend you to use a software called VMware Converter (this is free). It works best if you could power-off the virtual machine.


Re: Creating Datastore in mirrored hard drives?

$
0
0

Which RAID Controller do you have in the system? The Entry models are shipped with the B110i software RAID controller, which is not supported by ESXi. Other models (Base, Performance) come with the P410 controller which is supported, but make sure it has BBWC (battery backed write cache) for  good disk performance.

 

André

Re: Problem Creating Datastore in mirrored hard drives!

Re: Gemfire notify-by-subcription=false not picked up

$
0
0

Here is an example client context that will register interest in ALL_KEYS and have updates pushed from the server to the client as invalidates.

 

<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xmlns:util="http://www.springframework.org/schema/util"  xmlns:gfe="http://www.springframework.org/schema/gemfire"  xsi:schemaLocation="http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire.xsd  http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd  http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">    <util:properties id="gemfire-props">    <prop key="log-level">warning</prop>  </util:properties>  <gfe:client-cache properties-ref="gemfire-props" pool-name="pool"/>  <gfe:pool id="pool" subscription-enabled="true">    <gfe:server host="localhost" port="40404"/>  </gfe:pool>  <gfe:client-region id="Price" shortcut="CACHING_PROXY_HEAP_LRU">    <gfe:cache-listener>      <bean class="TestListener"/>    </gfe:cache-listener>    <gfe:key-interest durable="false" result-policy="NONE" receive-values="false">     <bean class="java.lang.String">      <constructor-arg value="ALL_KEYS"/>     </bean>    </gfe:key-interest>  </gfe:client-region></beans>

Re: Inicio automatico de vms en workstation 8 linux

$
0
0

If I correctly understand* you want to start automatically VMs when you start VMware Workstation, or start VMware Workstation with a number of VMs automatically upon login ? Either way you might need a script for that.

 

[*] I had to use Google Translate http://translate.google.com/

Re: Scripting the documentation of about 100 ESX servers

$
0
0

Without a vCenter server, you will probably have to create an input file with the hostname, username and password.

I would recommend the following.

 

Input (esxi.csv):

Name,Username,Password

test1.test.com,username,password

test2.test.com,username,password

test3.test.com,username,password

 

Script (make sure the input file, esxi.csv is in same directory with the script):

$output = foreach ($esxi in Import-Csv esxi.csv)

{

     Connect-VIServer -User $esxi.Username -Password $esxi.Password -Server $esxi.Name

     Get-VMHost -Name $esxi.Name | Select-Object @{N="ESXi";E={$_.Name}},

                                                                           @{N="Management IP";E={$_.ExtensionData.Summary.ManagementServerIP}},

                                                                           @{N="Virtual Machine";E={[string]::Join(",", ($_ | Get-VM | %{$_.Name}))}}                             

}

Disconnect-VIServer * -Confirm:$false

$output | Export-Csv output.csv

 

Sample Output:


esxtst01.test.com     443   root                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                             

ESXi            : esxtst01.test.com

Management IP   : 10.1.1.1                                                                                                                                                                                                                                                                                            

Virtual Machine : test1,test2,test3,test4                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                             

esxtst02.test.com     443   root                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                             

ESXi            : esxtst02.test.com

Management IP   : 10.1.1.2                                                                                                                                                                                                                                                                                              

Virtual Machine : test5,test6,test7,test8       

 

Hope this helps,

Steven.                                                                                                                                                                                                                                                                           

Re: Frozen ESXI5 host

$
0
0

Have you by chance completely filled a disk? Look at df output. You may need to wait a long time for it to run.

Re: Reporting Default gateway

$
0
0

Does the following output any gateways?

 

(Get-EsxCli -VMHost (Get-VMHost -Name $name)).network.ip.route.ipv4.list()


Re: vmware view

Re: Migrate VM's between vCenter 4.0 and vCenter 5.1

$
0
0

Install new 5.1 VC

add 4.0 hosts ,

Migrate VM's to 5.1 hosts

 

Should have identical hardware or should have EVC enabled

Should have common datastore across the hosts

 

If not you take a down time to the VM;s , remove VM;s from 4.o VC and add it to 5.1 hosts, VC.

 

Cheers

Re: New to vmware and vSphere rolling out ESXI 5.1 looking for recommendations/advice

$
0
0

Installation of esxi in SD card is supported and you can create a VM and place in a local storage with NO redundancy  also you cannot avail features like HA,DRS, etc

Re: Edit etc/hosts still recommended?

$
0
0

As said only HA requires name resolution and till 4.x we used to edit the host entries . If we have a DNS configured for the host, then the names for the hosts/client can be resolved by the server

Re: Cannot resume

$
0
0

Hi WoodyZ

 

Yes, after delete vmss file I could boot the OS.

But every time resume was failed after suspend.

I want to use suspend and resume function.

 

Sorry I couldn't tell my expectation.

Viewing all 246801 articles
Browse latest View live


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