Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying...

Preview:

Citation preview

Sofia Event Center

14-15 May 2014

Aleksandar TotovićERP Consulting Director, NPS Serbia

Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

Agenda

• What is Microsoft Dynamics NAV• What is Windows Azure?• How to sign-up?• Preparing for NAV Deploying• Network Topologies• Deploying NAV on Windows Azure• Administration Tools• Management & User Experience• Why?

Enterprise Resource Planning

Microsoft Dynamics Family

What’s Microsoft Dynamics NAV?

What is Windows Azure?

Microsoft

Cloud Platfor

mOpen

Flexible

Scalable

“The sky's the limit.”

Miguel de Cervantes

Don Quixote, 1605

“The sky's No limit at all,be a dreamer.”

Jeanne Tessier Barone 1996.

How to sign-up?

1 minute

1)Windows Azure Management Portal

2)Sign-up with:a) Windows Live ID (MS Account)

b) Organizational Account

Try it for free

https://manage.windowsazure.com

Preparing for Deploying

1)Install Windows Azure Cmdlets module

2)Configure Link with Windows Azure

3)Get-AzurePublishSettingsFile

4)https://windows.azure.com/download/publishprofile.aspx

5)Follow Instructions

6)Import-AzurePublishSettingsFile C:\<myfile>.publishsettings

Preparing for Deploying

• Prepare NAV installation DVD

• Change Actual License on Installation DVD

• Change Database (*.bak) on Installation DVD

• Copy WindowsPowerShellScripts folder

• Scripts Customization

• We use only PowerShell

PowerShell

• Microsoft Dynamics NAV 2013 R2 Administration Shell

• Windows PowerShell ISE – easier!• Import commands from NAV module

PowerShell – scripts

1. We use following PS scripts:a)Set-PartnerSettings->Set-

PartnerSettings-CUSTOMb)Example-1VMc) Example-2VM

2. Customization only in new folder

Network Topology Types

• Two topology types:

Azure – Virtual Network

SOAP (http://)

Odata (http://)

Web Client (https://)

Windows Client (net.tcp://)

NAV Web ServerNAV Server

SQL and NAV Database

Cloud Service

Azure – Virtual Network

SOAP (http://)

Odata (http://)

Web Client (https://)

Windows Client (net.tcp://)

NAV Web ServerNAV Server

SQL ServerNAV Database

Cloud Service Cloud Service

NAV Deploying Process on Azure• Import Set-PartnerSettings-

CUSTOM• Run Example-1VM or Example-

2VM• Waiting 30-60 minutes

Results

1. Website on IIS; NAV Web client instance; https

2. NAV Server instance connected with NAV database

3. NAV database:a)License Configuredb)Company Createdc) One User with SUPER role

4. NavUserPassword authentication type5. NAV Windows Client available through

ClickOnce6. NAV Web Client available through Web

Browser

What Missing?

1. SOAP

a) Port Assign

b) Service Activate

2. OData

a) Port Assign

b) Service Activate

Administration Tools

• Windows Azure Management Portal

• Only PowerShell by default

• There are other tools by additional installationo Microsoft Dynamics NAV 2013 R2

Administration

o Visual Studio

• ...

User Experience

Demo

Multi-tenancy

• What is Multi-tenancy?• Why use Multi-tenancy?• Topology Changes

SQL Server

NAV

Database

Client 1

Client 2

SQL Server

NAV

Database

RTC Client 1

RTC Client 2

NAV Server

Session 1

Session 2

RTC Client 3

SQL Server

NAV

Database

Windows Client 1

Web Client 3

NAV Server

Session 1

Session 2

Windows Client 5

SPP Client 2

Web Services Client

SQL ServerClient 1

Client 2

NAV Server

Session 1

Session 2

Client 3

Tenant 2

Tenant 1

Application

Session 1

Session 2

Tenant 2

Tenant 1

Network Topology Types

DatabaseCompany 1

OS

NAV Server

DatabaseCompany 2

OS

NAV Server

DatabaseCompany 3

OS

NAV Server

OS

NAV Server

DatabaseCompany 1 - Company 2 – Company 3

DatabaseCompany 1

OS

NAV Server

DatabaseCompany 2

NAV Server

DatabaseCompany 3

NAV ServerNAV Server

DatabaseCompany 1

OS

Tenant 1

DatabaseCompany 2

Tenant 2

DatabaseCompany 3

Tenant 3

APPObjects

Single-Instance Multiple-Company

Multiple-Instance Multi-Tenants

Migration on Multi-Tenancy

• Initial Database Creation• App Database Export• App Tables Removing from Initial

Database• Mounting Tenants with App

Database

Business Data

Remove-NAVApplication App Data

Business Data

App Data App Data

Export-NAVApplication

Business Data App Data

Mount-NAVTenant

Migration on Multi-Tenancy

• Initial Database Creation• App Database Export• App Tables Removing from Initial

Database• Mounting Tenants with App

Database

Why?

• Simple

• Administration Knowledge Not Needed

• Security

• Possible Mix of Topologies

• Lower Cost at Start

• Predictable Operating Costs

• ...

Questions???Share your feedback for this particular sessionand for the overall conference experience at

http://aka.ms/intouchfor a chance to win our prizes!

See you next year...

@atotovic

https://community.dynamics.com/nav/b/nav4construction/default.aspx

www.linkedin.com/in/aleksandartotovic