AXForum  
Вернуться   AXForum > Microsoft Dynamics NAV > NAV: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 16.08.2017, 17:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,617 / 848 (80) +++++++
Регистрация: 28.10.2006
sp-nav-tech: Navision 2009 R2 installation on production environment
Источник: http://sp-nav-tech.blogspot.com/2015...lation-on.html
==============


Navision installation on production environment
System Requirements for Microsoft Dynamics NAV 2009 R2
Navision RTC client works on Window login so, before installing anything a domain server is required. Navision three-tier architecture requires three systems (machine/servers)
1. NAVSQL (Database tier)

2. NAVSERV (Application Server (middle) tier)

3. NAVCLIENT (User systems where client to be installed)

Note: - Above machine should be on domain.


A. Hardware requirements


1. NAVSQL (Database tier)

· 8 Core, 128 GB RAM, Storage - 2 TB,
· Server should have three drive
a. One for Window (400 GB)

b. Second one for database (Storage - 1 TB)

c. Third one for backup (600 GB)

2. NAVSERV (Application Server (middle) tier)

· 8-Core, 64 GB RAM, Storage - 500 GB
3. NAVCLIENT (User systems where client to be installed)

· Client Server (RTC Client) - 8-Core, 64 GB RAM, Storage – I TB space.
4. Domain server :-Basic configuration of active directory.


B. Software requirements
1. Domain server
a. All Nav and other integration users should be created in domain
b. Require a User that has Administrator permission (eg. Navadmin )
2. NAVSQL (Database tier)
a. Microsoft Windows Server 2012 R2 (64 bit)
b. SQL SERVER 2014
c. SQL business intelligence development studio
d. Microsoft .NET Framework 3.5
e. Microsoft Core XML Services (MSXML) 6.0 Service Pack 1
f. Microsoft Report Viewer 2008
g. Microsoft Visual C++ 2008
h. Microsoft Visual J# .NET 2.0
i. Navision License
d. Database backup file

e. Navision Setup (Dynamics.NAV60R2.AUNZ.1097437.DVD) file

f. Build 33639 file.

g. Install Classic Client of Navision (See 4B)

2A Installing the Microsoft Dynamics NAV Database Components


Run Microsoft Dynamics NAV 2009 R2 Setup and select the Database Components option to configure SQL Server to work with Microsoft Dynamics NAV 2009. This option also installs the Microsoft Dynamics NAV demo database, which contains the CRONUS International Ltd. company.
To install the Microsoft Dynamics NAV database components and the demo database
1. Insert the Microsoft Dynamics NAV 2009 DVD in the drive of NAVSQL, which is the server where SQL Server is already installed.
2. On the startup page, under Install, click Microsoft Dynamics NAV.
3. On the Welcome page, click Next.
4. To accept the license terms, click I accept.
5. On the Microsoft Dynamics NAV 2009 Installer page, click Choose an installation option.
6. On the Choose an installation option page, click Database Components.
The demo database is included as part of this option.
7. On the Specify parameters page, click Install.
8. After the installation is complete, click Close to exit Setup.


2B Restore Database Backup on SQL server


1. Restore Database Backup on SQL server
(http://sp-nav-tech.blogspot.com.au/2...ql-server.html)
2. Database Name should be same as current production server
3. Create all NAV and other integration user in SQL
4. Give all User SQL Permission same as current production server


2C Creating Extended Stored Procedure / xp_ndo.dll
(http://sp-nav-tech.blogspot.com.au/2...ed-stored.html)




3. Application Server


a. Navision Setup (Dynamics.NAV60R2.AUNZ.1097437.DVD) file

b. Build 33639 file.

c. Microsoft .NET Framework 3.5

d. Microsoft Core XML Services (MSXML) 6.0 Service Pack 1

e. Microsoft Report Viewer 2008

f. Microsoft Visual C++ 2008

g. Microsoft Visual J# .NET 2.0

h. Navision License

i. Barcode Code Setup (barcode128)

j. Print To pdf (if you required)

k. Microsoft Office.

l. Default Printer (For Pick Report Printing)

3A. Installing Microsoft Dynamics NAV Server

The next step is to install Microsoft Dynamics NAV Server on NAVSERV, which is the second server computer. This is a different server computer from the one where you installed SQL Server and the Microsoft Dynamics NAV database components.
To install Microsoft Dynamics NAV Server
1. Insert the Microsoft Dynamics NAV DVD into the drive of NAVSERV.
2. On the startup page, under Install, click Microsoft Dynamics NAV.
3. On the Welcome page, click Next.
4. To accept the license terms, click I accept.
5. On the Microsoft Dynamics NAV 2009 Installer page, click Choose an installation option.
6. On the Choose an installation option page, click Server.
7. On the Specify parameters page, click Server to open the Installation Parameters pane.
8. In the SQL Server field, type NAVSQL, which is the name of the computer running SQL Server.
9. In the SQL Database field, type Demo Database NAV (6-0).
10. This is the Microsoft Dynamics NAV demo database, which contains the CRONUS International, Ltd., demonstration company.
11. Click Apply to save the Microsoft Dynamics NAV Server settings.
12. Click Install to start installing software.
13. After the installation is complete, click Close to exit Setup.




3B. Configuring for a Domain User Account

The procedures in this section are necessary only when the logon for Microsoft Dynamics NAV Server is a domain user account instead of the Network Service account. You can only perform these actions if you have domain administrator privileges.
The steps that are involved in creating a domain user account by using the Active Directory Users and Computers utility (dsa.msc) are part of the Active Directory documentation, which is included in the Windows Server documentation.
Raising the Domain Functional Level
After you create the domain user account, you must verify that the Domain Functional Level or your domain is at least Windows Server 2003 level.To determine if the functional level of your domain is at least Windows Server 2003 level and to raise it if it is not, follow these steps:
1. Choose Run from the Start menu in Windows, type dsa.msc, and then press ENTER.
This opens the Active Directory Users and Computers utility. This utility is part of Windows Server 2003 or Windows Server 2008.
2. Right-click the domain where Microsoft Dynamics NAV is installed, and then click Raise Domain Functional Level.
If the level is at least Windows Server 2003, then you can close the utility. Otherwise, continue to the final step.
3. Under Select an available domain functional level, click Windows Server 2003, and then click Raise.


3C. Change the Logon Account for the Microsoft Dynamics NAV Server Service and the SQL Server Service
Change the logon account for the Microsoft Dynamics NAV Server service and the SQL Server service to use your domain user account. For information about how to configure Windows Services, see How to: Configure Windows Services.


3D.Enabling the Object Change Listener
The Object Change Listener (OCL) component of Microsoft Dynamics NAV Server monitors the database for changes that are made to application objects, such as adding a new field to a page. If OCL cannot start because of permissions errors, then you cannot connect clients to the server. When you try to start the RoleTailored client, you see the following message:
Cannot connect the Change Listener to SQL Server.
For more information, see Enabling the Object Change Listener.


To enable and assign minimum permissions for the Object Change Listener


1. Open SQL Server Management Studio, and then connect to your SQL Server instance.
2. On the File menu, point to New, and then click Query with Current Connection.
3. Type the following SQL statements.
4. USE MASTER
5. CREATE LOGIN [ReplaceWithNAVServerAccount] FROM WINDOWS;
6. GO
7. Highlight the lines that you typed, and then on the Query menu, click Execute.
8. Type these lines after the existing lines.
9. USE [ReplaceWithYourDatabaseName]
10. CREATE USER [ReplaceWithNAVServerAccount] FOR LOGIN [ReplaceWithNAVServerAccount];
11. Highlight the lines that you just typed, and then on the Query menu, click Execute.
12. Type these lines after the existing lines.
13. CREATE SCHEMA [$ndo$navlistener] AUTHORIZATION [ReplaceWithNAVServerAccount];
14. GO
15. Highlight the lines that you just typed, and then on the Query menu, click Execute.
You may see an error stating that the schema in question already exists. You can ignore this error.
16. Type these lines after the existing lines.
17. ALTER USER [ReplaceWithNAVServerAccount] WITH DEFAULT_SCHEMA = [$ndo$navlistener];
18. GRANT SELECT ON [Object Tracking] TO [ReplaceWithNAVServerAccount];
19. GO
20. Highlight the lines that you just typed, and then on the Query menu, click Execute.
  • Save your query to keep a record of these actions.
You can use these commands again when you create a new database or change the account that you use to run Microsoft Dynamics NAV Server.


3E. Giving the Domain User Account Permissions for the Server Folder


The next step is to give the domain user account full permissions for the Microsoft Dynamics NAV Server folder on the computer where you installed Microsoft Dynamics NAV Server.
To grant the domain user account permissions on the Microsoft Dynamics NAV Server folder
  • In Windows Explorer, navigate to the Microsoft Dynamics NAV Server folder on the computer where you have installed Microsoft Dynamics NAV Server. On Windows Server 2003, the default location is:
Documents and Settings\All Users\Application Data\Microsoft\Microsoft Dynamics NAV\60
On Windows Server 2008 or Windows Vista, the default location is:
ProgramData\Microsoft\Microsoft Dynamics NAV\60\
  • Right-click the Service folder, and then click Properties to open the Service Properties dialog box.
  • Click the Security tab.
  • Select the domain user account from the list in the top half of the dialog box, and then, in the Permissions for section in the bottom half, select Allow next to the Full Control permission.
This grants the domain user account full control of the folder.
  • Select the NETWORK SERVICE account in the top half, and then clear the Allow field next to the Full control permission in the bottom half.
This revokes permissions on the folder for the Network Service account. No account other than your domain user account should have access to the server folder.
  • Click OK to close the Service Properties dialog box.


3F. Setting Up Delegation


When the RoleTailored client, Microsoft Dynamics NAV Server, and SQL Server are installed on separate computers, the client interacts with the database through an intermediate computer, which is running Microsoft Dynamics NAV Server. The server is performing actions on the client's behalf. This process is known as impersonation.
Delegation is when a front-end service forwards the client’s request to a back-end service so that the back-end service can also impersonate the client. Complete the procedures in this section to set up delegation on your Microsoft Dynamics NAV installation. For more information on delegation, see How To: Set Up Delegation.
Create Service Principal Names
The first step in setting up delegation is to create service principal names (SPN). To make delegation more secure, Active Directory uses Kerberos to authenticate services. An SPN is the name by which a client uniquely identifies an instance of a service, using the account under which the service runs. You must create one SPN for the Microsoft Dynamics NAV Server service and one SPN for the SQL Server service to make delegation work.
To create service principal names
  • Open an elevated command prompt. To do this, click Start, and then in the search window, type Command Prompt. Right-click Command Prompt, and then click Run as administrator.
  • At the command prompt, create an SPN for the Microsoft Dynamics NAV Server service. The syntax is:
3. setspn -A InstanceName/FullyQualifiedDomainNameOfServer:Port Domain\User
Using NAVSERV, which is the computer running Microsoft Dynamics NAV Server, and DynamicsNAV, which is the default instance name for Microsoft Dynamics NAV Server, the actual command has the following format:
setspn -A DynamicsNAV/NAVSERV.yourDomain.yourCompany.com:7046 yourDomain\yourUser
Replace "yourDomain," "yourCompany," and "yourUser" with the appropriate values.
  • Create an SPN for the SQL Server service. This service runs on the NAVSQL computer with a default instance name of MSSQLSvc. Type the following command:
5. setspn -A MSSQLSvc/NAVSQL.yourDomain.yourCompany.com:1433 yourDomain\yourUser
Again, replace "yourDomain," "yourCompany," and "yourUser" with the appropriate values.
Delegating Access to the SQL Server Service
Configuring delegation means explicitly configuring the Microsoft Dynamics NAV Server service on NAVSERV to delegate its access to the database server on behalf of the RoleTailored client. To make the access more secure, you specify delegation to a specific service on a specific server. In this walkthrough, you specify delegation on the SQL Server database service (MSSQLSERVER). This is known as constrained delegation.
You must run the following procedure on a computer where the Active Directory Users and Computers utility (dsa.msc) is available.
To delegate access to the SQL Server service
  • Click Start, and then click Run.
  • In the Open field, type dsa.msc.
This opens the Active Directory Users and Computers utility.
  • Right-click the node for the domain where you have installed Microsoft Dynamics NAV, and then click Find.
  • In the Find Users, Contacts, and Group dialog box, type the name of the domain user in the Name field, and then press ENTER.
  • In the Search results area, right-click the domain user, and then click Properties.
  • On the Delegation tab, click Trust this user for delegation to specified services only, and then click Use Kerberos only.
There is also the option to not restrict authorization to Kerberos, although the environment is not as secure when you are less restrictive. Your decision must be reflected in the value that you assign to the AllowNtlm setting in the RoleTailored client configuration file (ClientUserSettings.config). For details, see Configuring the RoleTailored Client.
  • Click Add to open the Add Services dialog box.
  • Click Users or Computers, and then specify the domain user.
  • In the list of services for the domain user, click MSSQLSvc, which is the SQL Server service.
  • Click OK to close the Add Services dialog box. Continue clicking OK to close all open dialog boxes.
Delegation from the domain user to the SQL Server service on a separate computer is now enabled.


3G. Install Classic Client of Navision (See 4B)
3H. Install RTC Client of Navision (See 4A)




4. Client (Role Tailored Client & Classic Client)


a. Microsoft Windows Server 2012 R2 (64 bit)

b. Navision Setup (Dynamics.NAV60R2.AUNZ.1097437.DVD) file

c. Build 33639 file.

d. Microsoft .NET Framework 3.5

e. Microsoft Core XML Services (MSXML) 6.0 Service Pack 1

f. Microsoft Report Viewer 2008

g. Microsoft Visual C++ 2008

h. Microsoft Visual J# .NET 2.0

i. Barcode Code Setup (barcode128)

j. Microsoft Office

k. Print To pdf (if you required)

l. RDP (Terminal Licenses)

4A. Installing the RoleTailored Client


The third and final tier is the client tier. The first task is to install the RoleTailored client to a workstation computer.
To install the RoleTailored client
1. Insert the Microsoft Dynamics NAV DVD into the drive of NAVCLIENT, which is your Microsoft Dynamics NAV client computer.
2. On the startup page, under Install, click Microsoft Dynamics NAV.
3. On the Welcome page, click Next.
4. To accept the license terms, click I accept.
5. On the Microsoft Dynamics NAV 2009 Installer page, click Choose an installation option.
6. On the Choose an installation option page, click Client to install the RoleTailored client.
7. On the Specify parameters page, click RoleTailored client to configure the component.
8. In the Installation Parameters dialog box, type NAVSERV, which is the name of the computer running Microsoft Dynamics NAV Server, in the Server Name field.
You should fully qualify the domain name in this field (in the form YourServer.YourDomain.YourCompany.com).
  • Click Apply, and then click Apply on the Specify parameters page to start installing software.
  • After installation is complete, click Close to exit.


4B. Installing the Classic Client


To install the Classic client

1. Insert the Microsoft Dynamics NAV 2009 DVD into the drive of your computer.
The Startup pane presents a set of options in sections entitled Prepare, Install, and Join the Community.
2. Under Install, click Microsoft Dynamics NAV.
If you have already installed one or more Microsoft Dynamics NAV components on the computer, you will see the Maintenance pane instead of the Welcome pane. In this case, click Add or remove components and go to step 7.
3. Click Next to move past the Welcome pane.
4. To indicate acceptance of the license terms, click I accept.
5. On the Microsoft Dynamics NAV 2009 Installer pane, click Choose an installation option.
6. On the Choose an Installation Option pane, click Custom Components.
7. On the Customize the Installation pane, click Classic client to display a menu of three options; from this menu, select Run from My Computer.
8. Click Next to proceed to the Specify Parameters pane, where you see Classic client listed.
9. Click Install.
10.When Setup is finished, click Close.


5. NAS (Classic Application Server).


Application Server is a component of the Classic Architecturein Microsoft Dynamics NAV 2009.
While you run Microsoft Dynamics NAV 2009 Setup, you can provide configuration information for Application Server.
Configuring Application Server in Setup
You can configure Application Server while running Microsoft Dynamics NAV 2009 Setup. You must first select the Application Server as a component to install. To do this, select the installation option that includes the NAV Server: the Classic Server Components Option. For more information, see Installation Options.
You can also customize your installation and customize the list of components to install. For more information, see How to: Choose Components to Install.
After you choose the Classic Server Components option, or customize your component list to include Application Server, the Specify parameters pane is displayed in Setup. ClickApplication Server (the underscore indicates that this component is configurable) to open an Installation Parameters pane.
Settings
Parameter
Description
Service name
Specifies the service name for the Classic Database Serverthat Application Server connects to.
Service name SQL
Specifies the service name for the SQL Server database server that Application Server connects to.
The list of parameters that you see in the Specify parameters pane varies, depending on which components you have selected for configuration. The following parameters pertain to Application Server.
Click Apply when you have finished entering values to return to the Specify parameters pane in Setup.
Only one of these parameters is meaningful, depending on which type of database server Application Server connects to. Use Application Server Manager (described below) to specify whether Application Server connects to a Classic database server or an SQL Server database server.
Configuring Application Server after Installing

After you install Application Server, use Application Server Manager to modify its properties. With Application Server Manager you can modify the two properties that you configured with Setup, or any additional properties.
Configuration information about Application Server is available in w1w1atas.pdf ("Installation & System Management: Application Server for Microsoft Dynamics NAV"). To obtain this manual, go to Microsoft Dynamics NAV 5.0 Developer and Installation Guidespage in the Microsoft Download Center and download w1w1atas.pdf.


Источник: http://sp-nav-tech.blogspot.com/2015...lation-on.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
sp-nav-tech: Export and Split Navision objects using Windows PowerShell in NAV 2015 Blog bot NAV: Blogs 0 16.08.2017 17:11
german_nav_developer: Buildnummern-Übersicht Microsoft Dynamics NAV 2013 Blog bot NAV: Blogs 0 15.05.2016 18:12
NAV Team: Upgrading from Microsoft Dynamics NAV 2009 R2 or Microsoft Dynamics NAV 2009 SP1 to Microsoft Dynamics NAV 2015 Blog bot Dynamics CRM: Blogs 0 23.02.2015 13:00
NAV Team: Transport Security in Microsoft Dynamics NAV 2009 R2 Blog bot Dynamics CRM: Blogs 0 01.02.2011 19:53
german_nav_developer: Buildnummern-Übersicht Microsoft Dynamics NAV 2009 SP1 Blog bot Dynamics CRM: Blogs 0 11.06.2010 16:33

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 04:10.