How to find out which database server is configured for vCloud Director
I got a question earlier about how to find out which database server vCloud Director is using. To do this follow the steps below: Connect to the vCD cell using SSH Navigate to /opt/vmware/vcloud-director/etc cat global.properties You will see an output similar as this: # Database connection settings database.jdbcUrl = jdbc:jtds:sqlserver://192.168.10.163:1433/vcd;socketTimeout=90;instance=SQLExpress database.username = vcd database.password = dSLuRFq1fqHaADwT298j5aTy1GUfJxualYQSZv2Oa2xjR4b869x47Ihp1XAZj4cB The IP address highlighted in bold is the IP address or FQDN of the configured database server
Enable Lockdown Mode ESXi 5.0
This question is asked a lot. How do I enable lock down mode and what does it do. To enable lock down mode, there are two options. From the DCUI (Direct Console User Interface) From within vCenter My preffered option is through vCenter, it is very easy and you dont need to be in front of the host or have remote console access. To enable lock down mode through vCenter follow these steps: Login to vCenter Select the host Select the configuration tab Select Security Profile under software Scroll down to Lockdown mode Click Edit Tick Enable Lockdown Mode Click OK Lockdown mode is now enabled Please Note: Enabling Lockdown mode on an ESXi 5 host will force all users to login via the vCenter Server in order to manage their ESXi hosts. The table below shows what features are enabled and disabled with Lockdown mode (this was taken from Yellow-bricks) […]
Changing the IP address of a vCloud Director cell
Working on a solution with Chris Colotti and other colleagues, we came across a KB article that details how to change the IP address on a vCD cell. I had never thought about this previously, having never changed an IP address of a cell. When you build your vCD cells, you bind specific services to IP addresses. You need to make the database aware of these changes once you have re-ip’d the operating system. This KB Article explains the full procedure on how to do this. These are the steps how to reconfigure the vCD database from the KB article above: o change the IP address of an installed vCloud Director server: Ensure to shutdown all the cells.To shutdown a cell, run this command from within the Red Hat system which is hosting the vCloud Director software:service vmware-vcd stop Change the column value of PRIMARY_IP in the CELLS table to the […]
PowerCLI 5.0.1 Released with vCloud Director Automation
A couple of days ago PowerCLI 5.0.1 was released. I am quite excited about this release, it contains Powershell Cmdlets for managing VMware vCloud Director. You can now use the following cmdlets in conjunction with vCloud Director Name Synopsis Connect-CIServer Connects to the specified servers. Disconnect-CIServer Disconnects from the specified cloud servers. Get-Catalog Retrieves the specified cloud catalogs. Get-CIRole Retrieves roles in the cloud. Get-CIUser Gets cloud users. Get-CIVApp Retrieves virtual appliances in the cloud. Get-CIVAppTemplate Retrieves virtual appliance templates. Get-CIView Returns cloud views by Id. Get-CIVM Retrieves the virtual machines on the cloud. Get-ExternalNetwork Retrieves cloud external networks. Get-Media Retrieves cloud medias. Get-Org Gets cloud organizations. Get-OrgNetwork Retrieves cloud organization networks. Get-OrgVdc Retrieves organization VDCs. Get-ProviderVdc Retrieves the specified cloud provider VDCs. Import-CIVApp Imports a virtual machine from vSphere to a cloud. Import-CIVAppTemplate Imports a virtual machine or an OVF package from a vSphere server to the vCloud as […]