Category Archives: Cloud

vCenter Server Disconnecting From vCloud Director

Following on from my post on vCloud Director constantly syncing inventory I wanted to address a second point that could cause the underlying connection issue.

In the current revision of vCloud Director (5.1 and 5.1.1) there is an issue that may present itself as vCD disconnecting from vCenter at random times coupled with connection alerts from vCloud Director such as the email alert shown below.

vCloud Director is trying to reconnect to the vCenter Server Server “vcenter.domain.com“.
When vCloud Director reconnects, it will send another email alert.

Further information of the error can be seen in the log /opt/vmware/vcloud-director/logs/vcloud-container-info.log.
Look for the following error.  ORA-01013: user requested cancel of current operation.
You can do this as follows.
# less /opt/vmware/vcloud-director/logs/vcloud-container-info.log
Then press / and type in user requested cancel of current operation to go to the location in the log where this entry is recorded.

As detailed in my previous post you can change the connection time to get around it to allow vCD time to reconnect to the vCenter Server. However there is another work around available that involves modifying the vCloud Director SQL database to remove some null entries that keep on creeping up in value and trigger this disconnect in the first place.

To do this I suggest you stop your vCloud Director cells first and make sure to backup the SQL server database. These instructions are for Oracle.

    1. Quiesce the services of the cells using the cell-management-tool and then stop the services with service vmware-vcd stop as described here.
    2. Backup the Oracle server.
    3. Open an SSH connection to the Oracle server and type sqlplus then provide the vcloud username and password.  (Hint username is vcloud)
    4. Run the following commands at the SQL> prompt.

SQL> select count(*) from task_inv where (status = 2 OR status = 3) AND completion_date is null;

This will return a numerical value, probably in the tens or hundreds of thousands. What we need to do is to run a series of commands to reduce this number down. It is this number that is causing vCloud Director to time out during the synchronization process.
Run these commands to fix this.

A. Get list of all vc_ids in the setup.
SQL> select distinct vc_id from task_inv;

B. For each vCenter in the setup.
1. Get max managed object value for that vCenter. That is the vc_id obtained from the above query.
SQL> select substr(moref, 6) from (select * from task_inv where vc_id = vc_id order by to_number(substr(moref, 6)) desc) where rownum = 1;

This will give result_1. Next we need to do some basic maths. We will keep ‘top’ 1000 entries per VC and will delete rest of them.

2. result_1 minus 1000 = result_2

3. Using the above result_2, run the following.

SQL> delete from task_inv where (status = 2 OR status = 3) AND completion_date is null AND vc_id = vc_id AND to_number(substr(moref, 6)) < result_2;

4. Run a commit; command.

5. Finally run the original query to see if the number has gone down.
SQL> select count(*) from task_inv where (status = 2 OR status = 3) AND completion_date is null;

Don’t forget to restart the cell services on vCD.  service vmware-vmd start and tail the cell.log to watch the progress of restarting the cell service. /opt/vmware/vcloud director/logs/cell.log -f

It will continue to creep up until VMware fix this in an update currently due as release version 5.1.2 at the end of April 2013.

2012 – StratoGen’s Year in Review

2012 was a very busy year for us here at StratoGen, so I thought I would take some time to reflect on some of the bigger things that we achieved over the last 12 months.

January 2012USA vCloud Platform launched in Denver Colorado – due to increasing demand for USA based vCloud hosting, StratoGen decided to launch our service across the pond

June 2012StratoGen relocated to new offices at 37 Frederick Place in Brighton.  Due to continued successful growth more office space was required to house our UK based sales & support teams, so a new home was found.

July 2012StratoGen’s New York office was established at 380 Lexington Avenue to provide local support for our rapidly growing US customer base.

August 2012 – StratoGen attended VMworld San Francisco where we met with key customers, learned about key product developments, had the opportunity for an intimate audience with outgoing CEO Paul Maritz, and even got some sound bites on a video posted on the VMware vCloud Blog!

October 2012Stratogen’s New Jersey Datacentre launched – due to increasing demand for our US based vCloud Powered VMware Hosting, we brought online our East Coast facility at the impressive IO New Jersey modular datacentre, which survived the havoc wreaked by Frankenstorm, unlike many Manhattan based facilities including some that we evaluated!

November 2012 - StratoGen Upgrades all vCloud Datacentres to vSphere 5.1 & vCloud Director 5.1 becoming one of the first vCloud Powered providers to offer the great new features of 5.1 including Snapshot capability, Storage Profiles and enhanced networking with the vCloud Networking & Security suite

November 2012 – StratoGen Malaysia Datacentre launched in Kuala Lumpur making StratoGen one of the few VMware vCloud Powered hosting companies with true global coverage.

Looking forward to 2013, we’re excited to be growing the team in our US office, and we’re working hard to grow our well established based of ISV and Managed Service Provider customers.

There’s no question that cloud based services will continue to grow in 2013, as more workloads move to the cloud, and more software vendors look to make the shift from traditional on premise client-server deployments to Software As A Service based offerings.  VMware themselves are doing a lot of work in this area with ISV’s to ‘vApp’ their applications to simplify migration onto vCloud VMware hosting environments – ultimately deploying an application needs to become as simple as selecting it from a catalog as far as the end user is concerned.

We’d like to thank all of our existing customers for their continued support of StratoGen in 2013, and look forward to working with many more companies over the coming months to help them with their journey to the cloud.

 

StratoGen Malaysia is Go!

So you’ve probably seen the press release already – we’ve launched our vCloud platform in Malaysia.  Customer demand in the region is booming , and an Asian presence was the next logical step for StratoGen to augment our global reach.  StratoGen VMware hosting is now available in EMEA, USA and Asia, making us one of the few VMware vCloud Powered partners with true global reach.

This new facility is ideal for anyone experiencing network latency issues between USA or EMEA to the Asia Pac region.  It is also beneficial for Malaysian businesses who may have access to governement development funds, who need to host their infrastructure in country in order to qualify for these grants.

Our Malaysian vCloud platform is based in the Jaring datacenter in Technology Park Kuala Lumpur.   The platform is running the latest VMware vSphere 5.1 with vCloud Director 5.1, offering cutting edge cloud management features including VM Snapshots, Server Load Balancing and advanced vShield firewall tecghnology, all managed via the same vCloud Director login.

As with all StratoGen facilities, Jaring Kuala Lumpur is ISO27001 certified, ensuring the utlimate in security for customer data hosted in the facility.

The first customers are already up and running in the facility.  Any customers wishing to trial our Malaysian cloud can do so by visiting www.stratogen.net/trial and selecting the Asia region from the drop down menu.