VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
9 Replies Last post: Sep 22, 2009 5:54 PM by parann0yed  

Getting Started - What you need posted: Apr 7, 2009 7:02 PM

Click to view Mike_Laverick's profile Virtuoso 4,064 posts since
Jan 5, 2004
If your getting started with VC4LIN... (catchy huh, kinda like Lindows...)

You will need an oracle db which sounds frightening - but actually isn't scare at all.

You need Oracle 10G Express Edition (just like MS SQL Express) which is free and runs on Linux or Window$

Download from Oracle 10G XE here - http://www.oracle.com/technology/products/database/xe/index.html

You'll also need to download some ODBC drivers to the VC4LIN... dump them into /root and the appliance will install them automagically for you...

They MUST be the right files 4 this to happen... it's these ones - oh, and you'll need to bloody register with oracle download a driver (welcome to the 21st Century internet)

http://download.oracle.com/otn/linux/instantclient/instantclient-basic-linux32-10.2.0.3-20061115.zip
http://download.oracle.com/otn/linux/instantclient/instantclient-odbc-linux32-10.2.0.3-20061115.zip

The install of XE is a next next affair in Windows... make a note of the password when your asked to set it for the system account...

When you boot up the appliance - and your asked to provide values for the DB you will need this

IP: name or IP of your XE server
Instance: XE
Username: system
Password: whateveryousetasthepassword...

Somethings to consider - why have DB, when you could have to Linux VCs with open-LDAP replica - along the same lines as View (which use Window$ and ADAM)... Put some kind of IP load-balancing thread between the VCs and you have reduced the single points of failure. Then perhaps I needn't blow all my money on the vCenter Heartbeat Service....

Regards
Mike Laverick
RTFM Education
http://www.rtfm-ed.co.uk
Author of the SRM Book: http://www.lulu.com/content/4343147
http://communities.vmware.com/servlet/JiveServlet/download/1200101-20223/vExpert_logo_100x57.jpg

Re: Getting Started - What you need

1. Jun 10, 2009 2:36 PM in response to: Mike_Laverick
Click to view rcardona2k's profile Champion 5,211 posts since
Oct 20, 2005
Mike, thanks a lot for this posting. It saved me a lot of searching. I downloaded an Oracle XE instance from the VAM and downloaded your two zips and the install was flawless.

Re: Getting Started - What you need

3. Jun 10, 2009 10:32 PM in response to: Mike_Laverick
Click to view rcardona2k's profile Champion 5,211 posts since
Oct 20, 2005
Mike_Laverick wrote:
Anyway, I only quickly looked at this - Am I right in saying you can run Oracle in side the VC4LIN?

Sorry this is not all in one VM but it is all Linux, no M$FT. I have two appliances first is the VC4Lin appliance from above, second is Oracle XE on VMware from the VAM. I'm sure I could download an Oracle XE that installs on CentOS but this was much quicker. Also "installs" for me meant, created the VC tables and completed the rest of the VC4Lin setup process.

I completely agree on VC2.5 v VC4, I have quickly realised I've just enabled VI3 management on Linux, which is last year's problem.

Re: Getting Started - What you need

4. Jul 5, 2009 9:00 PM in response to: Mike_Laverick
Click to view c_shanklin's profile Master 762 posts since
Dec 3, 2007
Mike_Laverick wrote:
You need Oracle 10G Express Edition (just like MS SQL Express) which is free and runs on Linux or Window$

Bleck, there goes my lab-in-a-box idea :(

We really need to get an embedded mysql option.

And 2nded about companies that make you register a mailinator account to download, what a waste of time. Not naming any names here.

Re: Getting Started - What you need

5. Jul 22, 2009 6:49 AM in response to: c_shanklin
Click to view cvbarney's profile Novice 10 posts since
Jun 30, 2006
No, not MySQL! Than it's still a little bit Oracle ;-)
Nice for webhosting environments, but not for a rock stable solid vCenter implementation.

PostgreSQL would be great to be supported! Even from the point of view from VMware itself:

We are looking at the possibility of adding one of the open-source databases to our supported database set. Personally, however, I'm a little wary of MySQL, because we have strong transactionality and performance requirements. > Postgres is a more likely choice if we do go down that path, but we are definitely interested in receiving feedback on this topic.

I'm looking forward fo a new beta release with vSphere support and a real open source database support (read: PostgreSQL)

Re: Getting Started - What you need

6. Aug 25, 2009 6:08 AM in response to: cvbarney
Click to view jairzhino's profile Novice 8 posts since
Sep 26, 2006

I have been using ESX since 2.5.0 and believe I have been waiting for something that can work in Linux. I personally like the mysql and postgresql. But if we are talking about a massive number of hosts and virtual machines, linux people we all know that postgresql is the way to go.

Conclusion: I think will be great if the come out with options to run the virtual center and vcenster (the new vmware naming) on mysql (for smalll deployments) and (*postgresql* for large deployments) This is based on the facts and performance history of postgresql.

What I am still waiting for is the Virtual Infrastructure or vcenter client that can natively run on Linux :_|

Thank you all for keep pushing on this, that is the only way these big companies will listen, remember we and the places we work at are their primary reason of existence.

God bless us all,


Re: Getting Started - What you need

7. Aug 31, 2009 2:34 AM in response to: jairzhino
Click to view cvbarney's profile Novice 10 posts since
Jun 30, 2006
.

Re: Getting Started - What you need

8. Aug 31, 2009 6:01 AM in response to: Mike_Laverick
Click to view Paddyodula's profile Novice 2 posts since
Aug 10, 2007
To answer the earlier question of can you run Oracle inside the VC4LIN, yes you can, here's how.

There's a few things to do to get it going, firstly the VM doesn't have enough disk space, I used the vdiskmanager tool (I'm on VMware Server 2.0) to expand the VMDK to 10gig, then used the gparted live CD to expand the root filesystem, it's a GUI so it's easy to use.

Now boot the appliance as normal, before installing the ODBC drivers, and logon as root.

Add some more swap space like this:

dd if=/dev/zero of=/swapfile bs=1024 count=1048576
mkswap /swapfile
swapon /swapfile
You can add the extra swap to /etc/fstab to make it enable automatically on boot.

Next install a couple of packages that Oracle needs:

yum install libaio
yum install bc

Install and configure Oracle

rpm -Uvh oracle-xe-10.2.0.1-1.0.i386.rpm
/etc/init.d/oracle-xe configure
Accept all of the defaults, but set the password to something useful, you'll need this later.

Copy the ODBC files to /root as per the doco, then reboot the virtual machine. When it comes up the ODBC configuration wizard will run, but even if you enter all of the right stuff it will fail as Oracle hasn't started up yet. When it asks you if you want to proceed anyway, say yes.

Once the VM finishes booting, login as root again and run this:

vpxd_odbcconfig
This will rerun the ODBC wizard, but this time it will work as the boot sequence has finished and Oracle is running, it will create the database schema for you.

Reboot the VM one more time and this time everything starts up itself, so you can browse to the VM, download the VI Client and start using it.

Cheers,
Anthony

Re: Getting Started - What you need

9. Sep 22, 2009 5:54 PM in response to: Mike_Laverick
Click to view parann0yed's profile Lurker 1 posts since
Apr 10, 2008
Great instructions. I followed them all but when I browse to the webpage, I don't get any links to download the client. All I get is the ability to reboot/shutdown, configure the network our logout. Did I miss something?

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