Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Biztalk Managemnt
- This topic has 6 replies, 1 voice, and was last updated 9 years, 1 month ago by
community-content.
-
AuthorPosts
-
-
May 25, 2009 at 6:58 AM #22476
Hello all,
I have a question related to biztalk host and host instances.
When i use only one machine. What is the advantage of defining a second host instance on the same machine?
From the documentation
“And because each host instance is isolated from every other host instance—they’re different processes—it is safer to run code that is not completely trusted, such as a new custom adapter, in a separate instance”
-
May 25, 2009 at 5:49 PM #22481
Here is what i can think of:
- each host can be setup as “trusted” or “non-trusted” authentication mode
- we can setup specific host for orchestrations, receive ports or send ports
-
May 25, 2009 at 11:13 PM #22483
Hi
Suppose u have huge no ports and orchestrations, that situations we are using single host instance
It is taking more load, so for load balancing can use multiple host instances….
-
May 26, 2009 at 2:25 AM #22484
Anon,
There are two approaches for BizTalk Hosts and Host
Instances:- If you have multiple machines, you can scale out
Hosts by creating Host Instances on each machine
in the BizTalk Group to give redundancy and load balancing to the Hosts. You
may, for example, have a heavily loaded orchestration and you want to distribute
the load across all three servers in a BizTalk Group. You would achieve this by
running the orchestration on host ‘A’ and creating a Host Instance on each
server in the Group for that Host. This approach also achieves redundancy: if
server 1 were to fail and go offline, the other two servers will continue to
process that orchestration. - If you have a single machine, you can only have one Host
Instance per Host (you cannot have two Host Instances with the same name on a
server), however you can create multiple Hosts and run each part of your
solution in a separate Host. For example, you could run the receive side of your
communications on Host_Receive, your workflow (orchestrations) or
Host_Orchestrations, and send communications on Host_Send. This will distribute
the load within the single server as each Host Instance runs within a separate
process, however you will not be able to achieve redundancy. This is a basic
setup and you may want to go even further – my current customer is using
individual hosts for each comms channel and a host for each BizTalk Application
to run Orchestrations.
I always try and guide customers towards the first
option so that they can achieve redundancy in addition to load balancing as any
enterprise solution needs high-availability; however to have more than one
BizTalk server in a BizTalk Group, you will need to go for an Enterprise Licence
– the costs increase, but are worth it IMHO.Hope this helps, if
you need any further clarification, drop me a line.Rgds,
Nick.-
May 27, 2009 at 12:45 AM #22497
Hello Nick,
Thank you for your answer.
In my case i have only one machine and if i understanded corectly in a basic configuration i should set 3 Hosts. 1 for receive part of my solution, 1 for orchestrations and one for send part of my solution.
The basic ideea is that when i use separate hosts i have individual processes per host an i get better performance even if i acttualy have 1 machine.
-
May 27, 2009 at 6:35 AM #22502
Correct, however I wouldn’t limit myself to just three Hosts/Host Instances, look at your load and see what fits your configuration best.
You may for example need to have several hosts for the receive side (say a FILE Receive Host, FTP Receive Host and a HTTP Receive Host), with the same on the send side. Creating several hosts – one per communications protocol – will stop heavy load on the FILE adapter slowing your FTP adapter for example*.
You may also take a look at your orchestrations and see that one orchestration is being heavily loaded; if this is the case, create a new Host for the remainding orchestrations to distribute the load.
Hope this helps,
Rgds, Nick.
* I’m using these adapter generically – I obviously don’t know what is in your actual solution.
-
May 27, 2009 at 11:58 AM #22507
Hello
I have a license for 1 CPU Biztalk 2006 R2.
I can set how many Host instances i want and the only limitation is that i use only one phiscal machine?
I in my solution i have 7 orchestrations that call 7 diferent web services. The web service called returns an untyped message. It is an ideea to set 7 host instances one for each orchestration. and another two for the receive ports and for send ports.
The files returned by webservice can reach 200 mb and they don’t have a fixed structure (xsd schema) (untyped messages).
-
-
- If you have multiple machines, you can scale out
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.