You are on page 1of 90

Disclaimer

The information and data contained in this document are subject to


change without prior notification. The names and data used in the examples are imaginary, if not stated otherwise. No part of this document may
be reproduced or transmitted for any use, in any form or by any means,
electronically or mechanically without the prior written permission of PTV
AG.

Warranty Restrictions
Although every precaution has been taken in the preparation of this guide,
the publisher and author assume no responsibility for errors or omissions.
Notes on errors will be gratefully received at any time.

Copyrights
02/04/15 PTV, HERE, AND
All brand or product names are trademarks or registered trademarks of
the corresponding companies or organisations. All rights reserved.

Further Copyrights
Europe
Austria: Bundesamt fr Eich- und Vermessungswesen Belgium: Realized
by means of Brussels UrbIS
Croatia, Cyprus, Estonia, Latvia, Lithuania, Moldova, Poland, Slovenia
and/or Ukraine: EuroGeographics
Denmark: "Includes data available from the U.S. Geological Survey."
Finland: Contains data from the National Land Survey of Finland Topographic Database 06/2012
France: source: IGN France 2009 - BD TOPO
Germany: Die Grundlagendaten wurden mit Genehmigung der zustndigen Behrden entnommen
Great Britain: Contains Ordnance Survey data Crown copyright and
database right 2010
Contains Royal Mail data Royal Mail copyright and database right 2010
Greece: Copyright Geomatics Ltd.

Guernsey: The States of Guernsey, The States of Alderney, The Chief


Please of Sark, The Royal Court of Guernsey
Ireland: Contains data made available by the Dublin City Council Multi
Story Car Parking Space Availability as of 2013-11-02
Italy: La Banca Dati Italiana stata prodotta usando quale riferimento anche cartografia numerica ed al tratto prodotta e fornita dalla Regione Toscana.
Norway: Copyright 2000; Norwegian Mapping Authority
Portugal: Source: IgeoE Portugal
Spain: Informacin geogrfica propiedad del CNIG
Sweden: Based upon electronic data National Land Survey Sweden.
Switzerland: Topografische Grundlage: Bundesamt fr Landestopographie.

World Markets
Asia Pacific
Australia "Australia Hema Maps Pty. Ltd, 2014.
Copyright. Based on data provided under license from PSMA Australia
Limited (www.psma.com.au).
Product incorporates data which is 2014 Telstra Corporation Limited,
GM Holden Limited, Intelematics Australia Pty Ltd, NAVTEQ International
LLC, Sentinel Content Pty Limited and Continental Pty Ltd.

Middle East/Africa
Israel: Survey of Israel data source
Jordan: Royal Jordanian Geographic Centre
Mozambique: Certain Data for Mozambique provided by Cenacarta
2014 by Cenacarta.
Runion: source: IGN 2009 - BD TOPO

TCP/IP Interface
Portions of this software are Copyright (c) 1993 - 2001, Chad Z. Hower
(Kudzu) and the Indy Pit Crew - http://www.nevrona.com/Indy/ Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation,
about box and/or other materials provided with the distribution.
No personal names or organizations names associated with the Indy project may be used to endorse or promote products derived from this software without specific prior written permission of the specific individual or
organization.
THIS SOFTWARE IS PROVIDED BY Chad Z. Hower (Kudzu) and the Indy Pit
Crew "AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

Legal notice
PTV Planung Transport Verkehr AG
Haid-und-Neu-Str. 15
76131 Karlsruhe
Germany
Phone: +49 721 9651-8199
Fax: +49 721 9651-8599
E-mail: sales_DE@mapandguide.com
www.ptvgroup.com

Contents
1

Before you begin...................................................................................... 1

Installation................................................................................................. 2
2.1

2.2

2.3

Product components ................................................................... 2


2.1.1

PTV xServer .................................................................... 2

2.1.2

PTV Ajax Maps Server ................................................... 3

2.1.3

Database ........................................................................ 4

2.1.4

PTV Map&Guide intranet web application.................. 5

System Requirements .................................................................. 6


2.2.1

Browser and resolution ................................................. 9

2.2.2

Add-ons ........................................................................ 10

Installation types......................................................................... 10
2.3.1

Standard installation (recommended) ....................... 12

2.3.2

Minimal installation ..................................................... 13

2.4

Installation sequence ................................................................. 14

2.5

Standard installation .................................................................. 14

2.6

2.5.1

Computer 1 .................................................................. 15

2.5.2

Computer 2 .................................................................. 17

2.5.3

Computer 3 .................................................................. 24

Minimal installation .................................................................... 27


2.6.1

Computer 1 .................................................................. 27

2.6.2

Computer 2 .................................................................. 29

Enabling ports ........................................................................................ 38


3.1

3.2

3.3

Enabling ports for SQL Server .................................................. 39


3.1.1

Configuring your firewall ............................................ 39

3.1.2

Testing enabled ports ................................................. 41

Enabling ports for PTV xServer ................................................. 42


3.2.1

Configuring your firewall ............................................ 42

3.2.2

Testing enabled ports ................................................. 44

Open ports for PTV Map&Guide intranet Scheduler


service ......................................................................................... 44

Getting Started....................................................................................... 46
4.1

Approval ..................................................................................... 46

4.2

Edit administrator data .............................................................. 46

4.3

Enter SMPT server access data ................................................. 48

PTV Map&Guide intranet 2014 update ............................................... 49


5.1

5.2

5.3
6

Update: Standard installation on 3 computers ....................... 49


5.1.1

Computer 1 .................................................................. 50

5.1.2

Computer 2 .................................................................. 52

5.1.3

Computer 3 .................................................................. 56

Update: Minimum installation on 2 computers ....................... 58


5.2.1

Computer 1 .................................................................. 59

5.2.2

Computer 2 .................................................................. 61

Transferring data from PTV Map&Guide intranet 2014.......... 66

Migration from PTV Map&Guide intranet (mas) 2014 or 2013 .......... 70

6.1

Installation of PTV Map&Guide intranet 2015 ......................... 70

6.2

Transferring data from PTV Map&Guide intranet (mas)


2014 or 2013 .............................................................................. 70

6.2.1

Accept address tables................................................. 71

6.2.2

Transfer users, vehicles and stop-off points lists ...... 72

Setting up manual backup of the databases ....................................... 74


7.1

Changing the backup directory ................................................ 75

7.2

Determining SQL user ............................................................... 75

7.3

Setting up jobs ........................................................................... 76

Tips and Tricks........................................................................................ 79


8.1

Changing log file path ............................................................... 79

8.2

Subsequent enabling of traffic information retrieval .............. 79

8.3

Use remote control .................................................................... 80

Before you begin...

Before you begin...

This document describes the system requirements and the installation process
for PTV Map&Guide intranet.
Please observe the following points before you begin the installation:

Before starting the setup, decide on how the distributed installation should
occur on multiple computers (see chapter 2.3 "Installation types" on page 10).

Make sure that all requirements are fulfilled for the installation (see chapter
2.2 "System Requirements" on page 6).

Observe the prescribed sequence for the installation. Depending on the distribution of the product components on different computers, the execution of
the setup on several computers is required (see chapter 2.4 "Installation sequence" on page 14).

Your operating system must be up to date for the installation of PTV


Map&Guide intranet. First install all Microsoft updates.

Support
You can contact our technical support at any time of day via the Support request
form (www.mapandguide.com/en/service/support/).

Installation

In this chapter you will find information about

product components
System Requirements
Installation types
Installation sequence

2.1 Product components


PTV Map&guide intranet consists of several individual components, which will be
explained in brief as follows. Which system requirements must be fulfilled for the
components can be found in chapter 2.2 "System Requirements" on page 6.
The components must be installed on different computers in a distributed manner. To do so, install the setup and the respective component on the computer of
your choice. During the setup process, you can specify paths and folders.
Note: The installation of the components must be executed directly on the chosen target computer. Remote installations or automatic software distribution are
not supported.

2.1.1 PTV xServer


This deals with a collection of software components, which offer geographic and
logistic functions. They have a modular design and due to their cluster technology, they allow for a simple scalability so that the performance requirements can
be easily guaranteed.

Installation

Four types of the PTV xServer are used in PTV Map&Guide intranet:

PTV xRoute:

Calculation of routes, emissions, toll

PTV xTour:

Trip optimisation

PTV xLocate:

Geocoding

PTV xMap:

Display of maps and customer addresses

An SMPT server is needed for the (optional) email notification about current toll
updates. This can either be a server locally installed in your network or one of the
services offered online, for example, mail.yahoo.de. The access data for the mail
delivery is stored in the administration tool (see chapter 4.3 "Enter SMPT server
access data" on page 48).
Furthermore, a so-called TI Servlet is required to view the traffic information. This
should only be installed on one computer in the system, which serves as the PTV
xServer Host. By the selection of the PTV xServer component within the setup,
you are asked during the installation if you would like to access traffic information
from the internet.
Note: An internet connection is required to access traffic information, currency
exchange rates, toll updates and orders from the freight exchange.

2.1.2 PTV Ajax Maps Server


The PTV Ajax Maps Server is a specialised PTV xMap Server, which provides and
saves the so-called background tiles of the map. This allows for a quick illustration
of the map in the PTV Map&Guide intranet web application.
A separate cache server can be installed for temporary storage. This is not a
component of the setup. Contact your PTV Map&Guide intranet consultant for
further information.

2.1.3 Database
The PTV Map&Guide intranet database requires one of the following databases
(or a more current version of the same type):

Microsoft SQL 2012 Standard


Microsoft SQL 2012 Express
Microsoft SQL 2012 R2 Standard
Microsoft SQL 2012 R2 Express
Microsoft SQL 2008 Standard
Microsoft SQL 2008 R2 Express
Microsoft SQL 2008 R2 Standard
Note: Please note that the older Microsoft SQL 2008 Express version (without
"R2") cannot be used, because this only supports databases with a maximum size
of 4 GB.
During the installation you can choose whether you want to use an existing database server. If none of the listed database versions are installed, Microsoft SQL
Server 2012 Express is automatically installed.
Note: During installation on a 32-bit operating system only the English version of
the Microsoft SQL Server 2012 Express is available.
The database must be configured for the SQL Server authentication ("mixed
mode"). If Microsoft SQL Server 2012 Express is installed through the PTV
Map&Guide intranet setup, this occurs automatically.
Note: At the time of the product approval, the licence conditions of Microsoft
SQL Server 2012 Express explicitly allow for its use in commercial products.
Only usage in commercial hosting environments is excluded. As the licence conditions of the Express editions can change on occasion, we would recommend
checking the current licence conditions and, if necessary, installing the paid version of Microsoft SQL Server 2012 Edition.

Installation

2.1.4 PTV Map&Guide intranet web application


The actual application consists of middleware and front-end components. The
web application runs within the Internet Information Service (IIS) and requires an
ASP.NET State Server for the state management. The ASP.NET State Server is
automatically enabled during the installation through the setup.
Note: The usage of other services for the state management is possible, but is not
supported through the setup. In this case, first speak with your PTV Map&Guide
intranet consultant.

PTV Map&Guide intranet Scheduler


This deals with a Windows service, which can be managed through the service
administration. This service executes time-controlled functions (trigger-based,
interval-based) in the PTV Map&Guide intranet application environment. The
service is installed together with the web application and fulfils the following
tasks:

Accessing current currency exchange rates. The requirement for access is an


active internet connection.

Geocoding of user defined addresses during the import of data into address
tables. A separate PTV xServer (PTV xLocate) is installed on the computer with
the PTV Ajax Maps Server for geocoding in order to not hinder the interactive
geocoding within the web application.

Checking of toll updates and (optional) notification by email. An active internet connection is required for the check. The email delivery requires SMTP
Server access. Access data can be entered in the administration tool (see
chapter 4.3 "Enter SMPT server access data" on page 48).

Access to truck parking spaces from Truck Parking Europe. The requirement
for access is an active internet connection.

2.2 System Requirements


PTV Map&Guide intranet can be used and tested under the following system
requirements. This does not rule out the fact that PTV Map&Guide intranet may
run under different circumstances, but subject to conditions.
The PTV Map&Guide intranet components are tested and approved for the following operating systems:

Microsoft Windows Server 2012


Microsoft Windows Server 2012 R2
Microsoft Windows Server 2008
Microsoft Windows Server 2008 R2
Microsoft Windows 7 (32 or 64-bit)
Microsoft Windows 8/8.1
Microsoft Windows Vista
If within the scope of a distributed installation the PTV xServer was installed on a
different computer than the PTV Map&Guide intranet, the ports listed in the following table must be opened.
The RAM specifications are found in the memory, which is also required besides
the operating system and other applications.
The hard drive specifications indicate the required free disk space.
Note: If you already use PTV Map&Guide intranet 2014 and install the new version in parallel, the system requirements increase (see chapter 5 "PTV
Map&Guide intranet 201" on page 49"). For them to work effectively, both versions should not be used at the same time as this could lead to performance
problems. For a parallel installation, we recommend using only one system for
test purposes and one productively.

Installation

Component

Free RAM

PTV
2 GB
Map&Guide
intranet
web
application

Database
database
vices

Free
space

Other

2
GB
for x86
CPU
application
with at least
and log files
1 GHz

and At least 4 GB, 10 GB


ser- recommended: 8 GB

PTV Ajax Maps 2 GB


Server
(PTV xLocate,
PTV xMap)

disk Processor

x86
CPU If database backups have
with at least been set up, additional free
1 GHz
storage space is required for
the backups.

1 GB + 15 GB x86
CPU Port numbers:
for the map with at least
PTV Ajax Maps Server: 80
(Europa City) 1 GHz
PTV xLocate: 52522
PTV xMap: 52512

PTV xServer:
PTV xRoute
PTV xTour
PTV xLocate
PTV xMap

4 GB (this 2 GB + 15 GB x86
CPU
means 1 GB for the map with at least
per individual (Europa City) 1 GHz
PTV xServer
with 2 module
instances
each)
More memory
can increase
performance
(depending
on the type
and number
of requests).

Port numbers:
PTV xRoute: 52532
PTV xTour: 52592
PTV xLocate: 52522
PTV xMap: 52512

Important notes
For all computers on which PTV Map&Guide intranet components are installed,
we recommend the usage of

Microsoft Windows Server 2012


multiple processors or a multicore processor in order to ideally support
the different server components. Specially for computers on which the
PTV xServer is installed, we recommend 1 CPU (core) per PTV xServer
module instance.
Example: Normally, 4 PTV xServers with the map are installed on a computer. This
computer should have 8 GB of RAM and 6 or more CPU Cores for optimal performance.
Note: Please remember that it must at least be the Standard Edition of Microsoft
Windows Server 2012/2012 R2 or Microsoft Windows Server 2008/2008 R2. The
Web Edition is inadequate.

Other
For the installation, a DVD drive is required on all computers or access
to a directory/network drive on which the contents of the installation
DVD were copied.

You must be logged in with local administration rights in order to install


the PTV Map&Guide intranet components. A remote installation is not
supported.

The minimum recommended screen resolution for the browser workspaces is 1280x1024.

An internet access is required to access traffic information, currency exchange rates, toll updates and orders from the freight exchange. During
the installation, the information for a possible proxy server is requested.
The following URLs must be enabled to access information in your proxy
server
Traffic information http://ti.ptvgroup.com
Toll updates http://lds.ptvgroup.com
Exchange rates http://www.ecb.europa.eul
8

Installation

Freight exchange https://connect.teleroute.com


Truck Parking Europe https://truck.infinum.com

Before installing PTV Ajax Maps Server and PTV xServers, the map installation must be executed on the respective computers.

If applicable, a plugin to display PDF files in the browser must be installed to show print previews.

For the creation of PDF files, the \middleware\reporting\userdata


folder in the installation directory of the PTV Map&Guide intranet web
application (for example C:\Program Files\PTVGROUP\PTV Map&Guide
intranet 2015\middleware\
reporting\userdata) is given write permissions for all users through the
setup.

Enabling ports
For external access to the PTV xServer and Microsoft Windows SQL Server
from other computers from the distributed PTV Map&Guide intranet installation,
ports must be opened. Execute this step on the individual computers directly
after the components have been installed.

2.2.1 Browser and resolution


You can use PTV Map&Guide internet with all standard browsers. However, depending on which browser type and version you use, it is possible that not all
functions will be supported.
Note: We cannot guarantee that our program can be used without problems with
browser versions which are not shown in the list.

Internet Explorer 11, Internet Explorer 10, Internet Explorer 9


Firefox 36, Firefox 35
Note: Since browser versions are updated regularly, there is still no official release for the latest versions. However, up until now no compatibility issues have occurred with newer versions of Firefox.

Chrome 40, Chrome 39


9

Note: Since browser versions are updated regularly, there is still no official release for the latest versions. However, up until now no compatibility issues have occurred with newer versions of Chrome.

Note: Make sure that your browser allows scripts to be executed. Specially for
Internet Explorer on Windows 2012 Server, the Enhanced Security Configuration
should be turned off if problems occur when starting the PTV Map&Guide intranet web application.

Screen resolution
Please note that the interface of the PTV Map&Guide intranet frontend has been
optimised for a minimum resolution of 1280 x 1024 pixels.

2.2.2 Add-ons
If not available, the following programs are automatically installed through the
setup.

Microsoft Windows Powershell 1.0 or higher


Microsoft .NET Framework 4.5
Microsoft Windows Installer 4.5 or higher
IIS and ASP.NET
For the PTV Map&Guide intranet web application, the Internet Information Service (IIS) and ASP.NET must be enabled. How to enable the IIS and ASP.NET is
described under the relevant installation types (see chapter 2.5 "Standard installation" on page 14 or chapter 2.6 "Minimal installation" on page 27).

2.3 Installation types


The architecture of PTV Map&Guide intranet allows for a distributed installation
over multiple computers. This allows for a simple scaling and flexible configuration in order to guarantee optimal performance even with increasing numbers of
users.
10

Installation

You need 2 computers for the minimal installation type. However, we recommend using 3 computers. Both scenarios are explained in this document.
A computer can be dedicated hardware as well as a virtualised host.
Note: For more complex distributed installations or other individual operational
concepts, please speak beforehand with your PTV Map&Guide intranet consultant.
Internet Information Services (IIS) and ASP.NET State Server are components of
Microsoft Windows or .NET-Framework. During installation, the PTV Map&Guide
intranet setup will ask you to enable the so-called "Web Server (IIS)" role in your
Windows 2012 or to install the IIS as Windows components (for example, Windows 7).
An existing ASP.NET State Server is automatically installed during setup or will be
installed during the .NET-Framework installation.

11

2.3.1 Standard installation (recommended)

Computer 1:

Map
PTV Ajax Maps Server + PTV xServer (PTV xLocate, PTV xMap)
Computer 2:

Internet Information Server (IIS)


ASP.NET State Server
Database
PTV Map&Guide intranet web application
PTV Map&Guide intranet Scheduler (a Windows service for the execution of time controlled (background) functions)
Computer 3:

Map
PTV xServer (PTV xMap, PTV xLocate, PTV xRoute, PTV xTour)
12

Installation

2.3.2 Minimal installation

Computer 1:

Map
PTV Ajax Maps Server + PTV xServer (PTV xLocate, PTV xMap)
Computer 2:

Internet Information Server (IIS)


ASP.NET State Server
Map
Database
PTV xServer (PTV xMap, PTV xLocate, PTV xRoute. PTV xTour)
PTV Map&Guide intranet web application
PTV Map&Guide intranet Scheduler (Windows service for the execution
of time controlled (background) functions)
13

2.4 Installation sequence


Install the following components. Which components are installed on which
computer depends on the type of installation that you have selected. Please observe that you must run the setup on multiple computers and during the installation only select the required components on the chosen computer.

Map
PTV Map&Guide intranet components:
PTV Ajax Maps Server + PTV xServer (PTV xLocate, PTV xMap)
Optional: Microsoft SQL Server 2012 Express database
PTV xServer (PTV xMap, PTV xLocate, PTV xRoute, PTV xTour)
PTV Map&Guide intranet web application

2.5 Standard installation


Notes: While specifying the computer addresses during installation, you can use
either the computer names or the IP addresses. We recommend using computer
names and only entering the IP addresses if there are problems with the name
resolution in the network.
Should this cause problems with the name resolution in your network, you can
replace the server name in SQL Management Studio in the database of
mapandguide_intranet_2015 in the table APPCFG_MapInstances with the IP
address.
If you copy the contents of the data carrier to the hard disk before installation,
please make sure to copy the content of DVD 1 to the directory DISK1 and the
content of DVD 2 to the directory DISK2.
The standard installation is executed on 3 computers.

14

Installation

2.5.1 Computer 1
The following components must be installed on computer 1:

Map
PTV Ajax Maps Server (PTV xLocate, PTV xMap)

2.5.1.1

Installing a Map

Note: Install the map before you install the PTV Ajax Maps Server!
1. Insert the map DVD into the DVD drive.
The start screen appears.
Note: If the startup screen does not automatically appear, start the installation via the setup.exe file.
2. Click on Install.
The installation Wizard opens.
3. Follow the instructions of the installation wizard.
4. Select PTV Map&Guide intranet as the map application.
5. Specify the map path.
6. Enter the map serial number specified as listed on your licence certificate.
7. Select the Defragment map data check box.
8. Confirm your settings.
9. Exit the installation wizard with Finish.
The map has now been installed.
In the next step, you install the PTV Ajax Maps Server together with the PTV xMap
and PTV xLocate Server.

15

2.5.1.2 Installing PTV Ajax Maps Server (PTV xMap,


PTV xLocate)
Note: Before installation of the PTV Ajax Maps Server, make sure that the map is
installed on the computer.
PTV xLocate is installed together with the PTV Ajax Maps Server and PTV xMap.
The PTV xLocate Server is required for automatically geocoding user-defined
address tables and ensures that geocoding imported addresses does not affect
the interactive geocoding performance during route planning. The PTV xLocate is
contacted by the PTV Map&Guide intranet scheduler service, which is installed in
parallel to the PTV Map&Guide intranet application.
1. Insert the program DVD into your DVD drive.
The start screen appears.
2. Click on Install.
The installation Wizard opens.
Tip: If the installation does not automatically appear, start the installation
via the setup.exe file.
3. Follow the instructions of the installation wizard.
4. Activate the following option on the Component selection page:
PTV Ajax Maps Server (xMap, xLocate)
Database
PTV Map&Guide intranet web application
PTV xServer (xMap, xLocate, xRoute, xTour)
5. Select the folder in which the PTV Ajax Maps Server and the PTV xServer
should be installed.
6. Select the folder in which you have previously installed the map.
7. Confirm your settings.

16

Installation

After installation, enable the installation server ports (see chapter 3.2"Enabling
ports for PTV xServer" on page 42).

PTV xLocate Server:

52522

PTV Ajax Maps Server

80

Note: Port 80 has normally already been activated.

2.5.2 Computer 2
The following components must be installed on computer 2:

Internet Information Server (IIS)


ASP.NET State Server
Database
PTV Map&Guide intranet web application

2.5.2.1 Activation of Internet Information Server (IIS)


and ASP.NET State Server
Ensure that the Internet Information Service (IIS) and ASP.NET have been enabled
How you activate the IIS and ASP.NET depends on your operating system. How to
enable this under Microsoft Windows Server 2012 via the allocation of the corresponding roles and under Microsoft Windows 7 via WWW Services is described below.
Note: If you use a different operating system, contact your administrator if you
have any queries.

17

Microsoft Windows Server 2012


1. Go to Server Manager > Dashboard and select the Add roles and features entry.
The Add Roles and Features Wizard opens.
2. Confirm the Before You Begin page with Next.
3. On the Select installation type page, select the Role-based or featurebased installation option and confirm with Next.
4. On the Select destination server page, select the Select a server from the
server pool option.
5. In the Server pool section, select the computer on which the database and
the web application should be installed and confirm this with Next.
6. On the Select server roles page, select the Application server option and
the Web server (IIS) option and click on Next.
7. On the Should required features be added for web server (IIS)? page,
click on Add features.
8. On the Select features page, select the .NET Framework 3.5 functions option and confirm this with Next.

9. On the Application server page, confirm the information with Next.


18

Installation

10. On the Role services page, select the .NET Framework 4.5 option and the
Web Server (IIS) Support option.
11. Confirm the settings on the Should required features for web server (IIS)
be added? page with Add features.
12. Confirm the information on the "Web server"(IIS) role page with Next.
13. Confirm the settings on the Select role services page with Next.
The Confirm installation selections page will display a summary of your
settings.
14. If the server should be restarted directly after installation, enable the Restart the destination server automatically if required option on the Confirm installation selections page.
15. Confirm your entries with Install.
Note: Ensure that the server has been restarted after the installation.

19

Microsoft Windows 7
1. Via Start > Control Panel open the Windows Control Panel.
2. Choose Programs.
3. In Programs and Features, choose
Turn Windows features on or off.
4. In the Turn Windows features on or off window, choose the Internet Information Services option.
5. Ensure that the ASP.NET and Microsoft .NET Framework 3.5 options are
activated.

6. Confirm your settings by clicking OK.


20

Installation

Note: Ensure that the computer has been restarted after the installation.

2.5.2.2 Database and PTV Map&Guide intranet


Installing web application
For the installation and operation of the PTV Map&Guide intranet web application, an enabled Internet Information Service (IIS) is required. Observe the notes
in chapter 2.1.4 "PTV Map&Guide intranet web application" on page 5 and chapter 2.5.2.1 "Activation of Internet Information Server (IIS) and ASP.NET State Server" on page 17.
The database and PTV Map&Guide intranet web application are installed on the
same computer by default. If a suitable version of Microsoft SQL Server is already
installed, this can be used for the PTV Map&Guide intranet database. Optionally,
your own Microsoft SQL Server 2012 Express can be installed through the
setup. See the notes in chapter 2.1.3 "Database" on page 4.
Note: If you would like to manage the PTV Map&Guide intranet databases on an
SQL server that is located on another computer, you must start the setup for the
database on that computer.
1. Insert the program DVD into your DVD drive.
The start screen appears.
2. Click on Install.
The installation Wizard opens.
Tip: If the installation does not automatically appear, start the installation
via the setup.exe file.
3. Follow the instructions of the installation wizard.
4. Enable the following options on the page Component selection:
PTV Ajax Maps Server (xMap, xLocate)
Database
PTV Map&Guide intranet web application
PTV xServer (xMap, xLocate, xRoute, xTour)
21

5. In the Component selection window, select whether you want to use an


existing SQL instance.
Note: If you do not want to use an existing database, the setup installs a
Microsoft SQL-Server 2012 Express. You can change the suggested
standard port 1433 in setup.
Do not forget to enable the ports for the SQL server after installation (see
chapter 3.1 "Enabling ports for SQL Server" on page 39).
6. If you would like to use an existing SQL instance, you must select the database server and the authentication methods in the next step.
Note: Please log in with an SQL user who has SYSADMIN privileges. If the
existing SQL server does not run on port 1433, specify the port separated
by a comma after the SQL server, e.g. <WKA-WN-FDT\PTVMG, 1453>.
7. On the Select PTV AjaxMap Server page, state the computer on which you
have installed the PTV Ajax Maps Server (computer 1).
Note: For the installation to be successful, the ports of the PTV AjaxMap
server must be available.
8. If required, on the Proxy configuration page state the login data for your
proxy server.
9. On the Select the target directory for PTV Map&Guide intranet page, select the directory in which the web applications (client and administration
tool) should be installed.
10. Select the SQL database files directory on the Select data directory for PTV
Map&Guide intranet page.
Note: The data directory must be stored on a local drive. If the computer
has several drives, you should not select the C: drive for performance reasons.
11. On the Backup and maintenance of the database page, state whether
backups of the database should be created automatically.

Yes: The database backup is set up automatically. You can adjust the
security information subsequently (see chapter 7 "Setting up manual
backup of the databases" on page 74).
22

Installation

No: An automatic backup of the database is not created. Set up the database backup manually (see chapter 7 "Setting up manual backup of
the databases" on page 74).
Note: For technical reasons, the user database recovery model is set to
Complete after installation. The complete recovery model means that
the transaction log (*.ldf file) permanently requires more disk space.
The transaction log is automatically kept small by the automatic database backup scripts.
Important: If you did not set up the database backup, you must reset
the database recovery model to Simple manually.
To do so, open the PTV Map&Guide intranet 2015 database module
via the SQL Management Studio. Enter the following command via
New request: ALTER DATABASE
[mapandguide_intranet_2015_usermanagement] SET RECOVERY
SIMPLE WITH NO_WAIT and confirm with

Run.

12. If you have selected an automatic backup, enter a path to the backup directory on the Select drive for the backup medium page.
Note: If possible, do not select the same hard disk on which the database
has been installed for backing up the databases.
13. On the Names of the virtual directories page, state the names for the client and administration tool directories in the IIS.
Note: The directory names entered here become part of the URLs via
which the client and the administration tool are accessed.
14. On the Select links page, select whether you want to start the client or the
administration tool directly from the desktop.
15. On the Start copying page you will see an overview of the selected settings.
16. Confirm with Next in order to start copying.
After installation of the database and web application, you have to enable the
ports for the SQL server (see chapter 3.1 "Enabling ports for SQL Server" on page
39).

23

The following ports must be activated:

SQL Server (TCP)


the SQL server.

SQL Server (UDP)

1433 (standard) or the port which you assigned to


1434

PTV Map&Guide intranet Scheduler service 557


The following entries were created on computer 2 by the installation wizard in the
Start menu under PTV Map&Guide intranet 2015:

Log file directory 2015


This is where the log files for PTV Map&Guide intranet are stored.

PTV Map&Guide intranet administration tool 2015


URL to access the PTV Map&Guide intranet administration tool.

PTV Map&Guide intranet client 2015


URL to access the PTV Map&Guide intranet client.

Tools
Monitoring 2015
Displays a page with a status overview of the individual components of
PTV Map&Guide intranet.

Diagnostic tool 2015


If support is needed, you can send important system information via the
diagnostic tool.

Data transfer intranet 2014


Tool to transfer the data from PTV Map&Guide intranet 2014.

2.5.3 Computer 3
The following components must be installed on computer 3:

Map
PTV xServer (PTV xMap, PTV xLocate, PTV xRoute, PTV xTour)

24

Installation

2.5.3.1

Installing a Map

Note: Install the map before you install the PTV xServer.
1. Insert the map DVD into the DVD drive.
The start screen appears.
Note: If the startup screen does not automatically appear, start the installation via the setup.exe file.
2. Click on Install.
The installation Wizard opens.
3. Follow the instructions of the installation wizard.
4. Select PTV Map&Guide intranet as the map application.
5. Specify the map path.
6. Enter the map serial number specified as listed on your licence certificate.
7. Select the Defragment map data check box.
8. Confirm your settings.
9. Exit the installation wizard with Finish.
The map has now been installed.
Install the PTV xServer in the next step.

2.5.3.2

Install PTV xServer

Notes: Before installation of the PTV xServer, make sure that the map is installed
on the computer.
1. Insert the program DVD into your DVD drive.
The start screen appears.
2. Click on Install.
The installation Wizard opens.
Tip: If the installation does not automatically appear, start the installation
via the setup.exe file.
25

3. Follow the instructions of the installation wizard.


4. Activate the following option on the Component selection page:
PTV Ajax Maps Server (xMap, xLocate)
Database
PTV Map&Guide intranet web application
PTV xServer (xMap, xLocate, xRoute, xTour)
5. On the Select database server page, state the database server on which
you have previously installed the database for PTV Map&Guide intranet:
<Computer name>\<DBName>.
6. On the Select destination path page, select the directory in which the PTV
xServer should be installed.
7. On the Traffic information page select the option Yes if you want to access
the traffic information from the internet.
8. If required, on the Proxy configuration page state the login data for your
proxy server.
9. On the Select map directory page, select the path to the previously installed map.
10. On the Start copying page you will see an overview of the selected settings.
11. Confirm with Next in order to start copying.
Each PTV xServer is installed as a Windows service and started automatically after
completion of the setup. After installation you must enable the ports and check
locally and from another computer whether it is possible to communicate with the
PTV xServer (see chapter 3.2 "Enabling ports for PTV xServer" on page 42).
The following ports must be activated:

PTV xMap Server:

52512

PTV xLocate Server:

52522

PTV xRoute Server:

52532

PTV xTour Server:

52592

26

Installation

2.6 Minimal installation


Notes: While specifying the computer addresses during installation, you can use
either the computer names or the IP addresses. We recommend using computer
names and only entering the IP addresses if there are problems with the name
resolution in the network.
If you copy the contents of the data carrier to the hard disk before installation,
please make sure to copy the content of DVD 1 to the directory DISK1 and the
content of DVD 2 to the directory DISK2.
The procedure for minimal installation mostly corresponds with that of the standard installation. However, only 2 computers are needed for the minimal installation, because the database, PTV xServer and web application are installed on the
same computer.
Note: We recommend the standard installation on 3 computers, because simpler
scaling is possible with an increasing number of users (see 2.3.1"Standard installation (recommended)" on page 12).

2.6.1 Computer 1
The following components must be installed on computer 1:

Map
PTV Ajax Maps Server (PTV xMap, PTV xLocate)

2.6.1.1

Installing a Map

Note: Install the map before you install the PTV Ajax Maps Server!
1. Insert the map DVD into the DVD drive.
The start screen appears.
Note: If the startup screen does not automatically appear, start the installation via the setup.exe file.
2. Click on Install.
27

The installation Wizard opens.


3. Follow the instructions of the installation wizard.
4. Select PTV Map&Guide intranet as the map application.
5. Specify the map path.
6. Enter the map serial number specified as listed on your licence certificate.
7. Select the Defragment map data check box.
8. Confirm your settings.
9. Exit the installation wizard with Finish.
The map has now been installed.
In the next step, you install the PTV Ajax Maps Server together with the PTV xMap
and PTV xLocate Server.

2.6.1.2 Installing PTV Ajax Maps Server (PTV xMap,


PTV xLocate)
Note: Before installation of the PTV Ajax Maps Server, make sure that the map is
installed on the computer.
PTV xLocate is installed together with the PTV Ajax Maps Server and PTV xMap.
The PTV xLocate Server is required for automatically geocoding user-defined
address tables and ensures that geocoding imported addresses does not affect
the interactive geocoding performance during route planning. The PTV xLocate is
contacted by the PTV Map&Guide intranet scheduler service, which is installed in
parallel to the PTV Map&Guide intranet application.
1. Insert the program DVD into your DVD drive.
The start screen appears.
2. Click on Install.
The installation Wizard opens.
Tip: If the installation does not automatically appear, start the installation
via the setup.exe file.
3. Follow the instructions of the installation wizard.
4. Activate the following option on the Component selection page:
28

Installation

PTV Ajax Maps Server (xMap, xLocate)


Database
PTV Map&Guide intranet web application
PTV xServer (xMap, xLocate, xRoute, xTour)
5. Select the folder in which the PTV Ajax Maps Server and the PTV xServer
should be installed.
6. Select the folder in which you have previously installed the map.
7. Confirm your settings.
After installation, enable the installation server ports (see chapter 3.2"Enabling
ports for PTV xServer" on page 42).

PTV xLocate Server:

52522

PTV Ajax Maps Server

80

Note: Port 80 has normally already been activated.

2.6.2 Computer 2
The following components must be installed on computer 2:

Internet Information Server (IIS)


ASP.NET State Server
Map
Database
PTV xServer (PTV xMap, PTV xLocate, PTV xRoute. PTV xTour)
PTV Map&Guide intranet web application

2.6.2.1 Activation of Internet Information Server (IIS)


and ASP.NET State Server
Ensure that the Internet Information Service (IIS) and ASP.NET have been enabled
How you enable the IIS and ASP.NET depends on the operating system. How to
enable this under Microsoft Windows Server 2012 via the allocation of the corresponding roles and under Microsoft Windows 8 via WWW Services is described below.
29

Note: If you use a different operating system, contact your administrator if you
have any queries.

Microsoft Windows Server 2012


1. Go to Server Manager > Dashboard and select the Add roles and features entry.
The Add Roles and Features Wizard opens.
2. Confirm the Before You Begin page with Next.
3. On the Select installation type page, select the Role-based or featurebased installation option and confirm with Next.
4. On the Select destination server page, select the Select a server from the
server pool option.
5. In the Server pool section, select the computer on which the database and
the web application should be installed and confirm this with Next.
6. On the Select server roles page, select the Application server option and
the Web server (IIS) option and click on Next.
7. On the Should required features be added for web server (IIS)? page,
click on Add features.
8. On the Select features page, select the .NET Framework 3.5 functions option and confirm this with Next.

30

Installation

9. On the Application server page, confirm the information with Next.


10. On the Role services page, select the .NET Framework 4.5 option and the
Web Server (IIS) Support option.
11. Confirm the settings on the Should required features for web server (IIS)
be added? page with Add features.
12. Confirm the information on the "Web server"(IIS) role page with Next.
13. Confirm the settings on the Select role services page with Next.
The Confirm installation selections page will display a summary of your
settings.
14. If the server should be restarted directly after installation, enable the Restart the destination server automatically if required option on the Confirm installation selections page.
15. Confirm your entries with Install.
Note: Ensure that the server has been restarted after the installation.

31

Microsoft Windows 7
1. Via Start > Control Panel open the Windows Control Panel.
2. Choose Programs.
3. In Programs and Features, choose
Turn Windows features on or off.
4. In the Turn Windows features on or off window, choose the Internet Information Services option.
5. Ensure that the ASP.NET and Microsoft .NET Framework 3.5 options are
activated.

6. Confirm your settings by clicking OK.


32

Installation

Note: Ensure that the computer has been restarted after the installation.

2.6.2.2

Installing a Map

Note: Install the map before you install other components!


1. Insert the map DVD into the DVD drive.
The start screen appears.
Note: If the startup screen does not automatically appear, start the installation via the setup.exe file.
2. Click on Install.
The installation Wizard opens.
3. Follow the instructions of the installation wizard.
4. Select PTV Map&Guide intranet as the map application.
5. Specify the map path.
6. Enter the map serial number specified as listed on your licence certificate.
7. Select the Defragment map data check box.
8. Confirm your settings.
9. Exit the installation wizard with Finish.
The map has now been installed.
In the next step, install other components.

2.6.2.3 Installing database, PTV Map&Guide intranet


web application and PTV xServer
For the installation and operation of the PTV Map&Guide intranet web application, an enabled Internet Information Service (IIS) is required. Observe the notes
in chapter 2.1.4 "PTV Map&Guide intranet web application" on page 5 and chapter 2.6.2.1 "Activation of Internet Information Server (IIS) and ASP.NET State Server" on page 29.
The database and PTV Map&Guide intranet web application are installed on the
same computer by default. If a suitable version of Microsoft SQL Server is already
33

installed, this can be used for the PTV Map&Guide intranet database. Optionally,
your own Microsoft SQL Server 2012 Express can be installed through the
setup. See the notes in chapter 2.1.3 "Database" on page 4.
Notes: If you would like to manage the PTV Map&Guide intranet databases on an
SQL server that is located on another computer, you must start the setup for the
database on that computer.
Before installing the PTV xServer, ensure that the map is installed on the computer.
1. Insert the program DVD into your DVD drive.
The start screen appears.
2. Click on Install.
The installation Wizard opens.
Tip: If the installation does not automatically appear, start the installation
via the setup.exe file.
3. Follow the instructions of the installation wizard.
4. Enable the following options on the page Component selection:
PTV Ajax Maps Server (xMap, xLocate)
Database
PTV Map&Guide intranet web application
PTV xServer (xMap, xLocate, xRoute, xTour)
5. In the Component selection window, select whether you want to use an
existing SQL instance.
Note: If you do not want to use an existing database, the setup installs a
Microsoft SQL-Server 2012 Express. You can change the suggested
standard port 1433 in setup.
6. If you would like to use an existing SQL instance, you must select the database server and the authentication methods in the next step.

34

Installation

Note: Please log in with an SQL user who has SYSADMIN privileges. If the
existing SQL server does not run on port 1433, specify the port separated
by a comma after the SQL server, e.g. <WKA-WN-FDT\PTVTLN, 1453>
7. On the Select PTV AjaxMap Server page, state the computer on which you
have installed the PTV Ajax Maps Server (computer 1).
8. On the Select destination path page, select the directory in which the PTV
xServer should be installed.
9. On the Traffic information page select the option Yes if you want to access
the traffic information from the internet.
10. If required, on the Proxy configuration page state the login data for your
proxy server.
11. On the Select map directory page, select the path to the previously installed map.
12. On the Select the target directory for PTV Map&Guide intranet page, select the directory in which the web applications (client and administration
tool) should be installed.
13. Select the SQL database files directory on the Select data directory for PTV
Map&Guide intranet page.
Note: The data directory must be stored on a local drive. If the computer
has several drives, you should not select the C: drive for performance reasons.
14. On the Backup and maintenance of the database page, state whether
backups of the database should be created automatically.

Yes: The database backup is set up automatically. You can adjust the
security information subsequently (see chapter 7 "Setting up manual
backup of the databases" on page 74).

No: An automatic backup of the database is not created. Set up the database backup manually (see chapter 7 "Setting up manual backup of
the databases" on page 74).
Note: For technical reasons, the user database recovery model is set to
Complete after installation. The complete recovery model means that
the transaction log (*.ldf file) permanently requires more disk space.
35

The transaction log is automatically kept small by the automatic database backup scripts.
Important: If you did not set up the database backup, you must reset
the database recovery model to Simple manually.
To do so, open the PTV Map&Guide intranet 2015 database module
via the SQL Management Studio. Enter the following command via
New request: ALTER DATABASE
[mapandguide_intranet_2015_usermanagement] SET RECOVERY
SIMPLE WITH NO_WAIT and confirm with

Run.

15. If you have selected an automatic backup, enter a path to the backup directory on the Select drive for the backup medium page.
Note: If possible, do not select the same hard disk on which the database
has been installed for backing up the databases.
16. On the Names of the virtual directories page, state the names for the client and administration tool directories on the IIS.
Note: The directory names entered here become part of the URLs via
which the client and the administration tool are accessed.
17. On the Select links page, select whether you want to start the client or the
administration tool directly from the desktop.
18. On the Start copying page you will see an overview of the selected settings.
19. Confirm with Next in order to start copying.
Each PTV xServer is installed as a Windows service and started automatically after
completion of the setup.
The following entries were created on computer 2 by the installation wizard in the
Start menu under PTV Map&Guide intranet 2015:

Log file directory 2015


This is where the log files for PTV Map&Guide intranet are stored.

PTV Map&Guide intranet administration tool 2015


URL to access the PTV Map&Guide intranet administration tool.
36

Installation

PTV Map&Guide intranet client 2015


URL to access the PTV Map&Guide intranet client.

Tools
Monitoring 2015
Displays a page with a status overview of the individual components of
PTV Map&Guide intranet.

Diagnostic tool 2015


If support is needed, you can send important system information via the
diagnostic tool.

Data transfer intranet 2014


Tool to transfer the data from PTV Map&Guide intranet 2014.

37

Enabling ports

The components of PTV Map&Guide intranet (PTV xServer, Microsoft Windows


SQL Server, web application) are installed on different computers. So the components can communicate with each other, ports must be enabled on the individual computers.
In this chapter you will find information about:

Enabling ports for SQL Server


Note: Opening ports is not necessary for a minimum installation, since
the SQL server is on the same computer as the PTV xServer.

Enabling ports for PTV xServer


Open ports for PTV Map&Guide intranet Scheduler service
The following ports must be enabled.

During a standard installation


Computer 1
PTV Ajax Maps Server: 80
Note: Port 80 is assigned to the PTV Ajax Maps Server. This has normally already been activated.
PTV xLocate Server:

52522

Computer 2
SQL Server (TCP):
the SQL server.

1433 (standard) or the port which you assigned to

SQL Server (UDP)

1434

PTV Map&Guide intranet Scheduler service 557

Computer 3

38

PTV xMap Server:

52512

PTV xLocate Server:

52522

PTV xRoute Server:

52532

PTV xTour Server:

52592

Enabling ports

During a minimum installation


Computer 1
PTV xLocate Server:

52522

PTV Ajax Maps Server: 80


Note: Port 80 has normally already been activated.

3.1 Enabling ports for SQL Server


In the standard installation, ports must also be enabled to communicate with the
PTV xServers on computer 3.
Note: During the PTV xServer installation, an attempt is made to access the database server. In individual cases, despite opened ports, access was not possible
for our test installations.
Solution: Disable briefly the firewall on the database server and then activate it
again. Afterwards you should have access.

3.1.1 Configuring your firewall


Notes: Opening ports is not necessary for a minimum installation, since the SQL
server is on the same computer as the PTV xServer.
The following functions and windows described allow you to configure the Microsoft Windows Firewall. However, they might vary depending on the Microsoft Windows version you are using!
The following steps describe the settings you need to set under Microsoft Windows Server 2012.
You will need to first enable the TCP port and then the UDP port.

39

Enabling the TCP port


1. Open the dashboard via Server Manager
2. Select the entry Windows Firewall with Advanced Security in the Tools
menu.
3. Select the entry Inbound rules in the Windows Firewall with Advanced Security window in the navigation tree.
4. In the Actions section under Inbound Rules, select the
New Rule entry.
This opens the New Inbound Rule Wizard.
5. On the Rule type page, select the Port option.
6. Click Next.
7. On the Protocols and ports page, select the TCP option and the Specific
local ports option.
8. If you have not changed the default port for the SQL server, enter port
1433, otherwise specify the port number which you use for the SQL server.
9. Click Next.
10. In the Action window, select the Allow the connection option.
11. Click Next.
12. In the Profile window, select the Domain, Private or Public option which
corresponds to the computer's connection to your network.
13. Click Next.
14. In the Name field, enter: SQL <Name database> TCP

Enabling the UDP Port


1. Open the dashboard via Server Manager
2. Select the entry Windows Firewall with Advanced Security in the Tools
menu.
3. Select the entry Inbound rules in the Windows Firewall with Advanced Security window in the navigation tree.
4. In the Actions section under Inbound Rules, select the
New Rule entry.
This opens the New Inbound Rule Wizard.
40

Enabling ports

5. On the Rule type page, select the Port option.


6. Click Next.
7. On the Protocols and ports page, select the UDP option and the Specific
local ports option.
8. Enter the port 1434.
9. Click Next.
10. In the Action window, select the Allow connection option.
11. Click Next.
12. Select the Domain, Private or Public option which corresponds to the
computer's connection to the network.
13. Click Next.
14. In the Name field, enter: SQL <Name database> UDP

3.1.2 Testing enabled ports


Execute the test from a computer that has the PTV xServer installed!
Note: The following functions and windows described allow you to make administrative settings. However, they might vary depending on the Microsoft Windows version you are using!
1. Open the computer's administration settings via Control Panel > System
and Security > Administration.
2. Double click on the ODVC data sources entry.
3. In the OLEDB data sources administrator window, select the User DSN
tab.
4. Click on Add.
5. In the Create new data source window, select SQL Server.
6. Click Finish.
7. In the Create new data source for SQL server window, enter in the Name
field: SQL PTV Map&Guide intranet.
8. Under Which SQL Server would you like to connect to, enter the following
in the Server field: <IP address of the SQL Server or the SQL
Server instance>\<Name of the database>.
41

Note: If the SQL database has been installed through the PTV Map&Guide
intranet setup, this could, for example, be called <dbserver>\PTVMG.
9. Click Next.
10. Activate the option With SQL server authentication based on the user
name and password entered by the user.
11. In the User Name field, enter: mapandguide
12. In the Password field enter: mapandguide
13. Click Next.
14. Confirm the settings of the window with Next.
15. Confirm the settings of the window with Finish.
16. Click Test data source in the ODBC Microsoft SQL Server Setup window.

Testing connection again


If you would like to test the connection again or change settings, in the window
ODBC Data Source Administrator, select > Tab User DSN > Configure.

3.2 Enabling ports for PTV xServer


Since the PTV Map&Guide intranet web application and PTV xServer are installed
on different computers, the communication ports must be enabled on the computers on which PTV xServer is installed.
Note: The following functions and windows described allow you to configure the
Microsoft Windows Firewall. However, they might vary depending on the Microsoft Windows version you are using!
The following steps describe the settings you need to set under Microsoft Windows Server 2012.

3.2.1 Configuring your firewall


Take the following steps to enable the ports for the PTV xServer.
1. Open the dashboard via Server Manager

42

Enabling ports

2. Select the entry Windows Firewall with Advanced Security in the Tools
menu.
3. In the Windows Firewall with Advanced Security window, select Inbound
Rules in the navigation tree.
4. In the Actions section under Inbound Rules, select the
New Rule entry.
This opens the New Inbound Rule Wizard.
5. On the Rule type page, select the Port option.
6. Click Next.
7. On the Protocols and ports page, select the TCP option and the Specific
local ports option.
8. Depending on the PTV xServer installed, enter the following values:

PTV xMap Server:

52512

PTV xLocate Server:

52522

PTV xRoute Server:

52532

PTV xTour Server:

52592

PTV Ajax Maps Server 80


Note: Port 80 has normally already been activated.

9. Click Next.
10. In the window Action, select Action > Allow connection.
11. Click Next.
12. In the Profile window, select the Domain, Private or Public option which
corresponds to the computer's connection to your network.
13. Click Next.
14. Enter the name, e.g. <PTV xServer>, in the Name field.

43

3.2.2 Testing enabled ports


Invoke the addresses from the PTV xServer with the following IP addresses
through a browser from a different computer:
Via https:
Test PTV xMap Server*:
Test PTV xLocate Server**:
Test PTV xRoute Server:
Test PTV xTour Server:

https://<ipadresse>:52512
https://<ipadresse>:52522
https://<ipadresse>:52532
https://<ipadresse>:52592

Notes:
* *Also execute the test of the PTV xMap Server for the computer on which you
have installed the PTV Ajax Maps Server.
** **Also execute the test of the PTV xLocate Server for the computer on which
you have installed the PTV Ajax Maps Server.
Via http:
Test PTV Ajax Maps Server:

http://<ipadresse>:80

If the ports are successfully opened, the PTV xServer Management Console page
will appear with information about the respective PTV xServer.

3.3 Open ports for PTV Map&Guide intranet


Scheduler service
On the computer on which the web application and the PTV Map&Guide intranet
Scheduler service are installed, you must enable port 557 for TCP. This allows for
the status query about the service and the illustration in a monitoring page from
other computers.
Note: The following functions and windows described allow you to configure the
Microsoft Windows Firewall. However, they might vary depending on the Microsoft Windows version you are using!
The following steps describe the settings you need to set under Microsoft Windows 2012 Server.
44

Enabling ports

1. Open the dashboard via Server Manager


2. Select the entry Windows Firewall with Advanced Security in the Tools
menu.
3. In the Windows Firewall with Advanced Security window, select Inbound
Rules in the navigation tree.
4. In the Actions section under Inbound Rules, select the
New Rule entry.
This opens the New Inbound Rule Wizard.
5. On the Rule type page, select the Port option.
6. Click Next.
7. On the Protocols and ports page, select the TCP option and the Specific
local ports option.
8. Register port 557.
9. Click Next.
10. In the window Action, select Action > Allow connection.
11. Click Next.
12. In the Profile window, select the Domain, Private or Public option which
corresponds to the computer's connection to your network.
13. Click Next.
14. In the Name field, enter the name for the PTV Map&Guide intranet Scheduler service.

45

Getting Started

After you have installed PTV Map&Guide intranet 2015, you need to carry out the
following steps.

4.1 Approval
1. In order to setup your PTV Map&Guide intranet version, open the administration tool, which is found on the web application computer.
After an installation in standard directories, you can open it via the URL:
http://<Name/IP des Webservers>/mgi2015-admin/
2. Initially, enter a user name and a password for the administrator and confirm the details with Login.
Note: The selection of the language is only in regards to the current session and has no effect on other users.
The administration tool is started and then asks you to enter your serial number.
After you have added the serial number, PTV Map&Guide intranet 2015 is ready
for use.

4.2 Edit administrator data


After starting the administration tool, you have already been created as a user of
the Administrator group.
Note: We deliver two predefined groups: Administrator and standard.
In the Administrator group, all access rights to PTV Map&Guide intranet are
available. In addition, a user who is assigned to the Administrator group also has
access to the administration tool. He can therefore administrate users and
groups.
In the Standard group, all important access rights to PTV Map&Guide intranet are
available.

46

Getting Started

1. If you would like to edit your user data, select the entry in the navigator
User Management > User.
The list of the created users is displayed.
2. Double click on the created user.
3. Add your user data.
4. If you would like to be informed of toll updates, add your e-mail address
and activate the Notify of new toll updates option.

Note: The information about the new toll updates is only sent to the specified email address if you have set up an SMTP server (see chapter 4.3
"Enter SMPT server access data" on page 48).
You can create other users through the toolbar > User area >
New.
Tip: More information about creating users and working with the administration
tool can be found in the online help.

47

4.3 Enter SMPT server access data


An SMPT server is needed for the optional email notification about current toll
updates. This can either be a server locally installed in your network or one of the
services offered online, for example, mail.yahoo.de. The access data for the SMTP
servers can be entered in the administration tool.
1. Following login, select the Setup mail server entry in the toolbar of the
administration area .
The Setup mail server window will open

2. Enter the required data.


If you have already added your user data and stored an email address (see chapter 4.2 "Edit administrator data" on page 46), you can check the mail delivery by
clicking on Connection test. You will receive a test mail sent to the stored email
address.
Note: Please note that for the toll updates, an active internet connection is required on the computer on which the PTV xServers are installed.

48

PTV Map&Guide intranet 2014 update

PTV Map&Guide intranet 2014 update

The update process occurs as follows:

Parallel installation of PTV Map&Guide intranet 2015


Transfer of the data from the previous version
Optional: Deinstallation of PTV Map&Guide intranet 2014
Tip: If you would not like to uninstall PTV Map&Guide intranet 2014 yet, you
can cancel or deactivate the PTV xServer 2014 and PTV Map&Guide intranet
Scheduler 2014 services beforehand.
You can install PTV Map&Guide intranet 2015 in parallel to your existing version
of PTV Map&Guide intranet 2014.
Important: In doing so, please note that you should only productively use one of
the systems on the same computers during an installation, otherwise access times
increase!
Alternatively, you can set up a new system. In this case, install PTV Map&Guide
intranet 2015 either via a standard installation on 3 computers (see chapter 2.5
"Standard installation" on page 14) or as a minimum installation on 2 computers
(see chapter 2.6 "Minimal installation" on page 27).
The following describes the parallel installation as standard installation on 3
computers and minimum installation on 2 computers.

5.1 Update: Standard installation on 3 computers


The standard installation is carried out in parallel to the existing PTV Map&Guide
intranet 2014 on 3 computers.
Notes: While specifying the computer addresses during installation, you can use
either the computer names or the IP addresses. We recommend using computer
names and only entering the IP addresses if there are problems with the name
resolution in the network.

49

If you copy the contents of the data carrier to the hard disk before installation,
please make sure to copy the content of DVD 1 to the directory DISK1 and the
content of DVD 2 to the directory DISK2.

5.1.1 Computer 1
The following components must be installed on computer 1:

Map
PTV Ajax Maps Server (PTV xMap, PTV xLocate)

5.1.1.1

Installing a Map

Note: Install the map before you install the PTV Ajax Maps Server!
1. Insert the map DVD into the DVD drive.
The start screen appears.
Note: If the startup screen does not automatically appear, start the installation via the setup.exe file.
2. Click on Install.
The installation Wizard opens.
3. Follow the instructions of the installation wizard.
4. Select PTV Map&Guide intranet as the map application.
5. Specify the map path.
Note: Usually the map of the previous version is already installed in the
suggested directory. The map path is therefore renamed by the setup. A
new Europe city map is, for example, not installed in the existing EuropePremium.geo directory, but rather in the EuropePremium_1.geo directory.
6. Enter the map serial number specified as listed on your licence certificate.
7. Select the Defragment map data check box.
8. Confirm your settings.
50

PTV Map&Guide intranet 2014 update

9. Exit the installation wizard with Finish.


The map has now been installed.
In the next step, you install the PTV Ajax Maps Server together with the PTV xMap
and PTV xLocate Server.

5.1.1.2 Installing PTV Ajax Maps Server (PTV xMap,


PTV xLocate)
Important: The PTV Ajax Maps Server is installed as services in parallel to the
existing PTV Ajax Maps Server of the previous version. However, the PTV Ajax
Maps Server services cannot run in parallel.
As soon as the new PTV Ajax Maps is installed, the previously used PTV Ajax Maps
Server service is cancelled and the more recent version is started. The previous
versions also therefore have access to the newly installed service by default.
During a parallel installation of PTV Map&Guide intranet 2015, there are therefore short interruptions when showing the maps of the previous version.
The PTV xServer services can run in parallel so that the previous version can also
access the PTV xServer originally installed after the update.
If you have installed PTV Map&Guide intranet 2015 for test purposes and would
like to continue using the previous version as a productive system, you should
note the following:
After installation of PTV Map&Guide intranet 2015, the previous version uses the
newly installed version of PTV Ajax Maps Server.
The PTV Ajax Maps Server is responsible for the presentation of background
maps in the web client. The new PTV Ajax Maps Server displays more up-to-date
map material than the previous version. This can mean that the streets displayed
in the map that the PTV xRoute server does not know are therefore also not used
for the routing.
If to begin with you would like to temporarily test version 2015 and continue to
productively use the previous version, you should deactivate the PTV Ajax Maps
Server (PTV Map&Guide intranet 2015) service and start the previous version,
PTV Ajax Maps Server (PTV Map&Guide intranet 2014).
1. Insert the program DVD into your DVD drive.
The start screen appears.
51

2. Click on Install.
The installation Wizard opens.
Tip: If the installation does not automatically appear, start the installation
via the setup.exe file.
3. Follow the instructions of the installation wizard.
4. Activate the following option on the Component selection page:
PTV Ajax Maps Server (xMap, xLocate)
Database
PTV Map&Guide intranet web application
PTV xServer (xMap, xLocate, xRoute, xTour)
5. Select the folder in which the PTV Ajax Maps Server and the PTV xServer
should be installed.
6. Select the folder in which you have previously installed the map.
7. Confirm your settings.
After installation, enable the installation server ports (see chapter 3.2"Enabling
ports for PTV xServer" on page 42).

PTV xLocate Server:

52522

PTV Ajax Maps Server

80

Note: Port 80 has normally already been activated.

5.1.2 Computer 2
The following components must be installed on computer 2:

Internet Information Server (IIS)


ASP.NET State Server
Database
PTV Map&Guide intranet web application
PTV Map&Guide intranet Scheduler (a Windows service for the execution of time controlled (background) functions)
52

PTV Map&Guide intranet 2014 update

Note: Before beginning, ensure that the Internet Information Service (IIS) and
ASP.NET is enabled.

5.1.2.1 Database and PTV Map&Guide intranet


Installing web application
Notes: The existing Microsoft SQL server can be used for the PTV Map&Guide
intranet 2015 database.
If the SQL server is on another computer, you must start the setup for the database locally on that computer.
1. Insert the program DVD into your DVD drive.
The start screen appears.
2. Click on Install.
The installation Wizard opens.
Tip: If the installation does not automatically appear, start the installation
via the setup.exe file.
3. Follow the instructions of the installation wizard.
4. Enable the following options on the page Component selection:
PTV Ajax Maps Server (xMap, xLocate)
Database
PTV Map&Guide intranet web application
PTV xServer (xMap, xLocate, xRoute, xTour)
5. In the Component selection window, select that you would like to use an
existing SQL instance.
6. If you do not use the SQL Server Express installed by the PTV Map&Guide
intranet, select the database server and the authentication method in the
next step.
Note: Please log in with an SQL user who has SYSADMIN privileges. If the
existing SQL server does not run on port 1433, specify the port separated
by a comma after the SQL server, e.g. <WKA-WN-FDT\PTVMG, 1453>
53

7. On the Select PTV AjaxMap Server page, state the computer on which you
have installed the PTV Ajax Maps Server (computer 1).
8. If required, on the Proxy configuration page state the login data for your
proxy server.
9. On the Select the target directory for PTV Map&Guide intranet page, select the directory in which the web applications (client and administration
tool) should be installed.
10. Select the SQL database files directory on the Select data directory for PTV
Map&Guide intranet page.
Note: The data directory must be stored on a local drive. If the computer
has several drives, you should not select the C: drive for performance reasons.
11. On the Backup and maintenance of the database page, state whether
backups of the database should be created automatically.
Important: Set up the database jobs even if you have already done this for
the previous version!

Yes: The database backup is set up automatically. You can adjust the
security information subsequently (see chapter 7 "Setting up manual
backup of the databases" on page 74).

No: An automatic backup of the database is not created. Set up the database backup manually (see chapter 7 "Setting up manual backup of
the databases" on page 74).
Note: For technical reasons, the user database recovery model is set to
Complete after installation. The complete recovery model means that
the transaction log (*.ldf file) permanently requires more disk space.
The transaction log is automatically kept small by the automatic database backup scripts.
Important: If you did not set up the database backup, you must reset
the database recovery model to Simple manually.
To do so, open the PTV Map&Guide intranet 2015 database module
via the SQL Management Studio.

54

PTV Map&Guide intranet 2014 update

Enter the following command via


New request: ALTER DATABASE
[mapandguide_intranet_2015_usermanagement] SET RECOVERY
SIMPLE WITH NO_WAIT and confirm with

Run.

12. If you have selected an automatic backup, enter a path to the backup directory on the Select drive for the backup medium page.
Note: If possible, do not select the same hard disk on which the database
has been installed for backing up the databases.
13. On the Names of the virtual directories page, state the names for the client and administration tool directories on the IIS.
Note: The directory names entered here become part of the URLs via
which the client and the administration tool are accessed.
14. On the Select links page, select whether you want to start the client or the
administration tool directly from the desktop.
15. On the Start copying page you will see an overview of the selected settings.
16. Confirm with Next in order to start copying.
After installing the web application, you must enable the following ports.

PTV Map&Guide intranet Scheduler service 557


The following entries were created on computer 2 by the installation wizard in the
Start menu under PTV Map&Guide intranet 2015:

Log file directory 2015


This is where the log files for PTV Map&Guide intranet are stored.

PTV Map&Guide intranet administration tool 2015


URL to access the PTV Map&Guide intranet administration tool.

PTV Map&Guide intranet client 2015


URL to access the PTV Map&Guide intranet client.

Tools
Monitoring 2015
Displays a page with a status overview of the individual components of
PTV Map&Guide intranet.
55

Diagnostic tool 2015


If support is needed, you can send important system information via the
diagnostic tool.

Data transfer intranet 2014


Tool to transfer the data from PTV Map&Guide intranet 2014

5.1.3 Computer 3
The following components must be installed on computer 3:

Map
PTV xServer (PTV xMap, PTV xLocate, PTV xRoute, PTV xTour)

5.1.3.1

Installing a Map

Note: Install the map before you install the PTV xServer.
1. Insert the map DVD into the DVD drive.
The start screen appears.
Note: If the startup screen does not automatically appear, start the installation via the setup.exe file.
2. Click on Install.
The installation Wizard opens.
3. Follow the instructions of the installation wizard.
4. Select PTV Map&Guide intranet as the map application.
5. Specify the map path.
Note: Usually the map of the previous version is already installed in the
suggested directory. The map path is therefore renamed by the setup. A
new Europe city map is, for example, not installed in the existing EuropePremium.geo directory, but rather in the EuropePremium_1.geo directory.
6. Enter the map serial number specified as listed on your licence certificate.
7. Select the Defragment map data check box.
56

PTV Map&Guide intranet 2014 update

8. Confirm your settings.


9. Exit the installation wizard with Finish.
The map has now been installed.
Install the PTV xServer in the next step.

5.1.3.2

Install PTV xServer

Notes: Before installation of the PTV xServer, make sure that the map is installed
on the computer.
1. Insert the program DVD into your DVD drive.
The start screen appears.
2. Click on Install.
The installation Wizard opens.
Tip: If the installation does not automatically appear, start the installation
via the setup.exe file.
3. Follow the instructions of the installation wizard.
4. Activate the following option on the Component selection page:
PTV Ajax Maps Server (xMap, xLocate)
Database
PTV Map&Guide intranet web application
PTV xServer (xMap, xLocate, xRoute, xTour)
5. On the Select database server page, state the database server on which
you have previously installed the database for PTV Map&Guide intranet:
<Computer Name\<DBName>.
6. On the Select destination path page, select the directory in which the PTV
xServer should be installed.
7. On the Traffic information page select the option Yes if you want to access
the traffic information from the internet.
8. If required, on the Proxy configuration page state the login data for your
proxy server.
57

9. On the Select map directory page, select the path to the previously installed map.
10. On the Start copying page you will see an overview of the selected settings.
11. Confirm with Next in order to start copying.
Each PTV xServer is installed as a Windows service and started automatically after
completion of the setup. After installation you must enable the ports and check
locally and from another computer whether it is possible to communicate with the
PTV xServer, see chapter 3.2 "Enabling ports for PTV xServer" on page 42.
The following ports must be activated:

PTV xMap Server:

52512

PTV xLocate Server:

52522

PTV xRoute Server:

52532

PTV xTour Server:

52592

5.2 Update: Minimum installation on 2 computers


Notes: While specifying the computer addresses during installation, you can use
either the computer names or the IP addresses. We recommend using computer
names and only entering the IP addresses if there are problems with the name
resolution in the network.
If you copy the contents of the data carrier to the hard disk before installation,
please make sure to copy the content of DVD 1 to the directory DISK1 and the
content of DVD 2 to the directory DISK2.
The procedure for minimal installation mostly corresponds with that of the standard installation. However, only 2 computers are needed for the minimal installation, because the database, PTV xServer and web application are installed on the
same computer.

58

PTV Map&Guide intranet 2014 update

Note: We recommend the standard installation on 3 computers, because simpler


scaling is possible with an increasing number of users (see 2.3.1"Standard installation (recommended)" on page 12).

5.2.1 Computer 1
The following components must be installed on computer 1:

Map
PTV Ajax Maps Server (PTV xMap, PTV xLocate)

5.2.1.1

Installing a Map

Notes:
Install the map before you install the PTV Ajax Maps Server!
1. Insert the map DVD into the DVD drive.
The start screen appears.
Note: If the startup screen does not automatically appear, start the installation via the setup.exe file.
2. Click on Install.
The installation Wizard opens.
3. Follow the instructions of the installation wizard.
4. Select PTV Map&Guide intranet as the map application.
5. Specify the map path.
Note: Usually the map of the previous version is already installed in the
suggested directory. The map path is therefore renamed by the setup. A
new Europe city map is, for example, not installed in the existing EuropePremium.geo directory, but rather in the EuropePremium_1.geo directory.
6. Specify the map path.
7. Enter the map serial number specified as listed on your licence certificate.
8. Select the Defragment map data check box.
59

9. Confirm your settings.


10. Exit the installation wizard with Finish.
The map has now been installed.
In the next step, you install the PTV Ajax Maps Server together with the PTV xMap
and PTV xLocate Server.

5.2.1.2 Installing PTV Ajax Maps Server (PTV xMap,


PTV xLocate)
Important: The PTV Ajax Maps Server is installed as services in parallel to the
existing PTV Ajax Maps Server of the previous version. However, the PTV Ajax
Maps Server services cannot run in parallel.
As soon as the new PTV Ajax Maps is installed, the previously used PTV Ajax Maps
Server service is cancelled and the more recent version is started. The previous
versions also therefore have access to the newly installed service by default.
During a parallel installation of PTV Map&Guide intranet 2015, there are therefore short interruptions when showing the maps of the previous version.
The PTV xServer services can run in parallel so that the previous version can also
access the PTV xServer originally installed after the update.
If you have installed PTV Map&Guide intranet 2015 for test purposes and would
like to continue using the previous version as a productive system, you should
note the following:
After installation of PTV Map&Guide intranet 2015, the previous version uses the
newly installed version of PTV Ajax Maps Server.
The PTV Ajax Maps Server is responsible for the presentation of background
maps in the web client. The new PTV Ajax Maps Server displays more up-to-date
map material than the previous version. This can mean that the streets displayed
in the map that the PTV xRoute server does not know are therefore also not used
for the routing.
If to begin with you would like to temporarily test version 2015 and continue to
productively use the previous version, you should deactivate the PTV Ajax Maps
Server (PTV Map&Guide intranet 2015) service and start the previous version,
PTV Ajax Maps Server (PTV Map&Guide intranet 2014).
1. Insert the program DVD into your DVD drive.
60

PTV Map&Guide intranet 2014 update

The start screen appears.


2. Click on Install.
The installation Wizard opens.
Tip: If the installation does not automatically appear, start the installation
via the setup.exe file.
3. Follow the instructions of the installation wizard.
4. Activate the following option on the Component selection page:
PTV Ajax Maps Server (xMap, xLocate)
Database
PTV Map&Guide intranet web application
PTV xServer (xMap, xLocate, xRoute, xTour)
5. Select the folder in which the PTV Ajax Maps Server and the PTV xServer
should be installed.
6. Select the folder in which you have previously installed the map.
7. Confirm your settings.
After installation, enable the installation server ports (see chapter 3.2"Enabling
ports for PTV xServer" on page 42).

PTV xLocate Server:

52522

PTV Ajax Maps Server

80

Note: Port 80 has normally already been activated.

5.2.2 Computer 2
The following components must be installed on computer 2:

Internet Information Server (IIS)


ASP.NET State Server
Map
Database
PTV xServer (PTV xMap, PTV xLocate, PTV xRoute. PTV xTour)
61

PTV Map&Guide intranet web application


PTV Map&Guide intranet Scheduler (Windows service for the execution
of time controlled (background) functions)
Note: Before beginning, ensure that the Internet Information Service (IIS) and
ASP.NET is enabled.

5.2.2.1

Installing a Map

Notes:
Install the map before you install the PTV xServer.
1. Insert the map DVD into the DVD drive.
The start screen appears.
Note: If the startup screen does not automatically appear, start the installation via the setup.exe file.
2. Click on Install.
The installation Wizard opens.
3. Follow the instructions of the installation wizard.
4. Select PTV Map&Guide intranet as the map application.
5. Specify the map path.
Note: Usually the map of the previous version is already installed in the
suggested directory. The map path is therefore renamed by the setup. A
new Europe city map is, for example, not installed in the existing EuropePremium.geo directory, but rather in the EuropePremium_1.geo directory.
6. Specify the map path.
7. Enter the map serial number specified as listed on your licence certificate.
8. Select the Defragment map data check box.
9. Confirm your settings.
10. Exit the installation wizard with Finish.
62

PTV Map&Guide intranet 2014 update

The map has now been installed.


In the next step, install other components.

5.2.2.2 Installing database, PTV Map&Guide intranet


web application and PTV xServer
Notes:
Before installing the PTV xServer, ensure that the map is installed on the computer.
The existing Microsoft SQL server can be used for the PTV Map&Guide intranet
2015 database.
If the SQL server is on another computer, you must start the setup for the database locally on that computer.
1. Insert the program DVD into your DVD drive.
The start screen appears.
2. Click on Install.
The installation Wizard opens.
Tip: If the installation does not automatically appear, start the installation
via the setup.exe file.
3. Follow the instructions of the installation wizard.
4. Enable the following options on the page Component selection:
PTV Ajax Maps Server (xMap, xLocate)
Database
PTV Map&Guide intranet web application
PTV xServer (xMap, xLocate, xRoute, xTour)
5. In the Component selection window, select that you would like to use an
existing SQL instance.
6. If you do not use the SQL Server Express installed by the PTV Map&Guide
intranet, select the database server and the authentication method in the
next step.

63

Note: Please log in with an SQL user who has SYSADMIN privileges. If the
existing SQL server does not run on port 1433, specify the port separated
by a comma after the SQL server, e.g. <WKA-WN-FDT\PTVMG, 1453>
7. On the Select PTV AjaxMap Server page, state the computer on which you
have installed the PTV Ajax Maps Server (computer 1).
8. On the Select destination path page, select the directory in which the PTV
xServer should be installed.
9. On the Traffic information page select the option Yes if you want to access
the traffic information from the internet.
10. If required, on the Proxy configuration page state the login data for your
proxy server.
11. On the Select map directory page, select the path to the previously installed map.
12. On the Select the target directory for PTV Map&Guide intranet page, select the directory in which the web applications (client and administration
tool) should be installed.
13. Select the directory of the SQL database files on the Select data directory
for PTV Map&Guide intranet page.
Note: The data directory must be stored on a local drive. If the computer
has several drives, you should not select the C: drive for performance reasons.
14. On the Backup and maintenance of the database page, state whether
backups of the database should be created automatically.
Important: Set up the database jobs even if you have already done this for
the previous version!

Yes: The database backup is set up automatically. You can adjust the
security information subsequently (see chapter 7 "Setting up manual
backup of the databases" on page 74).

No: An automatic backup of the database is not created. Set up the database backup manually (see chapter 7 "Setting up manual backup of
the databases" on page 74).
64

PTV Map&Guide intranet 2014 update

Note: For technical reasons, the user database recovery model is set to
Complete after installation. The complete recovery model means that
the transaction log (*.ldf file) permanently requires more disk space.
The transaction log is automatically kept small by the automatic database backup scripts.
Important: If you did not set up the database backup, you must reset
the database recovery model to Simple manually.
To do so, open the PTV Map&Guide intranet 2015 database module
via the SQL Management Studio. Enter the following command via
New request: ALTER DATABASE
[mapandguide_intranet_2015_usermanagement] SET RECOVERY
SIMPLE WITH NO_WAIT and confirm with

Run.

15. If you have selected an automatic backup, enter a path to the backup directory on the Select drive for the backup medium page.
Note: If possible, do not select the same hard disk on which the database
has been installed for backing up the databases.
16. On the Names of the virtual directories page, state the names for the client and administration tool directories on the IIS.
Note: The directory names entered here become part of the URLs via
which the client and the administration tool are accessed.
17. On the Select links page, select whether you want to start the client or the
administration tool directly from the desktop.
18. On the Start copying page you will see an overview of the selected settings.
19. Confirm with Next in order to start copying.
Each PTV xServer is installed as a Windows service and started automatically after
completion of the setup.
The following entries were created on computer 2 by the installation wizard in the
Start menu under PTV Map&Guide intranet 2015:
the following entries were created by the installation wizard in the start menu:

Log file directory 2015


This is where the log files for PTV Map&Guide intranet are stored.
65

PTV Map&Guide intranet administration tool


URL to access the PTV Map&Guide intranet administration tool.

PTV Map&Guide intranet client


URL to access the PTV Map&Guide intranet client.

Tools
Monitoring 2015
Displays a page with a status overview of the individual components of
PTV Map&Guide intranet.

Diagnostic tool 2015


If support is needed, you can send important system information via the
diagnostic tool.

Data transfer intranet 2014


Tool to transfer the data from PTV Map&Guide intranet 2014.

5.3 Transferring data from PTV Map&Guide intranet 2014


Notes:
Start the PTV Map&Guide intranet Administration Tool before the data transfer
and enter the available serial number. This gives you free licences for the transfer
of other users and this ensures that users are not transferred with the deactivated
status. If you have fewer licences available in PTV Map&Guide intranet 2015 than
in the previous version, the last users created in the previous version are transferred with the status deactivated.
The following data that you created in a previous version is transferred to the new
version.

User and groups from the Administration Tool


Vehicles, profiles and station lists from the web application
Data records from the data manager
The data is stored in databases on the SQL server.
There is an update tool for you to use to transfer the data. After an installation in
the standard directories, you can find the tool on the computer where the web
66

PTV Map&Guide intranet 2014 update

application was installed under


C:\ProgramFiles\PTVGROUP\PTV Map&Guide intranet 2015\Tools\Updatetool
PTV Map&Guide intranet\Updatetool.exe or in the start menu under PTV
Map&Guide intranet 2015\Tools\Data transfer intranet 2014.

If you use the SQL server of the previous version for the databases of the new
version, the data is automatically transferred by the update tool.

If you wish to use a different SQL server for the new version's databases, you
must back up the databases and save them in the new SQL servers via the
update tool.
Notes: Before you start a data transfer, all users must log out of the client and the
administration tool.
The data transfer can be executed as often as necessary.
Please note that all data that you have already created in the new version PTV
Map&Guide intranet 2015 is lost in the data transfer. Only the user name and
password of the administrator who was the first to start the PTV Map&Guide intranet 2015 administration tool remain unchanged.

You use the SQL Server of the previous version


1. Move them to the computer on which you have installed the web application.
If you have installed PTV Map&Guide intranet 2015 in the standard folders,
you will find the update tool at C:\ProgramFiles\PTVGROUP\PTV
Map&Guide intranet 2015\Tools\
Updatetool PTV Map&Guide intranet\Updatetool.exe or in the start menu
under PTV Map&Guide intranet 2015\Tools\Data transfer intranet 2014.
2. Start the update tool.
3. Click on Start.
4. Confirm by inputting Yes.
The data from the previous version will be transferred.

67

You do not use the SQL server of the previous version


If you wish to use an SQL server on a different computer than for the previous
version, you have access to an SQL script that you can use to back up the version
2014 databases before starting the update tool.
You must first create a backup of the 2014 database using the SQL script and
copy this into the new SQL server's directory. Then start the update tool and the
data are imported.
1. Start Microsoft SQL Server Management Studio and open the PTV
Map&Guide intranet 2014 database.
2. Open the script Backup_2014.sql, that is located with the web application
on the computer.
Note: If you have carried out an installation in the standard directories, the
SQL script can be found with the web application on the computer under
C:\Program Files\PTVGROUP\PTV Map&Guide intranet 2015\Tools\
Updatetool PTV Map&Guide intranet\SQLScripts\Backup_2014.sql.
3. Click on

Run.

A database backup is created on the computer with the SQL server of the
2014 version in the following directory:
C:\ProgramData\PTVGROUP\PTV MapAndGuide intranet 2014\
mapandguide_intranet\DATA\Backup_Update\
4. Copy the Backup_Update directory to the computer where the new version's SQL server is running in the DATA directory.
After installation in the standard directory, the data directory is called
C:\ProgramData\PTVGROUP\PTV MapAndGuide intranet 2015\
mapandguide_intranet_2015\DATA.
5. Start the update tool on the computer where you installed the web application.

68

PTV Map&Guide intranet 2014 update

If you have installed PTV Map&Guide intranet 2015 in the standard folders,
you will find the update tool at
C:\ProgramFiles\PTVGROUP\PTV Map&Guide intranet
2015\Tools\Updatetool PTV Map&Guide intranet\Updatetool.exe.
6. Click on Start.
7. Confirm by inputting Yes.
The data from the previous version will be transferred.

69

Migration from PTV Map&Guide intranet


(mas) 2014 or 2013
Migration is possible from the following versions:

PTV Map&Guide intranet (mas) 2014


PTV Map&Guide intranet (mas) 2013
The migration occurs in the following steps:

Installation of PTV Map&Guide intranet 2015


Transfer of the data from the previous version
Optional: Deinstallation of PTV Map&Guide intranet (mas) 2014 or 2013.

6.1 Installation of PTV Map&Guide intranet


2015
Install PTV Map&Guide intranet 2015 either through the standard installation on 3
computers (see chapter 2.5 "Standard installation" on page 14) or through the
minimum installation on 2 computers (see chapter 2.6 "Minimal installation" on
page 27).

6.2 Transferring data from PTV Map&Guide intranet (mas) 2014 or 2013
You can accept the following data:

Address tables
User
Vehicles
Station lists

70

Migration from PTV Map&Guide intranet (mas) 2014 or 2013

6.2.1 Accept address tables


You can export your own address tables, which you created in one of the previous versions mentioned above, as a CSV file and then import them into PTV
Map&Guide intranet 2015 Webclient in the Data Manager application.
Notes: Address data is exported on the computer where the PTV Map&Guide
intranet (mas) 2014 or 2013 was installed.
Transfer the address tables as follows:
1. Switch to the computer on which PTV Map&Guide intranet (mas) 2014 or
2013 is installed.
2. Start the PTV Map&Guide 2014 or 2013 program by double-clicking on
the mgstart.exe file in the installation directory.
3. Open the Data Manager application.
4. Load the address table with the data you would like to export through
Open table.
5. Call the export wizard through

Export data.

During the course of using the export wizard, you can select the names of the
export files and settings for the file format and separators.
We recommend the following settings.
First row contains field names

yes

Characters

Windows (ANSI)

Separator

Semicolon
If the data in your address layer has semicolons (e.g. texts in comment fields),
please select a freely defined separator,
which is not contained in your data.

Put character string in inverted commas

yes
If you do not export coordinates, you have
to completely geocode the data from your
address layer in PTV Map&Guide intranet
again.

First two fields contain coordinates

yes

Table fields

Select all fields


71

6. Through Start export, the data is exported and saved under the selected
name.
Repeat the process for all address tables that you would like to transfer and then
import the saved export files into the PTV Map&Guide intranet 2015 Data Manager (see online help for PTV Map&Guide intranet 2015).

6.2.2 Transfer users, vehicles and stop-off points lists


Data is exported on the computer where the PTV Map&Guide intranet (mas) 2014
or 2013 was installed.
The transfer occurs with the help of a migration tool, which is automatically installed by the PTV Map&Guide intranet 2015 setup. You will find it on the computer on which the PTV Map&Guide intranet web application is installed in the
start menu under All Programs > PTV Map&Guide intranet 2015 > Tools > Data
transfer intranet (mas) 2014.
In order to transfer data, proceed as follows:

Data export via the Administration Tool


1. Switch to the computer on which PTV Map&Guide intranet (mas) 2014 or
2013 is installed.
2. Start the PTV Map&Guide Administration Tool 2014 or 2013 by doubleclicking on the mgadmin.exe file in the installation directory.
3. Log on as the administrator.
4. Export the user through the menu Edit > User > Export user.
The user data is saved in the prog.mov directory.
Note: By default, you can find the prog.mov folder under
..\ProgramData\PTV-AG\PTV Map&Guide intranet (mas)\<version>\data\
5. Copy the prog.mov directory on the computer where the PTV Map&Guide
intranet 2015 web application is installed.

Import the data into the new version of PTV Map&Guide intranet
1. On the computer where the PTV Map&Guide intranet 2015 web application is installed, start the migration tool via Start > All Programs > PTV
Map&Guide intranet 2015 >Tools > Data transfer intranet (mas) 2014.
72

Migration from PTV Map&Guide intranet (mas) 2014 or 2013

The migration tool opens.


2. Select the prog.mov directory.
A list of the exported users is displayed.
3. Select which of the exported users you would like to transfer into the new
version from PTV Map&Guide intranet.
4. In the Login as Administrator area, the URLs are entered, through which
your middleware can be accessed.
Note: Check to see if both URLs can be reached by entering the URLs in a
browser window.
5. In the User Name and Password fields, enter your access data for the administration tool.
6. Specify if the public vehicles and trips should be accepted as Protected.
Important: The data transfer can only be done once! Thus, check all of
your information before you continue. If you would like to restart the migration tool, click on Reset. This cannot be reversed once the data has
been transferred. Data from the old version is not deleted or changed.
7. Click on Start and wait until all data is transferred.
Once the data transfer is complete, a note will be displayed.
8. Exit the migration tool.

73

Setting up manual backup of the databases

Notes: If you have selected an automatic backup in Setup, the database jobs are
installed and set up automatically. However, you can adjust the scripts and tasks
subsequently.
Important: The jobs for backing up the databases of a previous version do not
back up the databases of the new version! If you would like to back up version
2015 databases, you must set up the jobs again.
Regular backups are created of the PTV Map&Guide intranet databases and the
system databases via the database jobs. Furthermore, the database indexes are
optimised and a database integration check is carried out.
If you have not set up an automatic database backup via Setup, you can set up
the database jobs to back up the PTV Map&Guide intranet databases manually.
After an installation, you can find the necessary installation files in the standard
directories under C:\ProgramData\PTVGROUP\PTV MapAndGuide intranet
2015\mapandguide_intranet_2015\DATA\Scripte\Maintenance.

The databases are backed up via the freely available SQL script SQL Server
Maintenance Solution by Ola Hallegreen.

74

Setting up manual backup of the databases

Notes: The recommended backup strategy is freely available free of charge. It is


used by many well-known organisations. Further information on this can be found
at: http://ola.hallengren.com/organizations.html
PTV AG accepts no responsibility for the correctness, completeness and up-todate nature of the recommended backup strategy.
The required SQL procedures and tables are created and the Windows tasks are
set up via the installation files that back up and check the PTV Map&Guide intranet databases at specified intervals.

7.1 Changing the backup directory


You can state in the installation files that another directory is used for backups.
Notes: If you do not change the directories, the database backups are stored in
the
C:\ProgramData\PTVGROUP\PTV
MapAndGuide
2015\
mapandguide_intranet_2015\DATA\ folder in a subdirectory which reads like the
SQL instance name, e.g. MGINTRA$PTVMG.
If the computer where the SQL Server is installed has multiple hard disks, the
hard disk where the database data is stored should be used for the backup.
Make the change in the following installation files:

dba_UserDBs_DifferentialBackup.cmd

dba_UserDBs_FullBackup.cmd

dba_SysDBs_FullBackup.cmd

dba_UserDBs_LogBackup.cmd

Determine the required backup directory via the entry @Directory=<path>,


e.g. @Directory=D:\mgintra_backup_DB

7.2 Determining SQL user


In order to create the SQL procedures and tables, you require an SQL user who is
assigned to the sysadmin role.

75

You
specify
the
sysadmin
dba_MaintenanceSolution.cmd.

role

login

data

in

the

file

1. Open the dba_MaintenanceSolution.cmd script with a text editor.


2. Enter the login data of an SQL user with sysadmin role:
-U <User> -P "<Password>", e.g.
U admin P "PW9988"

7.3 Setting up jobs


After you have carried out all necessary adjustments (if necessary, see chapter 7.1
"Changing the backup directory" on page 75 and chapter 7.2 "Determining SQL
user" on page 75), you can install the jobs in the next step.
Important: Start the installation files using administrator rights.

Setting up Windows tasks


Start the file schtask_create_all.cmd using administrator rights.
8 command files are activated via the file to set up the Windows tasks. In the
Windows task planning, the following tasks are set up to back up the databases.

PTV Map&Guide intranet 2015_UserDBs_LogBackup


Carries out a backup of the transaction log of all relevant PTV Map&Guide intranet databases.

PTV Map&Guide intranet 2015_UserDBs_IntegrityCheck


Carries out an integrity check of all relevant PTV Map&Guide intranet databases.

PTV Map&Guide intranet 2015_UserDBs_IndexOptimize


Optimises indexes and statistics for all relevant PTV Map&Guide intranet databases.

PTV Map&Guide intranet 2015_UserDBs_FullBackup


Carries out a full backup of all relevant PTV Map&Guide intranet databases.
Note: The task is run once during the setup, so you can monitor in Windows
task planning whether the setup has been successful.
76

Setting up manual backup of the databases

PTV Map&Guide intranet 2015_UserDBs_DifferentialBackup


Carries out an incremental backup of all relevant PTV Map&Guide intranet databases. The only data that are backed up are those which have been
changed or newly added since the last backup.

PTV Map&Guide intranet 2015_SysDBs_IntegrityCheck


Carries out an integrity check of all system databases (master, model, msdb)

PTV Map&Guide intranet 2015_SysDBs_FullBackup


Carries out a full backup of the system databases (master, model, msdb).

Checking the task setup


During the setup a full backup of all relevant PTV Map&Guide intranet databases
is carried out once for test purposes via the task PTV Map&Guide intranet
2015_UserDBs_FullBackup.
In Windows task planning you can check whether the backup has been carried
out successfully.
1. Open Windows task planning via Start > Execute > taskschd.msc.
2. In the navigation tree, select the Task library entry.
The following tasks are entered to back up the databases.

Note:
The PTV Map&Guide intranet 2015_UserDBs_FullBackup task has already
been carried out once during setup.
3. Check the following:

In the PTV Map&Guide intranet 2015_UserDBs_


FullBackup task, is the entry The operation was completed successfully
(0x0) in the Last Run Result column?

77

In the specified backup directory (Standard:


C:\ProgramData\PTVGROUP\PTV MapAndGuide intranet
2015\DATA\<SQL instance name>\mapandguide_intranet\FULL
), was a *.bak file created?
If both entries are there, the setup has been successful.
Notes: If required, you can adjust the set times at which the tasks are carried out
through the Windows Task Planner. The intervals are set so that a full database
backup is carried out every 8 days.
Backups that are older than 8 days are automatically deleted by the jobs.

Checking log files


Log files are created by carrying out the Windows tasks.
The result of the action last carried out is recorded in a log file which has the
same name as the corresponding task. Log files are saved under
C:\ProgramData\PTVGROUP\PTV
MapAndGuide
intranet
2015\Log\MaintenanceSolution.
Note: For security reasons we recommend you check the log files at regular intervals.

Deleting Windows tasks


You can delete all the Windows tasks again to back up the PTV Map&Guide intranet databases.

To do this, start the file schtask_delete_all.cmd using administrator rights.

78

Tips and Tricks

Tips and Tricks

8.1 Changing log file path


After installation, log files are saved in the standard directories under
C:\ProgramData\PTVGROUP\PTV MapAndGuide intranet 2015\Log\ .
You can change this path at the beginning of the installation. To do so you must
call up the Setup. exe with the following parameters
setup.exe Logpath = "<Path details>", e.g.
setup.exe Logpath = D:\mgintra 2015

8.2 Subsequent enabling of traffic information


retrieval
If you have not enabled traffic information retrieval during installation, you can do
this subsequently.
1. Go to the directory in which the PTV xRoute Server has been installed.
Note: For an installation in the standard directories, with a 64-bit system,
the PTV xRoute Server is located under
C:\Program Files\PTVGROUP\PTV Map&Guide-xServer-1-18-1\xRoute.
2. Open the webapps directory.
3. Rename the TrafficInfoLoader.wa_ file as
TrafficInfoLoader.war.
After a few minutes, the traffic information will be retrieved automatically.

79

8.3 Use remote control


In the PTV Map&Guide intranet Client, there is an interface through the external
systems, such as trip or customer administration systems, by which information
can be transferred. Therefore, for example, a route can be created, calculated
and optimised from customer addresses in the Route planning application.
You will find a detailed description of the remote control in the help for the administration tool.

80