24
Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

Embed Size (px)

Citation preview

Page 1: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

Sofia Event Center

14-15 May 2014

Aleksandar TotovićERP Consulting Director, NPS Serbia

Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

Page 2: 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?

Page 3: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

Enterprise Resource Planning

Microsoft Dynamics Family

What’s Microsoft Dynamics NAV?

Page 4: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

What is Windows Azure?

Microsoft

Cloud Platfor

mOpen

Flexible

Scalable

Page 5: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

“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.

Page 6: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

How to sign-up?

1 minute

1)Windows Azure Management Portal

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

b) Organizational Account

Page 7: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

Try it for free

https://manage.windowsazure.com

Page 8: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

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

Page 9: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

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

Page 10: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

PowerShell

• Microsoft Dynamics NAV 2013 R2 Administration Shell

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

Page 11: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

PowerShell – scripts

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

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

2. Customization only in new folder

Page 12: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

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

Page 13: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

NAV Deploying Process on Azure• Import Set-PartnerSettings-

CUSTOM• Run Example-1VM or Example-

2VM• Waiting 30-60 minutes

Page 14: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

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

Page 15: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

What Missing?

1. SOAP

a) Port Assign

b) Service Activate

2. OData

a) Port Assign

b) Service Activate

Page 16: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

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

• ...

Page 17: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

User Experience

Demo

Page 18: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

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

Page 19: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

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

Page 20: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

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

Page 21: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

Migration on Multi-Tenancy

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

Database• Mounting Tenants with App

Database

Page 22: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

Why?

• Simple

• Administration Knowledge Not Needed

• Security

• Possible Mix of Topologies

• Lower Cost at Start

• Predictable Operating Costs

• ...

Page 23: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

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

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

Page 24: Sofia Event Center 14-15 May 2014 Aleksandar Totović ERP Consulting Director, NPS Serbia Deploying Microsoft Dynamics NAV 2013 R2 ’ON’ Windows Azure

See you next year...

@atotovic

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

www.linkedin.com/in/aleksandartotovic