Inconsistency in setting up client/server environments in Virtual PC

Experts,

This is more of a request for discussion than an actual problem that I need solved, but I will generously award points for anyone who participates.

I figured out a long time ago that if I choose "Local Only" as my networking option, you can fire up two Virtual PCs at the same time and they can "see each other".  I can, for example, install an Oracle server on one, oracle client on another and simulate a client-server environment that I can experiment in.  I've even successfully set up three-tier environments in this manner (db, mid, client).

What I'm finding annoying, however, it that it just "doesn't always work".  For some reason, every now and then I'll fire them up and they just can't see each other.  All I do is shut them down and restart them and then they work - no changing settings or anything.

I've found that starting the database server first, then waiting patiently for it to completely initialize, THEN starting the client(s) has the highest probability of success.

Has anyone else experimented with using Virtual PC to set up multiple-tier environments?  If so, have you seen the same things I'm seeing?

Thanks
DTXCF
LVL 2
DalTXColtsFanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

oleggoldCommented:
It's very similar to Vmware and the reason is that both create local only network by piping their virtual adapters to emulate "local" network but they do use dynamic ip assignment to those virtual hosts,it's called "host only" in vmware. The thing with Oracle server installation that ip address of the tier servers is generally sewed into config files and if the dhcp or in case of VPC , auto configuration  reassigns ip , it will stop to work.
0
FarWestCommented:
DTXCF,

I used such scenarios only for testing and making a proof of concepts, also in a lot of Microsoft Courses to build labs,
so most of the time their lifespan is not more than few hours,
The Local Only vNIC is memory based emulator , so it can be problematic specially if IO queue not handled as it should be over time,
but to check if the database network driver is the reason, try to change from TCP to net pipe
also does restarting database services solve the problem? or only restarting VM does?

Also try to use the host network adapter, but give all machines a new un common subnet so it will not be visible

0
oleggoldCommented:
The solution is
1)to put all available ips in dns/.host files
2)If You have access to dhcp service assigning ips make those You've used in Oracle install static
3).In Your VPCs instead of using autoconfig option use static ip adresses
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rob KnightConsultantCommented:
Hi,

I always use static address assignment in my VMs rather than DHCP - have you tried that?

Regards.


RobMobiliy.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apple Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.