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

SRM questions

$
0
0

Hi,

 

I've recently started looking at the SRM API for PowerCLI and, can get some quiet basic information, e.g. I can list VM's contained in a Protection Group.

Below is a script that I've been able to plagiarize to do this for me

 

$cred = Get-Credential

Connect-VIServer $vc -Credential $cred

Connect-SrmServer | Out-null

 

# Get the Protection Group Information & create a folder to save the results to

$ProtectionGroupName = [Microsoft.VisualBasic.Interaction]::InputBox("Enter the Name of the SRM Protection Group", "SRM Protection Group Name")

$ResultsFolder = New-Item -ItemType Directory -Path C:\Temp\$ProtectionGroupName -Force

$ResultsFile = "$Resultsfolder" + "\" + "$ProtectionGroupName" + " - " + (Get-Date -Format yyyy-MMM-dd-HHmm) + ".csv"

 

#Begin collecting data

$srmapi = $defaultsrmservers.ExtensionData

$srmpgs = $srmapi.protection.listprotectiongroups() | where {$_.GetInfo().Name -like "$ProtectionGroupName"} | Get-Unique

 

if (!($srmpgs))

{

    Write-Host -ForegroundColor Red "Protection Group Name entered cannot be found"

    Write-Host -ForegroundColor Red "Verify that you have entered a valid Protection Group Name. Exiting Script"

    break

}

 

$pgvms =@()

$vms = $srmpgs.ListProtectedVMs()

for ($a=0; $a -lt $vms.Count; $a++)

{

    $vm = get-vm -ID $vms[$a].VM.MoRef

    $pgvms += $vm.Name

}

   

# sort the array alphabetically and enter the results into a .csv file

$pgvms = $pgvms | sort

Add-Content $ResultsFile $pgvms

 

# Disconnect from vCenter

Disconnect-VIServer $vc -Confirm:$false

 

# Open the .csv file  

Invoke-Item $ResultsFile

 

I'd like to include extra information, Recovery Status, Priority, etc...

I've looked at the output from $srmapi.recovery, etc... but can't find what i'm looking for.

 

Anyone out there had any success with this already ?

Thanks


Problem with direct-connect plug-in on physical machine

$
0
0

Hello,

 

I have physical Win 10 enterprise, which is in workgroup. I have installed View Agent 6.2 and Direct Connect plugin.

For testing sake I have allowed all traffic from zero client IP.

 

Problem is, that I can't open connection to desktop from zero client.

When opening connection, zero client prompts about invalid (self generated) certificate, and prompts for password. After this zero client screen goes black for approximately 15 seconds, and returns to server selection.

I have screen connected to workstation. In beginning it shows login screen. When entering credentials on zero client, the screen connected to workstation goes to desktop, then to lock screen, again to desktop and finally goes to lock screen.

Behaviour is similar when screen is disconnected.

 

Has anyone else got similar issues? How should I proceed with this?

Windows event logs show now events about this, and I had no luck with view agent debug log.

Attached Multiple existing disk to VM

$
0
0

Hello,

 

Which comdlets is getting used to add multiple existing disk to VM ?

 

Following comdlets only add single disk ? What if OtherVM has multiple Vmdk available ?

 

New-HardDisk -VM $vm -DiskPath "[storage1] OtherVM/OtherVM.vmdk"

 

Please guide

 

thanks in advance

 

haresh n

host inventory in web client keeps disapearing

$
0
0

Hello everyone,

I have an open ticket with PSS about this but while I wait for them to investigate may get an answer here.

 

The problem is that when I click on a cluster in web client, I am able to see a list of hosts but as soon as I click on a host to manage it, the host disappears. I have to refresh the page from cluster view to get it back. We have done an inventory database reset with no luck. I also tried with different browsers and users and nothing improved.

 

Has anyone else experienced this? I am running appliance v6 u1b

 

Thank you

Not seeing a Windows app to add to VMware Applications Menu

$
0
0

Fusion 7.  When I select "Applications Menu" from the Fusion "System Setting" menu and click on the + sign, the RowPro application is not in the list to add to VMware's start menu.  However, I can run the application from the Windows 10 or Windows 8 start menus and can even run it directly from OS X Yosemite using the VMware's "All Programs" choice.  However, I cannot get it to be added to the VMware start menu and it does not appear in the Mac's Application Folder, which is really what I would like to happen.

 

I saw somewhere something that suggested that Windows applications have to be in Windows' "All Users" start folder, but that doesn't seem to be the issue since there is a shortcut to RowPro in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\RowPro.

 

Any suggestions?

 

Thanks.

 

David

Assignng Maintenance Schedules?

$
0
0

Once a Maintenance Schedule has been created.. the docs say next step is to "

 

Assign the maintenance schedule to objects." --- but never tells how to do so.

 

Anyone able to direct me in assigning a Maintenance Schedule?

disabilitare "Delayed ACK" su server ESXi V 5.5

$
0
0

Ciao A Tutti!

Su un server Dell PowerEdge T310 ho installato la versione Free di ESXi V 5.5 fin dal primo avvio le 3 macchine virtuali installate sembravano girare lentamente finché con l'aumentare del lavoro delle VM oggi ho provato ad andare a fondo scoprendo il seguente avviso "Device naa... performance has deteriorated. I/O latency increased from average value", cercando in rete ho trovato il seguente articolo

http://www.dell.com/support/article/us/en/04/SLN283544

ma dal "vSphere client" non trovo abilitata la voce "proprietà" per il mio storage in "Storage Adapters".

Come mai devo mettere l'host in manutenzione?

 

Vi ringrazio per il tempo che mi avete dedicato.

Ciao!

New VCSA shell considered dangerous :)

$
0
0

FYI,

we have a training setup where we run plenty of VCSAs for labs, and it happened the other day that the storage decided to go south.

Not bad, just in the midle of a course

When I was trying to restart everything, several of the VCSAs did complain about disks not having been cleanly unmounted, and forced me into single mode to do file system checks. That's where fun starts.

The root account now has the new VCSA shell tied to it, and it won't run in single user mode because some SO (shared object library aka DLL) was not available.

I had to trick grub into running /bin/sh to get access. Then LVM would not like the state of things, so ended up changing root's shell, rebooting into single user, fsck, then back to normal.

 

Not nice to discover in a real (i.e. production) DC.

-Carlos


After I set a GPU passthrough on my GEN8, it vanished after reboot.

$
0
0

Hello everyone!

CPU 1230l v2,

ESXi 6 U1,

XFX R7 240,

After I set the R7 240 to passthrough and reboot, It just vanished like I nerve done that before.

I'm still study about ESXi. So what happened?

When I searched on google I found someone already done this before and success.So it must be my problem.

Any suggestion?

Thank you.

Workstation host can't connect to Outside SAN for Clustering

$
0
0

My gold is for my workstation host to reach the outside network to the SAN, I'm using StarWind  for clustering. Yes, I’m talking Bridging to the physical Ethernet port to get outside.

 

Setup: I have one white-box with Workststion11 that’s hosting one DNS, AD server with two ESXI servers. DNS is working and I can resolve IP to namespace vice versa and no need for DHCP,he server has vShpere Clients that works. Workstation gave all IPs out later turned to static.

 

Network IP: Everything is on the same 192.168.10.X network and is as follows.

  • DNS server .120
  • ESX1 .128
  • ESX2 .129
  • SAN  .121 Passive switch

 

Problem Facts:

  • From my physical PC that VMworkstation has can ping all internal VMs and can ping each other.
  • If I set all internal VMs to  NAT to share Host IP address I get “destination host unreachable” but 0% loss. I think that’s good. 
  • If I set all internal VMs to Bridge VMnet0 default they can pin each other with in the network but can’t ping out still.
  • Yes, the physical PC that hosting the VMs can ping the SAN.

 

I think it’s a NAT issue.

 

A big thanks in advance

What's trending in the vCloud Air Community: January 2016

$
0
0

With 2016 in full swing, let's take a look back at some of the top trending topics of the new year posted in the Community thus far: 



Want to learn more? Follow our vTech Talk YouTube channel, where a new video answering questions related to these topics and others from the vCloud Air Community gets posted every Tuesday. And don't forget to check out the Documents section of the Community, where you can find recent news and service announcements.

user unable to login, "display protocol for this desktop is not available"

$
0
0

I'm starting to get reports of this more and more in my view environment. Users are logging in from Wyse P20 zero clients. The error message the end user receives is "display protocol for this desktop is unavailable" however, via view manager the desktop does not report as being unavailable. The state of the desktop is usually "disconnected."

 

If I take a look at the events for the desktop this is what I see:

 

Unable to launch from Pool Partners for user domain\user: There were no machines available that reported protocol [PCOIP] as ready.

 

Any insight would be appreciated as this is really starting to frustrate my users.

 

Thanks in advance!

Software iSCSI Initiator - Network Configuration - VMkernel Port Bindings. Active / Active vs Not Used / Last Active

$
0
0

So I have two hosts in the same cluster setup the same exact way.. One host is using both iSCSI vmKernel ports while the other isn't.. Can someone tell me what sets this?

Using software iSCSI to an EMC VNX 5300.

Thanks

ESX01     

  • Storage Adapters > Network Config > iSCSI_1 Not Used, iSCSI_2 Last Active
  • iSCSI_1 / vmk1 / 192.168.10.41 – Can ping all 8 SAN iSCSI IPs
  • iSCSI_2 / vmk1 / 192.168.10.141 - Can ping all 8 SAN iSCSI IPs
  • SAN can ping both host iSCSI IPs
  • NIC Teaming setup correctly. Dynamic and Static discovery setup the same as all others.

5-6-2014 12-09-52 PM.jpg

 

ESX02

  • Storage Adapters > Network Config > iSCSI_1 Active, iSCSI_2 Active
  • iSCSI_1 / vmk1 / 192.168.10.42 – Can ping all 8 SAN iSCSI IPs
  • iSCSI_2 / vmk1 / 192.168.10.142 - Can ping all 8 SAN iSCSI IPs
  • SAN can ping both host iSCSI IPs
  • NIC Teaming setup correctly. Dynamic and Static discovery setup the same as all others.

5-6-2014 12-12-16 PM.jpg

I heard that vIDM now supports Horizon Air Desktops and Remote Applications - if so, how do I use it?

$
0
0

Its True!  The vIDM group announced support for Horizon Air in the following Blog:  What’s New in VMware Identity Manager, Cloud – January 2016 Release - VMware End-User Computing Blog - VMware Blogs

 

There are some limitations at this time:

 

- You can only connect a vIDM account to a single Horizon Air datacenter instance.   (if you have multiple Horizon Air tenant datacenters, you will need more than one vIDM instances).

- You will need to follow the setup instructions for the vIDM Connectors for the bridging to work.  The vIDM connector cannot be deployed at this time inside a Horizon Air instance - and can instead be deployed on premises or inside a customer managed vCloud Air instance purchased separately.

- You can only launch Desktop and Application workloads through the Horizon Client with the PCOIP protocol

 

Let us know how you like it!

 

The Horizon Air Team

Fastest Way Possible to Switch to a new Portgroup

$
0
0

I've got a long and complicated script that clones VM's, and as one of the last steps, it disconnects the network and connects it to a different portgroup. I can do this already with:

 

Get-NetworkAdapter -VM $name-of-vm | Set-NetworkAdapter -Portgroup "$name-of-network" -Confirm:$false

 

That works, but it's not very efficient when it's in a loop that does it 50 times in a row. I'm looking to increase the speed as much as possible. Is there a faster way to do that using Get-View?


Intel ARK Intel Xeon Processor E5-2620 v3 Confused on CPU calculations.

$
0
0

Hi,

I know this topic is tiresome but the I am not certain of ESXi count. I now have to purchase new servers, which I have not in a long time. Intel base CPU are using Cores and Threads. Intel Xeon Processor E5-2620 v3, Cores=6; Threads=12 and has Hyper-threading as well.

As defined by Intel:

Cores is a hardware term that describes the number of independent central processing units in a single computing component (die or chip).

Threads, is a software term for the basic ordered sequence of instructions that can be passed through or processed by a single CPU core.

Would the total number of CPU cores on a ESXi Host be 6*12=72? or 6 if Threads do not count in the calculation; which is my guess?

Would the total number of logical CPUs on a ESXi Host? (6*12)*2=144? or 12 if Threads do not count in the calculation;which is my guess?

http://ark.intel.com/products/83352/Intel-Xeon-Processor-E5-2620-v3-15M-Cache-2_40-GHz

Thanks

DRUMDUDESAN

Create realtime log after poweroff vms

$
0
0

I create script to poweroff vms. I would record real-time in a excel or html file which were vms poweroff to follow. Is possible?

Error: Server version unavailable at 'https://1.1.1.1/sdk/vimService.wsdl' when connecting to virtual center with connect.pl

$
0
0

 

Hi,

 

 

 

 

 

I have a strange problem, I have 3 RHEL 5.4 servers that are clones of each other, I have install the SDK on all 3 of them, version:

 

 

I have installed VMware-vSphere-SDK-for-Perl-4.0.0-161974

 

 

and on 2 servers whith connect.pl it works great:

 

 

  1. /usr/lib/vmware-vcli/apps/general/connect.pl --server 1.1.1.1 --username XXX --password XX

 

 

Connection Successful

Server Time : 2009-11-04T11:53:30.449415Z

 

 

On the third server it doesn't work:

 

 

  1. /usr/lib/vmware-vcli/apps/general/connect.pl --server 1.1.1.1 --username XXX --password XX

 

 

Error: Server version unavailable at 'https://1.1.1.1/sdk/vimService.wsdl'

 

 

I am connecting to a VC with esx 3.5, on the third server I can access the url 'https://1.1.1.1/sdk/vimService.wsdl' with no problems

 

 

Any idea what can be the problem ?

 

 

 

 

 

Thnx

 

 

vRealize Orchestrator Endpoint error - (7.0)

$
0
0

Hi,

I hit this error whenever I try to request a catalog item "vRealize Orchestrator workflow WFStubBuildingMachine failed with error: You must have at least one properly configured vRealize Orchestrator endpoint that is reachable"

Screen Shot 2016-01-25 at 2.35.58 PM.png

 

When I test the connection Administration->Vro Configuration-> Server Configuration-> test connection

I get a "Successfully connected to the Orchestrator server."  message.

 

But whenever I do a "Data Collection" on the end-point, it fails.

 

Any suggestions as to how to go about it?

 

Thanks.

Nutanix or Dell poweredge ?

$
0
0

Hello,

 

What is the best hardware solution (performance and stability) for View and Mirage ( 500 users)

 

Nutanix or Dell Power Edge

 

Thank You

Viewing all 179681 articles
Browse latest View live