zpeewee
Enthusiast
Enthusiast

vcloud director monitoring

Hello,

Do you know products that can be use to deliver some statistics to vcloud director organization owner about the behavior of their virtual machines (and org vDC) like they are shown within vcenter (cpu - memory - ballooning - IOPS - ...) ?

Thanks

0 Kudos
5 Replies
cfor
Expert
Expert

http://www.vmware.com/products/vcenter-chargeback/features.html

VMware vCenter Chargeback is suppose to do this.  It can be setup in a "showback" model to be able to generate details to show usage numbers.  Not sure if this gets exactly what you need done, but might be worth looking at.

ChrisF (VCP4, VCP5, VCP-Cloud) - If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
0 Kudos
JayhawkEric
Expert
Expert

If you just want organizational level stats you could pull that from the vCenter database within the VPXV_RESOURCE_POOL table.  All you need to know is the resource pool name.  I do this to create an external dashboard for each organizations overall resource view.

Regards,

Eric

VCP5-DV twitter - @ericblee6 blog - http://vEric.me
0 Kudos
rjanakangnax
Contributor
Contributor

Isnt' there any cmdlets for vCD 1.5 that can be used with PowerCLI?

0 Kudos
cfor
Expert
Expert

Power CLI 5.01 supports Get-CIVM and operations on Cloud objects.

Connect-CIServer thecloudcell.somedomain.com -User admin -Password thepassword

$vdc = Get-OrgVDC -Name "Some Name*"

Handy method found from the forum before to do a convert of a CIVM to a VM object.
    <#
        .SYNOPSIS
            Converts a vCloud VM into a vCenter VM Object
        .DESCRIPTION
            Converts a vCloud VM into a vCenter VM Object
        .PARAMETER  CIVM
            One or more vCloud VMs
           
        .EXAMPLE
            PS C:\> Get-CIVM | Convert-ToVM
    #>
    [CmdletBinding()]
    Param (
        [Parameter(ValueFromPipeline=$true)]
        $CIVM
    )
    process {
        If (-not $Runonce) {
            Write-Warning "Convert-ToVM should be used for view purposes only, using cmdlets which alter the vSphere VM in any way is not supported and may cause issues.`n"
            $Runonce = $true
        }
        If ((-not $DefaultCIServers) -or (-not $DefaultVIServer)){
            Write-Host -ForegroundColor Red "You will need to be connected to both the CIServer and VIServer for this cmdlet to work"
            Return
        }
        Foreach ($VM in $CIVM) { 
            $vsphereVMView = Get-View –RelatedObject $vm.ExtensionData
            Get-VIObjectByVIView $vsphereVMView
        }
    }
}
ChrisF (VCP4, VCP5, VCP-Cloud) - If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
0 Kudos
JayhawkEric
Expert
Expert

You can use some more modules from this post as well.  I use them all the time to transfer vApps to other organizations and update their network settings.

http://velemental.com/2012/05/05/unofficial-vmware-vcd-cmdlets/

Eric

VCP5-DV twitter - @ericblee6 blog - http://vEric.me
0 Kudos