Options

How to add new service tier for rtc client

AmaraaAmaraa Member Posts: 153
edited 2009-09-16 in NAV Three Tier
Hello all,

I want to have 2 or more nav server service running in my machine.
I found out how to display 2 or more servers in rtc.
However, I'm confusing on how to add a Service Tier.

I copied the Service directory to another location, changed the config that needed to.
Instance, DB Name, Port.
And wrote:
SC CREATE testServiceTier binpath= "C:\Program Files\Microsoft Dynamics NAV\60\test\Microsoft.Dynamics.Nav.Server.exe" start= auto obj= "NT Authority\NetworkService"
in cmd. But, it says cannot start service.

What should I do.

Thanks,
Amaraa

Comments

  • Options
    epdepd Member Posts: 8
    edited 2009-09-10
    Net.Tcp Port Sharing service should be enabled and running in order to have multiple instances of NAV Server service running.

    Include the dependency for NetTcpPortSharing in the NAV Server service. Delete and recreate the second service to use TCP Port sharing using the following command:

    SC CREATE testServiceTier binpath= "C:\Program Files\Microsoft Dynamics NAV\60\test\Microsoft.Dynamics.Nav.Server.exe" start= auto obj= "NT Authority\NetworkService" type= own depend= NetTcpPortSharing

    Start the Net.Tcp Port Sharing service and then start the second NAV Server service. It should work.

    Regards,
    JK Ezhil
  • Options
    krikikriki Member, Moderator Posts: 9,096
    [Topic moved from 'NAV/Navision' forum to 'NAV 2009' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Options
    kamranshehzadkamranshehzad Member Posts: 165
    here is a complete guide and script to add new service tear..

    http://blogs.msdn.com/freddyk/archive/2 ... tiers.aspx

    thanks to freddy...

    regards,
    KS
  • Options
    kinekine Member Posts: 12,562
    Or look at my blog, there is application which will do it for you, and it is in the download section too... ;-)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    AmaraaAmaraa Member Posts: 153
    kine wrote:
    Or look at my blog, there is application which will do it for you, and it is in the download section too... ;-)
    Thanks :D
  • Options
    Peter_Wibeck_[MSFT]Peter_Wibeck_[MSFT] Member, Microsoft Employee Posts: 78
    I could not find the tool you are talking about. Can you post the direct link?
    “This posting is provided "AS IS" with no warranties, and confers no rights.”

    Peter Wibeck
    Software Development Engineer in Test
    Dynamics NAV Server and Installer team
    http://blog.wibeck.org/
  • Options
    kinekine Member Posts: 12,562
Sign In or Register to comment.