ERROR: Update or Delete on Table “cluster_compute_resource_inv” Violates Foreign Key Constraint

Problem When trying to detach a vCenter from vCloud Director 9.1 – for an upgrade to supported version we got the following error: [ 8eeddedb-d2f5-4674-883f-1be4dd626d86 ] could not execute update queryERROR: update or delete on table “cluster_compute_resource_inv” violates foreign key constraint “fk_cc_dr_v_h_r_i2clu_com_re_in” on table “ccr_drs_vm_host_rule_inv”Detail: Key (ccr_inv_id)=(9a93e8c1-d373-4911-9322-a896db94b5f7) is still referenced from table “ccr_drs_vm_host_rule_inv”. Solution It Read More…

List VLANs and VLAN Groups from Cisco UCS Manager using PowerShell

1) Download and install Cisco UCS Powertool suite (in this example i will be using v2.4.1.3) 2) Install UCS Manager Module Install-Module -Name Cisco.UCSManager -RequiredVersion 2.4.1.3 3) Start Powertool suite and list modules: Get-Command -module Cisco.UCSManager | more 4) Connect to the UCS Manager Connect-Ucs -Name {10.10.10.1} 5) List VLANs and their VLAN Groups  Get-UcsFabricNetGroup Read More…

Install and Enable SNMP on Centos 6

1)  Check you have net-snmp-utils installed # yum list installed | grep net-snmp If not then install them: # yum install net-snmp-utils   2) Configure SNMP by editing the snmpd configuration file. Firstly take a backup of the current file # mv /etc/snmp/snmpd.conf /etc/snmp/OLD-snmpd.conf Now edit the new file. # vi /etc/snmp/snmpd.conf rocommunity     public  172.17.19.100 Read More…