VMware

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 Previous Next 16 Replies Last post: Oct 20, 2009 7:36 AM by everyangle  

vcenter orchestrator configuration challenge using sqlserver posted: Jun 15, 2009 1:50 PM

Click to view gharouff's profile Novice 11 posts since
Jul 18, 2008
I keep getting "Database configuration successfully updated, but the configuration is in error" message.

Things I tried:

Went to ODBC clicked on system DSN tab / clicked on configure

Check to make sure I was on the correct SQL server (MBOEVMCONSOLE1\SQLEXP_VIM

Clicked next

Tested the connection and passed.

But when I click on apply changes I get the above error message.

This is SQL 2005 that came with the software

In the orchestrator configuration I have the following

Username:backup

Password:

Hostname or IP: localhost (tried IP address also)

Port:1433

Database name: SQLEXP_VIM

Instance name (if any): tried VIM_VCDB and (blank)

Domain: mentorschools.org

I have the following database error : -- Cannot connect to jdbc:jtds:sqlserver://localhost:1433/SQLEXP_VIM;domain=mentorschools.org;instance=VIM_VCDB. Connection error was: Server localhost has no instance named VIM_VCDB.

Or I get -- Nothing listening on port - SQLServer probably down

Any suggestions

Click to view Texiwill's profile Guru 10,236 posts since
Jan 13, 2004
Hello,

Moved to the Orchestrator forum.


Best regards, Edward L. Haletky VMware Communities User Moderator, VMware vExpert 2009
Now Available on Rough-Cuts: 'VMware vSphere(TM) and Virtual Infrastructure Security: Securing ESX and the Virtual Environment'
Also available 'VMWare ESX Server in the Enterprise'
SearchVMware Pro|Blue Gears|Top Virtualization Security Links|Virtualization Security Round Table Podcast
Click to view a.p.'s profile Novice 15 posts since
May 18, 2007
I had the same issues. Solved them as follows:
(I am not sitting in front of my server, so this is kind of a braindump...)

1.) Configured Port 1433 for SQL-Express
Using the SQL Configuration Utilities configure the TCP/IP configuration and add port 1433 to IP-All fixed port.
Restart SQL-Express service

2.) Download and install "Microsoft SQL Server 2005 Express Edition Service Pack 2" from the MS web page
Create a new Database e.g. VCO_DB

3.) In Orchestrator SQL configuration
Database name = VCO_DB
Instance = leave blank
Port 1433
Once connected a link will show up to initialize the database. Once you click it the tables will be created.

Hope this helps.
Click to view malaysiavm's profile Expert 561 posts since
Aug 24, 2008
I went through the whole configuration today, is a pain in the butt. You need to use the SQL management tools to create a blank DB then only you can attach it to the VCO

Craig

http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg
vExpert 2009
Malaysia VMware Communities - http://www.malaysiavm.com

Click to view Burke-'s profile Hot Shot 77 posts since
Oct 23, 2007

When using a LOCAL instance of SQL, SQLExpress, etc.. it may be necessary to use the DYNAMIC port for your vCO configuration. So,

  1. Launch your "SQL Server Configuration Manager"
  2. Expand the SQL Network Configuration
  3. Select the Protocols entry beneath that
  4. In the Right Pane,double-click "TCP/IP"
  5. In the TCP/IP Properties window, scroll down to the IPAll section and record the "TCP Dynamc Ports"
Use the port number recorded in step 5 above and see if you can connect... you should be able to B-)
Click to view Burke-'s profile Hot Shot 77 posts since
Oct 23, 2007

"GHAROUFF":

Login failed...

Okay, is your SQL server using SQL authentication? or Windows authentication?

If SQL Authentication, leave domain blank.

If Windows authentication AND server is in a Windows domain, enter your windows Domain in the domain box...

If Windows authentication and server is NOT in Windows domain, enter your Server name in the domain box...

Did that help?

Click to view Burke-'s profile Hot Shot 77 posts since
Oct 23, 2007
Have you checked the dynamic port as I outlined in my previous post?
Click to view Burke-'s profile Hot Shot 77 posts since
Oct 23, 2007
Can I also see a screenshot of your Database Configuration page in vCenter Orchestrator Configuration please?
Click to view Burke-'s profile Hot Shot 77 posts since
Oct 23, 2007

Okay, in your first post, you mention "MBOEVMCONSOLE1\SQLEXP_VIM" ...

Is MBOEVMCONSOLE1 your localhost? I assume it is... and that the server is in the mentorschools.org domain (This is your windows domain, right?) and that "Administrator" and the password used are domain accounts as well?

SQLEXP_VIM is your Instance nam...

  • Please enter "SQLEXP_VIM" in the Instance box
  • Please enter "3476" in the Port box

If the assumptions above are correct, please make the entries suggested and click apply changes...

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities