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

VMWARE Tools WARNING: Failed to get size of IP buffer / Failed to get nic info

$
0
0

Good morning,

i have a problem with a Windows 2008 R2 SP1 Server virtual machine on ESX 5.5 Enviroment.

Every about 30 days thisserver brings out the following warnings related to VMware Tools, in this sequence,
every 5 minutes for about 2 hours:

 

#1 Event 1000 – VMWARE Tools - [ warning] [vmsvc:guestinfo] Failed to get nic info.

 

#2 Event 1000 – VMWARE Tools - [ warning] [vmsvc:vmsvc] Failed to get size of IP buffer.

 

#3 Event 2001 – Perdisk – [warning] Unable to read performance data for the Disk performance counters.

 

...until it becomes inaccessible!!!

It responds to the ping in a discontinuos way (not good)

 

Vmware tools service doesn’t run

I cannot manage the server

I must force to RESET it from Vsphere to access again .

I already re-installed once the VMware Tools, but the problem persists.

 

Would you have some suggestions for me about this issue?

 

Thanks a lot.

Alex






VmWare WorkStation 10.0.7 and Windows 10 Unable to Run VM

$
0
0

After Power on Virtual Machine, there is an error:

 

Unable to open kernel device "\\.\Global\vmx86": El sistema no puede encontrar el archivo especificado. Did you reboot after installing VMware Workstation?

 

Failed to initialize monitor device.


if I run the command "net start vmx86"  -> system error 5 / Access denied


It seems to be an error with execution privileges in W10, as I have to run VmWare as administrator since a few days.

May be this is due to OS upgrading from W8.1 to W10?


Does someone have an idea to suround this problem?

Thanks.

REST -> VCO

$
0
0

Hello, I'm trying to get a basic workflow kicked off via REST. I'm using the Firefox plugin RESTClient.

 

I was following this tutorial:

 

http://www.vcoteam.info/articles/learn-vco/265-how-to-run-a-perl-script-from-a-vcenter-orchestrator-workflow.html

 

and got the helloPerl.pl to work with REST, now I'm trying to change RAM on a VM...

 

Looking at this article, I believe has me pretty close:

 

https://communities.vmware.com/thread/515457?start=0&tstart=0

 

but still getting HTTP 400's on RESTClient... Here's my code:

 

{"parameters": 

[

{

"value": {"sdk-object": {"type":"VC:VirtualMachine", "id":"10.x.x.x/vm-name123"}},

"type": "VC:VirtualMachine", 

"name": "vm",

"scope": "local"

},

 

{

"value":{"number":{"value": “2048”}},

"type": "number",

"name": “memory”,

"scope": "local"

}

]}

 

My inputs in the xml displayed for the workflow are:

 

<parameter description="The VM to change" type="VC:VirtualMachine" name="vm"/>

<parameter description="New memory value" type="number" name="memory"/>

 

Any ideas?

 

thanks,

-jim

vRO workflow token can't get it's complex type attributes by invoking method WorkflowToken.getAttributes()

$
0
0

I have a workflow with a complex type attribute, default value was null for the attribute,  I want to run a script task to print current workflow token's attribute values by invoking method WorkflowToken.getAttributes(). Don't say to bind attribute with input/output parameter of script task than use the attribute directly, My objective is to create a generic action to do that thing. My script is:

var token = workflow;
System.debug(token);
if(token == null)
{    throw "No workflow token found";
}


System.debug("startDate: " + token.startDate);


var attributes = token.getAttributes();
if(attributes == null || attributes.keys.length == 0)
{
    throw "No attribute found for current workflow.";
}
System.debug("found " + attributes.keys.length + " attributes from current workflow.");


var keys = attributes.keys;
for (var i in keys) {
    var curKey = keys[i];    var curValue = attributes.get(curKey);   System.debug("attribute key: " + curKey + " attribute value: " + curValue);
}    System.debug("attribute key: " + curKey + " attribute value: " + curValue);
}

 

When I don't set value for the complex type attribute.

ComplexTypeNoValue.png

I could retrieve the attributes and get and null value of the complex type attribute.

Log.png

But once I set value of the complex attribute.

ComplexTypeWithValue.png

I got error when running the script task.

ErrorLog.png

I have tried many kinds of complex type, still get same error,I suspect if there's defect on vRO to retrieve complex type attributes from workflow token, or is there anything I missed? Can someone help me?

Poor disk performance in virtual machines

$
0
0

Hi,

 

I have an VMware ESXi 5.1 update 2 infrastructure. It consists of five hosts in a cluster.

 

I have attached a fiber channel storage array to the hosts.

 

I have shown a LUN to the hosts.

 

I have created two windows 2012 R2 VM's, and put them in separate hosts.

 

I have attached the LUN to the virtual machines as a shared raw mapped phisical disk. I have created a MSCS file server cluster with those two Windows 2012 R2 servers and the shared storage.

 

I have installed IOmeter in one of the virtual machines.

 

I also have two Windows 2003. They are phisical machines. There is a file server cluster installed on them. Another fiber channel storage array is connected to them, to provide the shared space needed for the cluster.

I have installed IOMeter in one Windows 2003.

 

The array disk used for ESXi scenario, is at least, twice faster in performance than the used for Windows 2003 phisical scenario.

 

I run the standard tests in both WIndows 2003 and Windows 2012: 4 KB, 100% Read, 100% sequential. 4 KB 75% Read, 100% sequential. 4 KB, 50% Read, 100% sequential. 4KB, 25% Read, 100% sequential. 4KB, 0% Read, 100% sequential.

 

The results are suprising, at least I think so: all the measurements (I/Os per second, Total MB per second, Average I/Os response time, Maximun I/Os response time and % CPU utilization) are between twice and four times better in the Windows 2003 scenario. I mean, for example, in any of the tests, if the I/O's per second are 1200 in Windows 2012 machine, in the Windows 2003 machine is 4000.

 

Since the array attached to the ESX hosts is supposed to give twice much better performance than the attached to Windows 2003 phisical machines, I guess there is something not well configured, or something not optimized in the ESX host o Virtual Machine configuration. But I can't imagine what can it be.

 

I need help to improve the disk performance of these VM's.

Cant't migrate after update 5.5

$
0
0

Good afternoon.

We have updated the vCenter of from 5.0 to 5.5. After the upgrade, I can not do the migration of the database VM. Turn the VM and the migration function is deactivated completely.

If the VM is turned on, the host is available for migration

 

Product: VMware vSphere 5 Standard Licensed for 2 physical CPUs (unlimited cores per CPU)

Expires: Never

 

I have 6 hosts in cluster.

Windows Server 2008 R2 Ping "General Failure"

$
0
0

Hi,

 

I am seeing an issue with Windows Server 2008 R2 and wonder if anyone has any idea's?  At random the ping response will report "General Failure" when pinging a remote host.

 

Pinging server.domain.local [10.1.1.2] with 32 bytes of data:
Reply from 10.1.1.2: bytes=32 time=2ms TTL=126
Reply from 10.1.1.2: bytes=32 time=2ms TTL=126
General failure.
Reply from 10.1.1.2: bytes=32 time=2ms TTL=126
Reply from 10.1.1.2: bytes=32 time=2ms TTL=126
Reply from 10.1.1.2: bytes=32 time=2ms TTL=126
Reply from 10.1.1.2: bytes=32 time=2ms TTL=126
Reply from 10.1.1.2: bytes=32 time=2ms TTL=126
Reply from 10.1.1.2: bytes=32 time=2ms TTL=126
Reply from 10.1.1.2: bytes=32 time=2ms TTL=126
Reply from 10.1.1.2: bytes=32 time=2ms TTL=126
Reply from 10.1.1.2: bytes=32 time=2ms TTL=126
Reply from 10.1.1.2: bytes=32 time=6ms TTL=126
Reply from 10.1.1.2: bytes=32 time=2ms TTL=126
Reply from 10.1.1.2: bytes=32 time=2ms TTL=126
Reply from 10.1.1.2: bytes=32 time=2ms TTL=126
Reply from 10.1.1.2: bytes=32 time=2ms TTL=126

 

The host is running ESX 5.5 U3.

VMWare Tools is loaded in the guest and the guest uses the VMXNET3 adaptor.

Other VM's on the same ESX host do not have this issue.

If I run 2 ping windows to the same destination IP they do not report the issue at the same time.

The general failure can happen to another guest VM running on the same ESX host.

 

Thanks!

Adding the Embedded vRO 7 to vCenter

$
0
0

I don't really see any documentation on the embedded vRO in the vRealize 7 documentation....it seems like in the past you had to go do something to add it as an extension to vCenter and then do the steps to configure it within vRA.  (logging into the VRO appliance, running some integration commands etc)..(i could totally be remembering that wrong).

 

Can anyone jot down the basic gist of steps needed for a fresh install of vRA to just get it to the point that you can configure say the vCenter endpoint for VRO and it have access? Or is that all that's required? I noticed the service for the control center is stopped by default...trying to comb through the documentation to find where it tells me to turn it on...no luck so far....i feel like the orchestrator integration is something that is poorly documented and explained due to there being several different ways it is used.  It's very confusing trying to understand if I'm supposed to be going by VRO documentation to configure it, or by VRA documentation or both..


Installing and configuring Endpoint Operations vCenter Monitoring Solution

$
0
0

Installing and configuring Endpoint Operations  vCenter Monitoring Solution

 

The new vCenter Monitoring Solution is based on the EPOPS Agent.

Documentation:

https://c368768.ssl.cf1.rackcdn.com/product_files/25806/original/vCenter_Solution_1.1_Guidefadf2b185bd8c71f01f43301f65f1d06.pdf

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2133716

Ingredients:


1. vRealize Operations Manager 6.1 -> You already have it installed, if not, download it

     ->https:/my.vmware.com/group/vmware/info?slug=infrastructure_operations_management/vmware_vrealize_operations/6_1

2. vRealize Operations EndPoint Agent installable -> download the 64-bit version from

     -> https://my.vmware.com/group/vmware/details?downloadGroup=VROPS-610&productId=538&rPId=8818

3. vCenter Monitoring Solution Management Pack (PAK-File) -> not easy to find, but it is on

      -> https://solutionexchange.vmware.com/store/products/130354

4. vCenter Server access with administrator / root privileges -> in my case Linux vCSA

 

Instructions:

 

1. Install and configure EPOPS Agent on the vCenter

2. Install and configure vCenter Monitoring Management Pack

****************

1. Detailed instructions - The Agent

1.1 Download the agent (Linux 64-bit)  from here:

11-detailed-instructions---the-agent.png

1.2 Run RPM-installation

vcsa-01a:~ # rpm -Uvh epops-agent-x86-64-linux-6.1.0-3030162.rpm
Preparing...                ########################################### [100%]
Password for `epops' is already locked!
1:epops-agent            ########################################### [100%]insserv:
Service syslog is missed in the runlevels 2 to use service cgconfigepops-agent              0:off  1:off  2:off  3:on  4:off  5:on  6:off
End Point Operations Management Agent has successfully been installed to /epops-agent
, and the service is configured to start at boot using the "epops" user credentials.
Note that some plug-ins require special permissions to discover and monitor their ap  plications.
Verify that the "epops" user has the necessary permissions.
Before you start the service, perform one of the following processes:* 
Begin the interactive setup by starting the epops-agent service.* 
Edit the /epops-agent/conf/agent.properties file, by uncommenting and modifying the agent.setup values,
then start the epops-agent service.Run 'service epops-agent start' to start the epops-agent service...

1.3 Change agent user to root

Open the /etc/init.d/epops-agent file in a text editor.


1.3.1 Change the line:


RUN_AS_USER=epops

to

RUN_AS_USER=root 

 

1.3.2 Also find the line below:

AGENT_CTL="su $RUN_AS_USER -s $SHELL $AGENT_INSTALL_DIR/epops-agent/bin/ep-agent.sh"
and remove $SHELL, such that the line now reads:
AGENT_CTL="su $RUN_AS_USER -s $AGENT_INSTALL_DIR/epops-agent/bin/ep-agent.sh"
13-change-agent-user-to-root.png

1.4 Configure the agent by starting the service for the first time

vcsa-01a:~ # service epops-agent start

Starting End Point Operations Management Agent...... running (1919).

[ Running agent setup ] - The agent generated the following token    1453723755661-608569690955820004-2774624980274959717

Enter the server hostname or IP address: vrops-01a.corp.local

Enter the server SSL port [default=443]: - Testing secure connection ...

...

 

Do you trust this certificate (yes/no/more)? [default=no]: yes

- Connection successful.

Enter your server username: admin

Enter your server password:

- Registering the agent with server.

- The agent has received a client certificate from server.

- The agent has been successfully registered.

1.5 Check and write down postgres user and password

 

This password will be used later on to configure the postgres monitoring plugin in vR Ops:

vcsa-01a:~ # cat  /etc/vmware-vpx/vcdb.properties

driver = org.postgresql.Driver

dbtype = PostgreSQL

url = jdbc:postgresql://localhost:5432/VCDB

username = vc

password = DKTRP){3d$1sHvCZ

password.encrypted = false

2. Detailed Instructions: The Management Pack

2.1 Management Pack installation and configuration

Download vCenter Self-Monitoring Solution management pack from here:    https://solutionexchange.vmware.com/store/products/130354

2.2 Install the managent pack

Log in to vRealize Operations manager as "admin" and go to Solution, click on the + sign and install the management pack.

22-install-the-managent-pack.png

2.3 Configure solution credentials in vR Ops

Once the management pack installed and assuming the agent is already running a list of new resources will appear. Go to "Administration -> Inventory Explorer -> Adapter Types -> EP Ops Adapter" and select "vCenter App Server- your-vcsa-hostname" object. Press the pencil symbol ot edit it.

23-configure-solution-credentials-in-vr-ops.png

2.4 Add vCenter web credentials

Click on + to create new credentials

24-add-vcenter-web-credentials.png

2.5  Provide user name and password

25--provide-user-name-and-password.png

2.6 Configure postgress agent

Now select the object called "PostgreSQL - your vcsa hostname" and click on the pencil to edit it. Add the postgres credentials acquired in the step 1.5.

26-configure-postgress-agent.png

2.7 Check both configured objects have green collection status:

After a while (5 minutes) both configured objects should show gree collection status.

27-check-both-configured-objects-have-green-collection-status--.png

2.8 Check new data

Check new objects and data under Environment -> Operating Systems World -> Linux -> vcsa-host..

28-check-new-data.png

2.9. Check new vCenter App Server dashboard

29-check-new-vcenter-app-server-dashboard.png

2.9 Check new Alerts for vCenter Monitoring

Filter based on "Adapter Type = EP Ops Adapter"

210-check-new-alerts-for-vcenter-monitoring.png

Endpoint Ops agent without using admin credentials

$
0
0

Hey folks,

 

I want to deploy the endpoint ops agent to a few of our hosts which are running vCenter services (PSC boxes, vCenters, Web Clients etc). However, I don't want to use my admin credentials to connect the ep-ops agent to the vROPs cluster. Does anyone know what permissions I need to assign to a new local user to allow it to send data via the endpoint ops agent to the vROPs server?

 

I've tried assigning the AgentManager role to my test user and giving it full access to all objects but the agent can't connect.

 

Any ideas?

 

Obviously running 6.1

Install Nexus 1000v in ESXi version 6 and vCenter

$
0
0

1. I deploy OVA in vCenter (U1)

2. Register plugin (XML) and make connection to vCenter - all fine.

3. Try to install VEM over VUM service and cannon find in host extensions anything about verrsion 6. From 5 to 5.5 .VEM is to old (2012).

 

Question is!

How I can instal VEM on host worked on ESXi6 under vCenter 6 management,

PCNS PowerChute Network Shutdown 4.0.0 - ESXi 5.5

$
0
0

Hello all

 

I would like to ask you how to setup two nod cluster with PCNS 4.

I am using Active directory authentification for login to vcenter through the PCNS virtual appliance.

Vcenter is virtualized

 

My question is how PCNS will log to ESXi hosts after Vcenter and Domain controllers will shutdown ?

What is the best practice ?

 

Thanks in Advance

 

Roman

BLOG POST: How to set vIDM (SSO) LDAP Site-Affinity for vRA

$
0
0

Hi All,

 

In this article we take a look into how can we set LDAP site affinity for VMware Identity Manager (vIDM) and VMware Identity Appliance (IDA) , especially when used as Identity Provider by vRealize Automation (vRA). We will look into native vIDM options that let us accomplish this as well as how to achieve this using F5 Big-IP Local Traffic Manager (LTM).

 

How to set vIDM (SSO) LDAP Site-Affinity for vRA

http://kaloferov.com/blog/how-to-set-vidm-sso-ldap-site-affinity-for-vra/

 

Best Regards / Поздрави

Spas Kaloferov| Technical Solutions Architect

(www.kaloferov.com/blog)

critical swap usage alert of Host

$
0
0

I am getting critical swap usage alert in one of the monitoring tool called nagios.

 

1) However when I went to the host from vCenter and checked the memory utilization from the cluster, the respective host memory utilization is only 66%

Also I went to performance tab of a host, when i selected memory, it shows a 1 min high spike and suddenly it went down.

My question is how do I identify, which VM is using more swap on this Host or what is the cause of  that high spike?


2) From ESXi command line, esxtop "m" output shows the below


SWAP  /MB:   123    curr,   122 rclmtgt:                 0.00 r/s,   0.00 w/s


which means it is using 123 MB swap and reclaim memory is 0.


My query is, when I can see it is showing 66% utilization of Memory, then why it is using swap? and I am not sure, how do I avoid to such situation in future?


Can anybody please, I have searched and didn't found anything relevant.

No network access to vm after update from 5.5 to 6.0

$
0
0

Hello!

 

We try to move to ESXi6. instal ESXi6 as update to one of HP BL460c (boot from usb stick and select update). There is no VM,s on host. I reset all networks settings on host, delete LACP on switch. All switch port is TRUNK and all VLANs is allowed. Host is available over the net, client is connected. I installed one VM ( win 2012) and try to connect to the vm - no connection. Network with vlan is created like on 5.5 but no connection. What I do wrong?


automating/simplifying maintenance mode of resources

$
0
0

We regularly do maintenance on some resources that are monitored by vrealize ops. In these circumstances I usually login to the GUI go to the environment overview, search for the relevant resources which all start with a specific 3 char prefix and put them in maintenance mode.

 

I was wondering if there was any way for me to make this easier to manage, ideally i'd like to run a script which is supplied with the 3 char prefix and that would put all resources that begin with that in to maintenance mode.

Is there a way for me to do this via powercli or via the API (from a python script maybe)?

 

 

Thanks

 

Brett

CPU Ready - total or per-vCPU

$
0
0

A quick question for you performance gurus out there.  When you're discussing CPU Ready values do you typically speak in per-vCPU values or total values (for vSMP VMs) for the VM?  Or is it simply a matter of clearly defining which you're using with both equally valid (after all, if you add the per-vCPU values you'll end up with the total).

 

VMware KBase article (VMware KB: Converting between CPU summation and CPU % ready values) seems to imply you'd just calculate the total for the VM.

 

TIA!

This virtual machine failed to become vSphere HA Protected and HA may not attempt to restart it after a failure

$
0
0

This virtual machine failed to become vSphere HA Protected and HA may not attempt to restart it after a failure,

how to do solve it。

We have ESXi5.1.0 and VIAPI5.0 what is the JDK version supported for collecting information from ESXi through VIAPI

$
0
0

We have ESXi 5.1.0 and VIAPI5.0 to collect the list of VM/Host/DC and other details from vCenter using Java. Recently we have upgraded the JDK from 1.6 to 1.8. But some of the functionalities like collecting DCs and Cluster information are unable to fetch from vCenter after updating jdk version 1.6 to 1.8

Error upgrading vCenter appliance from 5.1 to 6

$
0
0

Hi

 

I'm trying to upgrade from vCenter appliance 5.1u3 to 6u1

 

I have 3 ESXi hosts on 5.1.

 

I'm using the the upgrade manager. After completing the information at step 4 I receive an error:

 

"Internal error occurs during VMware vCenter Server Database pre-upgrade checks"

 

After scanning the log files I see an error(log file below).

 

I have search the forums and tried the following with no success. A support call to vmware has produced no solution.

 

VMware KB:    Upgrading to VMware vCenter Server 6.0 fails with the error: Internal error occurred during VMware vCente…

 

VMware KB: Upgrading from vCenter Server Appliance 5.x to 6.0 reports error: vCenterServer FQDN does not match DNS

 

Questions:

1.Can anyone help?

2.Can I manually install a fresh appliance and then connect to my hosts. What configuration would I lose?

 

Thanks

 

 

Log file snippet from CollectRequirements_com.vmware.vcdb_"Date".log

 

2016-01-21T22:48:44.357Z INFO vcdb Retrieving DB type...

2016-01-21T22:48:44.357Z INFO vcdb DB type retrieved: PostgreSQL

2016-01-21T22:48:44.367Z INFO vcdb Retrieving DB user...

2016-01-21T22:48:44.398Z INFO vcdb DB user retrieved: vc

2016-01-21T22:48:44.408Z INFO vcdb Retrieving DB password...

2016-01-21T22:48:44.453Z INFO vcdb DB password retrieved: ****

2016-01-21T22:48:44.466Z INFO vcdb Validating source embedded schema...

2016-01-21T22:49:00.493Z INFO vcdb Souce embedded schema validation completed.

2016-01-21T22:49:00.500Z WARNING transport.local BAD REQUEST: Cannot execute ['/opt/vmware/vpostgres/1.0/bin/psql', '-U', 'postgres', '-d', 'VCDB', '-t', '-c', "\n               SELECT ceil(sum(pg_relation_size(C.oid)) / (1024*1024)) as disk_size\n                 FROM pg_class C\n                 LEFT JOIN pg_namespace N\n                   ON N.oid = C.relnamespace\n                WHERE nspname IN ('vc', 'vpx') and relkind in ('r', 't')\n               \n                           AND relname NOT LIKE 'vpx_hist_stat%'\n                           AND relname NOT LIKE 'vpx_sample_time%'\n                           AND relname NOT LIKE 'vpx_event%'\n                           AND relname NOT LIKE 'vpx_task%'\n                           AND relname NOT LIKE 'vpx_property_bulletin%'\n                           "]. Error: [Errno 2] No such file or directory

2016-01-21T22:49:00.500Z ERROR __main__ Upgrade Phase 'vcdb:CollectRequirements' failed. Exception:

Traceback (most recent call last):

  File "/var/tmp/vmware-upgrade-requirements/cis-upgrade-runner/payload/componentPhaseLauncher.py", line 379, in main

    executionResult = systemExtension(exeContext)

Viewing all 176561 articles
Browse latest View live


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