Installing a navision server without changing services file.

eromeineromein Member Posts: 589
edited 2005-01-18 in Navision Attain
Is it possible to install a Navision Server as service using an other port# then 2407 and not having to change the services file?
"Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."

Comments

  • DoomhammerDoomhammer Member Posts: 211
    Hi

    It is not possible. You need to modify services file on server and client side of network in order to tell the network, which port numbers are used by individual servers.

    Unix-like files Hosts and services are only way how to identify Navision servers - hosts are used for converting server IP adress to server name and services to convert port number to service name

    for example:
    hosts file
    192.168.1.1    server1 server2 server3
    192.168.1.2    server4
    
    services file
    2408 server1
    2409 server2
    2410 server3
    2411 server4
    

    it is good idea to modify services file on server before you start navision server service.

    We are talking about Navision native DB server, I do not exactly know, how works Navision SQL option (I think single sever and multiple databases)

    hope it helps :-)
    Martin Bokůvka, AxiomProvis
  • nelsonnelson Member Posts: 107
    Hi,

    According to the "Installation & System Management" manual, this is not possible. Try searching on this document for 2407.
    Nelson Alberto
  • DoomhammerDoomhammer Member Posts: 211
    Hi.

    I did small experiment

    Yesterday I tried to install Navision 3.70 DB server (server name and machine name were different) and tried to use DNS service (host IP adress and port informations) instead of Hosts and services files. I put new entry for Navi server info forward looking zone. Then I started Navision server service and tried to connect on database server. I screwed up, client ignored DNS and looked into host file for IP adress. I got standard navision's error message.

    I thought, MBS-Navision 3.70 will be capable to use "new" technologies such as DNS, but it is still unable :-)

    So I think, modifying HOSTS is the ONLY way how to install multiple servers on single machine. Client is able to work only with these files and it ignores DNS or other methods.

    M.
    Martin Bokůvka, AxiomProvis
  • PrebenRasmussenPrebenRasmussen Member Posts: 137
    My experience is, that it works fine, but only regarding the service name, not the port no. So you can not skip the services file if using nonstandard port no.

    Maybe you should try again knowing this.
  • eromeineromein Member Posts: 589
    is it possible to create more then one Host and Services files and setup windows so that is looks to multiple files to get the required info?
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • PrebenRasmussenPrebenRasmussen Member Posts: 137
    As I recall, there was a possibility of using some kind of INCLUDE statement in lmhosts.
    I am not sure if this is the case for services and hosts. But do try it out.
    I can not help you more than this, try searching other forums for INCLUDE and the mentioned files.
  • FrekieFrekie Member Posts: 19
    It is necessary to modify the services file as mentioned. But only on the server.
    It is possible to enter the navision server into the dns. Wait for replication and make sure the client has a default domain suffix.

    To connect from any client.
    Create manually a shortcut to fin.exe and enter:
    ...fin.exe" servername=navisionsvcname:portnumber.

    It does work.
  • GoMaDGoMaD Member Posts: 313
    If Active Directory is available on your network, isn't that supposed to take care of all these troubles (IP adresses and Port Numbers)?
    Now, let's see what we can see.
    ...
    Everybody on-line.
    ...
    Looking good!
  • GoMaDGoMaD Member Posts: 313
    found something, works on W2k

    open your command prompt
    browse to the directory where server.exe can be found
    enter following command:
    server servername=DBServer:3001,database=c:\data\database.fdb,cache=100000,commitcache=yes,nettype=tcp
    

    When you use this, the database service will run on port 3001 as mentionend in the example. Installasservice works without problem.

    From the client you can connect to the DBServer using the following notation in the "Server Name" field of your navision client
    (ip of DB server in example is 10.0.1.6)
    10.0.1.6:3001
    

    Hope this helps!
    Now, let's see what we can see.
    ...
    Everybody on-line.
    ...
    Looking good!
Sign In or Register to comment.