Forum Replies Created
-
AuthorPosts
-
Hi Nick,
Thanks for your reply.
I checked AppExists before AddReferences task and found that the AppExists returned ‘True’ means applications are exist.But the rest is the same story saying ‘application is missing’ in AddReferences task.
I am deploying BizA first and then followed BizB.
Thanks in advance,
Arun
March 27, 2008 at 5:22 PM in reply to: help me point disadvantages of server farm biztalk installation #19167Let me just see if I understand what you are getting at first. I assume that you are talking about running the BizTalk Server on its own SQL Instance, but running on a cluster where other active SQL instances will also be running. You are essentially sharing hardware and you are concerned that other applications can negatively impact your BizTalk environment. Is this right?
So obviously a “pro” is this will ultimately cost your company/client less money to implement as you can spread the cost of the cluster (or farm) off against several projects/programs instead of just BizTalk.
A negative is that if your hardware is not sized right you will have competition of resources and degregation of performance. The way we have BizTalk configured where I am is we have a 2 node SQL 2000 cluster (32 bit). One node is “dedicated” to BizTalk and the other node is “dedicated” to a Payroll application. Since this is a cluster, “dedicated” isn’t really a reality, should a physical node go down, the SQL intance will flip to the node that is available. This is all great in theory…until you actually lose a node like we did. We then had a Payroll run which consumed a lot of SQL resources. BizTalk hosts lost connectivity as the SQL Server was pinned and BizTalk host instances were bouncing like a Yo Yo. This lead to a disruption of service for BizTalk. So suffice to say I am a fan of BizTalk running on its own physical node(within a cluster). I am a fan of clusters, provided they are sized right( I dont think ours was) and provided the planning was in place to accomodate other applications.
Something you could propose if there are a lot of applications targeted for this is to ensure your have several nodes and perhaps even a “free” node that could be used in the event of a physical node failure. So potentially you could have an Active-Active-Passive solution. BizTalk running on an Active node, other applications running on the other Active node and in the event of a failure you still have the Passive solution to pick up the load. Or if there were several apps just spread them accross all three nodes.
Something you may also want to persue is the RAID/SAN disk configuration. A poorly configured SAN can lead to disk contention between these applications. It doesn’t matter what memory/cpu you have available if your IO is poor. Here is a good post on disk configuration: http://gregbeech.com/blogs/tech/archive/2007/05/22/san-configuration-for-biztalk-2004-2006.aspx
As you are know BizTalk lives and dies with Disk IO. If you have any doubts about the new configuration, i suggest looking into the PAL tool (http://www.codeplex.com/PAL) This tool takes a lot of the guess work out of performance counters (including Disk IO). If you have a bottleneck, you will have some “evidence” that you can take to your infrastructure group.
Nick,
If you find that the truncate works in BizTalk 2006 please let me know and I will update my blog accordingly (giving full credit to yourself for the work) – I see this problem come up time-and-time again – it’d be good to give it back to the community.
Cheers, Nick.
March 27, 2008 at 5:06 PM in reply to: CANNOT be done called MS Can two separate Biztalk 2006 R2 installs be done on the same SQL 2005 instance? #19165Kent,
That would be my take on the configuration – I know this was acceptable in BizTalk 2004 and 2006 (I have a client who is running in both of those configurations). Maybe it is an R2 ‘feature’?
Bdivine – I would suggest that if you have the time, go ahead and install that second instance of SQL Server 2005 on your SQL box and run with that configuration.
Cheers, Nick.
March 27, 2008 at 4:11 PM in reply to: CANNOT be done called MS Can two separate Biztalk 2006 R2 installs be done on the same SQL 2005 instance? #19164I find this interesting as I currently have this configuration working with a some test boxes with BizTalk Server 2006 (R1). So I am not sure if Microsoft has prevented people from doing this in R2 or not??
Here is how I have a configuration
Server A, Server B Server C ServerD
| |
| |
| |
____________________________________________________
|
|
SQL Server E
(Databases for Server A,B,C: BizTalkMgmtDb, BizTalkDTADb, BizTalkMsgBox…etc)
(Databases for Server D: upg_BizTalkMgmtDb, upg_BizTalkDTADb, upg_BizTalkMsgBoxDb…etc)
I have a similar issue I am trying to resolve. The example did work for me. The image on the post was not clear so Idb33 might not be using the write functoids. I used an existence, a Logical NOT, and two Value Mapping functoids.
Can someone think of another approach as I have very large schema definitions?
Hi Nick,
Thanks for reply and for your post in the blog. I saw it when was looking for a script.
I reckon, you run it for BizTalk 2004, because they changed tables in 2006. Now, table dta_MessageInstances does not exist, but there are some other in place.
I changed the script it looks working fine for me with BizTalk 2006 database (I did not touch rule engine related tables because it’s not an issus in my case):
use BizTalkDTADb
GO— Truncate the necessary Tables
Truncate Table dta_CallChain
Truncate Table dta_DebugTrace
Truncate Table dta_MessageInOutEventsTruncate Table dta_ServiceInstanceExceptions
Truncate Table dta_ServiceInstancesTruncate Table Tracking_Fragments1
Truncate Table Tracking_Parts1
Truncate Table Tracking_Spool1Truncate Table dta_MessageFieldValues
— update statistics
exec sp_updatestats— end of the script
I also tried to <exec sp_refreshview> for the related views, but it did not work because of SCHEMABINDING. The same reason will not allow you to drop the tables. May be that’s why you dropped views and re-created them. Anyway, I decided running refreshview is not necessary since I don’t change structure of the tables but only remove data from them.
As I said, I tested the script with success in development environment. I am changing production environment next Tuesday, and will see how it goes. Of course, I will make a full backup before changing 🙂
Regards,
Nick
Hi Arun,
I’ve just checked source code of the AddReference class.
It gives you such kind of error only if either your parent or one of the referenced applications does not exist in the BTS catalog.
If you deploy the applications in the same MSBuild script, check the order you run targets. You can also try to use Application.Exists task to check existance of your apps just before you run AddReference.
Regards,
Nick
Thanks, How do you get around that the equals only has one input? I can get it to work where it picks up the node value where present but, it doesn’t put the default value in when there is no node.. where am I going wrong?
Thanks for your help
March 27, 2008 at 1:44 PM in reply to: CANNOT be done called MS Can two separate Biztalk 2006 R2 installs be done on the same SQL 2005 instance? #19159This is what microsoft told me. The reason that I wanted to run two Biztalk installs off of one instance was to save the overhead on the server of creating another instance, Also with 2002 biztalk we run all of out test installs off of the same instance, 3 separate installs, each with identifing names. I got close to getting it to work, all except the Biztalk Runtime, I could not get more than one to run on the same SQL instance
Microsoft wrote: It was my pleasure to serve you during your Biztalk 2006 R2 Installation issue. I hope that you were delighted with the service provided to you. I am providing you with a summary of the key points of the case for your records. If you ever have any questions please feel free to call me. My contact information is below.
Based on our last phone conversation, it appears that this case is ready to be closed.
PROBLEM
========
Installation of Multiple Biztalk Message Boxes against the Same SQL Instance fails.
RESOLUTION
============
This is not a Supported installation. Each Biztalk Installation has to be against its own SQL Instance.
Thanks for your time and Patience in this matter.
Isn’t this where you’d apply the “max connections” in your btsntsvc.exe.config file? That limits how many concurrent connections go to a specific URL (or all URLs).
<configuration> <system.net> <connectionManagement> <add address = “http://www.contoso.com” maxconnection = “5” /> <add address = “http://www.northwind.com” maxconnection = “2” /> </connectionManagement> </system.net> </configuration>March 27, 2008 at 1:25 PM in reply to: CANNOT be done called MS Can two separate Biztalk 2006 R2 installs be done on the same SQL 2005 instance? #19157I’m not sure why you need to run the two BizTalk groups from the same instance of SQL Server, however if its a hardware cost issue, have you considered running a second instance of SQL Server 2005 on the same hardware?
Also, I was under the impression that two BizTalk groups could exist on the same SQL instance so long as they used different database names. Can you elaborate on what MS actually said about why the configuration would not work.
Cheers, Nick.
Hello,
If you’re after a quick win, I would suggest wrapping your legacy components in a web-service and calling them via the SOAP adapter. Some further thoughts are below.
Cheers, Nick.
[quote user="Anonymous"]
I have some legacy database components that update database, and now need to add this code to BizTalk. What would be good way to proceed –
1.Call the legacy db components directly from BizTalk orchestration?
[nickh] Probably not the best option even if you did have the time to do the development – unless you can afford to wrap each db call in an atomic scope and take the performance hit in the orchestration, you’re potentially opening yourself up to a can of worms – i.e. you lose the robustness provided by the messaging engine, retries etc.
2.Wrap legacy db components in webservices and call webservices from BizTalk orchestration?
[nickh] Probably your best option – quick and you’ll get the ‘robustness’ of the messaging engine handling the SOAP calls.
3.Split & rewrite db calls directly from orchestrations using SQL adapter (I guess this might be most efficient but seem longest path)
[nickh] Yes, most efficient, however if you’re after a quick win, this is probably the slowest option. Maybe do a combination of this and WS, moving your heavy SQL processing tasks to the SQL adapter and more light-weight tasks to WS’s.
I would like to keep conversion effort low, but don’t want to compromise performance .. any advice/suggestion is appreciated.
[/quote]
You need to use ‘Logical Existence’ functoid. I posted the solution at http://prashantbaker.blogspot.com/2008/03/detect-non-existent-nodes-in-source.html
Nick,
I’ve successfully used the truncate script on my blog (http://www.modhul.com/2008/01/03/truncating-the-biztalkdtadb-database/) to truncate the BizTalk 2006 Tracking Database. Unfortunately, I can’t remember why I dropped the views and re-created them.
Nick.
-
AuthorPosts