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

List VM name and sum of (provisioned) VM disk size and export it

$
0
0

Hello,

 

I need to list all VM:s and their provisioned disk space. I can do it with this command:

get-vm * | foreach-object {write-host "$_`t" (Get-HardDisk -vm $_ | Measure-Object -Property CapacityGB -Sum).sum.ToString()}

 

(If there is more elegant way to do this, please feel free to enlight me )

 

The problem is that I'm unable to export this data. Adding

| export-csv ... or

> list.txt

to end of line creates empty file and prints output to console.

 

How could I make export work correctly (or way I want)?


Make sure the host version is 5+ before building a vm during automation

$
0
0

Hi,

I am using PS for WebAccess to build vms. Our cluster has 4.x hosts which will not support Windows 2012. In the script, I choose a host based upon some criteria, such as how many vm's it is already hosting, etc. ... But now that we have 5.x I have to be sure the host is 5.x before attempting to build a Windows 2012 vm. Is there a simple way to do this? I've poked around and not found anything really simplistic for my situation.

Thanks for any help!

Service chaining not working

$
0
0

Hi,

 

I have a cluster with 4 ESXi hosts.

I deployed 2 services in this setup, both with Functions = "IDS IPS" and Deployment Mechanism = "Host based vNIC", but each service has a different Service Manager IP. This means that for each ESXi host there are 2 Agent VMs deployed (one for each service).

On one of the ESXi hosts there are 2 Vms which are generating traffic. For each of the 2 services I created a Security Group containing these 2 VMs and a Security Policy with rules that match both incoming and outgoing traffic to the Service Group.

I select "Redirect to Service" Action and the default Vendor Template created with the Service for the Profile in each rule (Network Introspection Service) of each Security Policy (So I have 2 Security Policies SP1 and SP2, with 2 rules each).

 

My problem is that I can only see packets in one of the 2 Agent VMs corresponding to this ESXi host at a time.

After I edit one of the Security policies, SP1,  (even without making any change) and press Finish I can see the packets in the Agent VM corresponding to that SP's Service, Service1.

Once I edit the other Security Policy, SP2,  and press Finish I can see the packets in the other Agent VM corresponding to the second SP's Service, Service2.

 

From what I understood there can be 11 services from different providers in a chain and all should be able to see the traffic.

 

Do you have any idea what else can I try to be able to see the packets in both Agent VMs at the same time?

 

Thank you,

Alexandra

Cannot start Hyperic Agent in CentOS

$
0
0

Dear all,

 

I'm installing the Hyperic Agent 5.8.4.2 into a CentOS 6.6 box. When I try to start the agent by  hq-agent.sh start command, it gave me the following error:

 

[root@fbdlvmtool12 bin]# ./hq-agent.sh start

Starting HQ Agent...... running (3462).

Error: /tmp/agent.encrypt.lock is locked. can't continue.

org.hyperic.hq.agent.AgentConfigException: /tmp/agent.encrypt.lock is locked. can't continue.

        at org.hyperic.hq.agent.AgentConfig.ensurePropertiesEncryption(AgentConfig.java:273)

        at org.hyperic.hq.bizapp.agent.client.AgentClient.ensurePropertiesEncryption(AgentClient.java:1437)

        at org.hyperic.hq.bizapp.agent.client.AgentClient.initializeAgent(AgentClient.java:1207)

        at org.hyperic.hq.bizapp.agent.client.AgentClient.main(AgentClient.java:1372)

 

However I cannot see there is any file in the address  /tmp/agent.encrypt.lock

 

Any suggestions how what maybe the cause and how to troubleshoot this error?

 

Thanks

Silvester

Проблема с лицензированием хоста.

$
0
0

Добрый вечер.

Господа, подскажите кто сталкивался с такой проблемой. При добавление esxi host (5.5) в кластер HA (vCenter 5.5CU3) выпадает список ключей лицензий, но не могу выбрать ни одного ключа могу выбрать только (No License Key).

Хост раньше был в этом HA кластере, по техническим причинам пришлось удалить и спустя пару недель добавлять.


Спасибо.

View 5.3.5 to View 6.2 Clean Install

$
0
0

I am working with a simple Horizon View 5.3.5 environment that consists of one Connection server running Win2008 R2 SP1 and one Composer sever running Win2008 R2 SP1 / SQ: Express 2008. There is a combination of floating and dedicated pools, and all the VDI's are dedicated workstations - no linked clones. We would like to upgrade to v. 6.2, but at the same time would like to migrate or do a "clean install" of both servers to Win2012 R2. I cant find any clear cut documentation or set of best practices to accomplish this. Has anyone gone through an upgrade similar to this or have any type of best practices?

vCloud Usage Meter 3.4 and 3.3.3 Interoperability Matrix

Workstation 12 pro

$
0
0

I bought the new Workstation 12 pro after I tried out the trial really cool program.

 

Although I misunderstood the licensing please advise:

 

If I have my valid license for Workstation 12 Pro and have a windows 8.1 pro OS software and license

 

If I want to install quick-books premier on the 8.1 pro VM and another copy of it on the desktop that host the workstation 12 pro do I need another license ?

 

VDI or something if so please explain


The ESXi host does not have persistent storage

$
0
0

Dear All - After ESXi successful upgradation from 5.1 to 5.5 the datastores are not visible under ESXi -> Configuration -> Storage, wondering if this is something issue with any prerequisites before go for ESXi upgradation is missing, please check and suggest the remedy to this, thanks in advance.

 

Error log has enclosed herewith.,

lost my vcops 5.x license

$
0
0

I installed a vCops server sometime ago with the free license. It had been turned off for a while, and when I turned it back on recently, it is showing me a license expired box:

 

The existing license has expired.

Please add a new license key to reactivate the vRealize Operations Manager, then click on the Go To vRealize Operations Manager button.

Data will continue to be collected even with an expired license.

 

I believe it's still possible to run vCops 5.x as a free product. Do I need to reinstall it again to reset everything, or is there a way to generage a new license key?

 

Thanks, Aubrey

Could not power on virtual machine: Lock was not free.

$
0
0

Greetings all,

Having an issue with one of our VM's. We have one that is shut down and we are unable to power it back on. When we try to start it we get the error that it is locked.

 

Failed to initialize swap file '/vmfs/volumes/**********ed4809a2.vswp' : Lock was not free

We have tried to migrate to a new host and datastore but it would not move to the new datastore.

 

Any ideals on how we can get this powered back on.

Issue when i add add-PSSnapin VMware.VimAutomation.Core

$
0
0

Hi guys,

 

 

Im new in the power cli world !!

 

 

Hi guys,

Im new in the powercli world and i need help and read/practice a lot.

 

I have a problem when a create a task sheduler in W2K8R2 i got an error and the folowwing param is not

recognized by the script when i add the cli add-PSSnapin VMware.VimAutomation.Core

:

param (

    [String[]]$vCenters

)

 

 

When i remove the script recognize the param !

 

 

 

 

----------------------------------------------------

 

 

 

 

 

 

add-PSSnapin VMware.VimAutomation.Core

 

param (

    [String[]]$vCenters

)

 

$fecha = get-date -uFormat "%d%m%y"

 

 

I check few posts with people that have the same issue but i dont find the solution.

I need to but a wildcard ?

 

Many Thanks

Carlos

New install of EXSi 6 on server, can't login from vSphere client

$
0
0

First off, I am very new to VMware.  This is my first job supporting VMs. My background is as a DBA and Systems Analyst.

 

I have a server that I have installed ESXi 6 on. (it is installed on a USB drive in the server, don't know if that is important)

 

I configured the system with IP address, server name, and root password.  I can log into the console of the server no problem.

 

i can ping the server from my client.

 

When I initially setup the server I could log into the server using the vSphere client (6.0.0)

I had a co-worker test logging in as well.  It worked for him also.

 

However, 30 minutes to an hour later, I get a message titled "Error Connecting" 

Message is "Cannot complete login due to incorrect username or password."

I only get this error message when logging in using the vsphere client.

My co-worker gets the same error when i have him try.

If I try to login using the console of the server I get in no problem.

 

I have made sure i am using the correct password.

I do get the pop-up about the security certificate, I hit the check box to install and ignore the message.

 

Any help would be appreciated.

P2V a physical vCenter server being used by a Horizon View 5.3.4 pool?

$
0
0

The steps for P2Ving a physical vCenter server are pretty well documented but I am wondering if anyone has had any experience doing this when the physical vCenter was used for a View pool. I am weighing taking this route vs. just standing up a fresh vCenter appliance, creating new pools and migrating vm desktops to the new pools. All are Windows 7 dedicated full clones. Current vCenter is 5.5 U3, but we want to migrate to 6.0 U1b

vSphere 5 Licensing Question

$
0
0

Are vsphere 5 esxi host licenses only valid to use if they're under support, or can you continue to use the version you have in an unsupported state? I had someone from vmware email me that he was going to decommission our licenses because he thought we hadn't renewed. (we had, but the third party vendor we order from hadn't forwarded them over to vmware)

 

I never heard of anyone from vmware threatening to decommission license keys before so I figured I'd ask. I probably wouldn't even care if he hadn't sounded like such a douche in his email, but anyway, just curious how that works.


not able to access vm 4.1

$
0
0

Came in this morning all was working fine, we started to lose access to our virtual servers. Everything is running we just can't access vShpere. The ESXi host are up and the EqualLogics are up except for 1 or 2 drives. Just cannot access  vSphere. Checked all the switches and port activity, all is good at that end. I do have one Datastore down.  I attached some info.

vRO 7 remove a trusted CA form the certificate store

$
0
0

I have tried removing a trusted CA from the certificate store using both the workflows and the Control Center and it doesn't seem to work.  The workflow runs and the item looks like it is removed from the inventory but when I refresh the screen it comes back.  Same thing with the control center.  If I click the x its gone from the list but when I refresh the page its back.

Cloud meter 3.4 auto reports empty

$
0
0

My monthly auto generated reports that go to my Distribution partner are going out either blank or with just the headers in the csv files.

 

When I run the manual report it generates fine.

 

Is anybody else having this problem? and if so what works to fix this - at this stage I have tried

  • deleting and re-adding the settings for the auto reports
  • rebooting the vCloud UM virtual appliance

All with no difference in the results

ESXi 6 install on HP BL460c Gen 9 - local storage not found

$
0
0

Hi

 

I've just deployed a new blade enclosure containing a number of BL460c Gen9 blades.   Each of these blades have 2 x local HDDs which have been configured as a RAID-1 set.

 

When I run through the ESXi installation, following accepting the license agreement it searches for devices, but under "Local" where I would expect to see my RAID1 drive/volume, it simply says "None".

 

These are new servers, and on the compatibility list.  Why is the local storage not found?

 

Thanks in advance,

Pete

Windows failover cluster- vsphere replication

$
0
0

Hi,

 

Need help to replicate 2 node Microsoft cluster .  I know vSphere replication is compatible with virtual RDMs so will change physica RDMs to virtual, but the RDM SCSI controller of nodes have bus sharing (physical)  enabled. The  How do I replicate such clusters having SCSI bus sharing enabled, since vsphere replication does not support bus sharing

 

Thanks, waiting for some thoughts/work arounds

Viewing all 179681 articles
Browse latest View live


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