[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Inconsistency in setting up client/server environments in Virtual PC

Posted on 2011-10-05
Medium Priority
Last Modified: 2013-11-23

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?

Question by:DalTXColtsFan
  • 2
LVL 21

Expert Comment

ID: 36919021
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.
LVL 12

Assisted Solution

FarWest earned 668 total points
ID: 36919050

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

LVL 21

Accepted Solution

oleggold earned 664 total points
ID: 36919052
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
LVL 25

Assisted Solution

RobMobility earned 668 total points
ID: 36930205

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



Featured Post

Cyber Threats to Small Businesses (Part 2)

The evolving cybersecurity landscape presents SMBs with a host of new threats to their clients, their data, and their bottom line. In part 2 of this blog series, learn three quick processes Webroot’s CISO, Gary Hayslip, recommends to help small businesses beat modern threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
In this article will go through how to backup a vPostgres DB from a broken vCenter Appliance and restore to a new vCenter Appliance.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question