BizTalk 101 - Back to Basics

BizTalk & Connected Systems Patterns and Practices from Alan Smith in Stockholm
posts - 44, comments - 22, trackbacks - 124

My Links

News

Article Categories

Archives

Post Categories

Bloggers Guides

Changing a VPC Computer Name with BizTalk

Im looking at using Virtual PC with a team of BizTalk developers. The idea is to install the dev env (Server 2003, SQL Server, Visual Studio, BizTalk etc) on a virtual PC image, and then each team member uses a copy of the image to develop with.

We have network problems if two or more images with the same computer name are started with network access (to SourceSafe). So I attempted to change the computer name in an image. After a while I managed to do it like this:

Export any information from the BizTalk databases (business rules etc.)
Run ConfigFramework /u
Delete BizTalk jobs in SQL Server Agent
Delete BizTalk logons in SQL Server Security
Delete BizTalk databases
Change computer name
Re-start computer
Change SQL Server Name (with sp_dropserver, sp_addserver)
Run ConfigFramework
Change BizTalkMgmtDB connection in Visual Studio
Change rules engine DB connection in Business Rules Policy Editor
Re-enable BackupBizTalk server DBs job
Add any Hosts and host instances using BizTalk Server Administration
Import information to the BizTalk databases (business rules etc.)

I'm wondering if anyone else is using VPC with a BizTalk team, and has come across this issue, or has any tips. (I'll post an article here and include any feedback).

Is there a workaround for having multiple VPCs with the same name? And is there an 'easy' way to change the name of a BizTalk box?

Update
Another Stockholm BizTalk guy called Ali pointed me to this. Looks like it's easy to avoid the "world of pain" of re-naming the VM PC, thanks to Dunk (wonder why that never got in the Bloggers Guide??). I'd still be keen to know if the re-naming procedure could be optimised...

 

 

 

 

Print | posted on Tuesday, April 26, 2005 5:59 PM |

Feedback

Gravatar

# re: Changing a VPC Computer Name with BizTalk

I am about do a similar configuration like your requirements described, with the difference that I use Vitual Servers 2005 not Virtual PC 2004. The entire server farm (setup as recommended by MS guide – 4 computers deployment scheme) is hosted on a physical server box. I notice you can use Sysprep to re-identity the virtual server image, incuding new SIDs, machine names, etc. Would this help. I guess Sysprep can always run regardless to gain a new image identity, right?
4/28/2005 4:52 PM | Jingye Luo
Gravatar

# re: Changing a VPC Computer Name with BizTalk

I have read, heard, experienced, complained at the beta testing that BizTalk is not renamable. According to your description how to workaround it, I would have a VPC without BizTalk pre-installed instead. The BizTalk setup is quite fast, probably faster than all the uninstall, export, re-install and import is.

Perhaps it is better to create an unattended Windows installation (SysPrep, NewSID etc) instead where you choose a mini-setup only requiring the user to change the computer name, everything else preinstalled. And then after that you add a .reg-file with RunOnceEx settings, which will make the installation complete:
OSQL.Exe with sp_dropserver [oldName] sp_addserver [newName],local and then an unattended BizTalk installation.

5/11/2005 9:47 PM | Niklas Engfelt
Gravatar

# re: Changing a VPC Computer Name with BizTalk

Thanks for that Niklas,

I have chatted to a few other people who have said the same thing you are saying. I'll take a look at sysprep soon, and look at doing it that way.

Regards,

Alan
5/14/2005 4:59 PM | Alan Smith
Gravatar

# re: Changing a VPC Computer Name with BizTalk

Alan,

I'm very curious to know how your development team is doing using Virtual PC. Any issues during development? Accessing VSS?, etc... I'm working with a group that is currently re-working how biztalk development is done and I'm recommending A virtual image of BTS on the local workstation with VS and other tools on the Host OS

Thanks..!!..
5/24/2005 3:38 PM | T Rivers
Gravatar

# FAO T Rivers

Hi T,
(I didn't get your email address, can you send it to me via the contact form?)

>>I'm very curious to know how your development team is doing using Virtual PC.

I think I've got this one sorted now, I'll blog about it soon.

Basically what I do is install everyting, then run ConfigFramework to generate the Config.xml, but then exit before configuring BizTalk. I then SysPrep the image, and pass it on to other team members.

When the image is started, the Mini-Setup runs, and the PC name is set. You can then use a BAT file to run the ConfigFramework with the Config.XML file.

There's a few other points, and a couple of gotchas, I'll cover those in more detail soon.

Cheers,

Alan
5/24/2005 5:00 PM | Alan Smith
Gravatar

# re: Changing a VPC Computer Name with BizTalk

Hi Alan,
I'm just looking at doing the same now with VPC or VirtServer.
1. Which would you recommend for a developers machine VPC or Server?
2. <<Basically what I do is install everyting, then run ConfigFramework to generate the Config.xml, but then exit before configuring BizTalk. I then SysPrep the image, and pass it on to other team members.>>

Does SysPrep handle the SQL Server name change or do you have to do that manually first as you described?

Cheers
Gar

6/29/2005 12:00 PM | gar
Gravatar

# re: Changing a VPC Computer Name with BizTalk

>>1. Which would you recommend for a developers machine VPC or Server?

I've only used VPC but it seems to wirk fine. Other guys on my team use Virtual Server to host our test BizTalk environment, which works well.

>>Does SysPrep handle the SQL Server name change or do you have to do that manually first as you described?

You will still need to run an SQL script to change the SQL Server name after running SysPrep.

/Alan
6/30/2005 8:53 AM | Alan
Gravatar

# re: Changing a VPC Computer Name with BizTalk

I really should start blogging again sometime :-)
12/15/2005 10:00 AM | Dot Net Dunk
Gravatar

# re: Changing a VPC Computer Name with BizTalk

What type of network model are these virtual machines using? Is it possible to make all of the VPC dev machines local DC's that matched your live system domain model (in terms of user and system accounts). If you happen to be running SQL on the same box then it would be possible to also copy that on the VPC machine. Then if the machines were NAT hidden from each other this should be cool??? That way you would have a complete similar image that could be used by a number of machines????? Yes or No ???? Or should I just use local system accounts on the VPC machine and forget about DCs letting the live config deal with it when the solution is deployed on the 'real' test server.

Cheers,

JOH
12/20/2005 8:22 AM | JOH
Gravatar

# re: Changing a VPC Computer Name with BizTalk

Have you tried NOT renaming the VPCs and simply using SharedNAT for the network settings? This allows the VPC name to be shielded from the network, yet allows connection to things like SourceSafe. We have used this with a team of about 20 developers all using the same VPC image.
1/14/2006 12:18 PM | JB
Gravatar

# re: Changing a VPC Computer Name with BizTalk

>>Have you tried NOT renaming the VPCs and simply using SharedNAT for the network settings?

We tried this, but we were getting realy slow network performance. I have heard of other people getting good results with this though.

Regards,

Alan
1/14/2006 4:56 PM | Alan Smith

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 6 and 3 and type the answer here:

Powered by: