25
TDFA TRANSFERT DE FICHIERS AUTOMATIQUES C ONTENTS © RENAULTGROUP 1 START WITH TDFA V7.1.05

START WITH TDFA V7 - mdx.dcs.renault.com

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

TDFA – TRANSFERT DE FICHIERS AUTOMATIQUES CONTE NTS

© RENAULTGROUP 1

START WITH

TDFA

V7.1.05

TDFA – TRANSFERT DE FICHIERS AUTOMATIQUES CONTE NTS

© RENAULTGROUP 2

C O N T E N T S

PURPOSE OF THE DOCUMENT ............................................................................. 3

1 TECHNICAL PREREQUISITES ............................................................................ 4

1.1 OPERATING SYSTEM ....................................................................................................... 4

1.2 SOFTWARE .................................................................................................................. 4

1.3 NETWORK ................................................................................................................... 4

1.4 TDFA BOX FOR SEVERAL DEALERS .................................................................................... 4

2 INSTALLATION ............................................................................................... 6

2.1 OBTAINING THE PACKAGE ................................................................................................ 6

2.2 BEFORE INSTALLATION .................................................................................................... 6

2.3 INSTALLATION’S STEPS .................................................................................................... 7

2.3.1 ACCEPT THE EULA ........................................................................................................... 7

2.3.2 INSTALLING THE CONTENTS ................................................................................................ 9

2.3.3 END OF THE INSTALLATION ................................................................................................. 9

2.3.4 SCHEDULE CONFIGURATION FOR TDFA .............................................................................. 14

3 BASIC CONFIGURATION FOR TDFA ............................................................... 16

3.1 CERTIFICATE IMPORT ..................................................................................................... 16

3.2 OTHERS FEATURES WINDOWS START MENU ......................................................................... 19

3.3 MAPPING REDIRECT NET DRIVE WITH WINDOWS SYSTEM ACCOUNT ........................................... 20

4 INSTALLATION TEST AND TDFA LOG FILE ...................................................... 23

TDFA – TRANSFERT DE FICHIERS AUTOMATIQUES PURPO SE O F TH E DO CUM ENT

© RENAULTGROUP 3

P U R P O S E O F T H E D O C U M E N T This document aims at allowing a quick understanding of the TDFA service running on the transfer host into dealership. It describes a simple and sequential procedure to install the service and test its configuration. The user of this document is supposed to know in a global way the TDFA solution.

TDFA – TRANSFERT DE FICHIERS AUTOMATIQUES TECHN IC AL PR ER EQU ISI TES

© RENAULTGROUP 4

1 TECHNICAL PREREQUISITES

1.1 OPERATING SYSTEM

The supported operating systems are Windows 10, Windows Server 2012 r2, 2016 and 2019. The Windows account used to perform installation must have Administrator rights with registry access.

1.2 SOFTWARE

TDFA service includes: Java Runtime Environment with release 1.8.0_131 compliant with TLS 1.2 protocol. This software can be downloaded from Renault net portal (https://dcs.renault.com/ ), in the “IS/IT Advices” publication. You must subscribe to this publication to download binaries and users_guides. For importers only, this software can be downloaded from RNI Homepage (https://mdx.renault.com/mdx/). Please contact your Renault interlocutor. The user can’t install this product in the directory he wants :

Path mandatory is C: \TDFA for this Application and C:\MASTER for technical certificate source and compilation script (same folder using by TLD and A2A)

1.3 NETWORK

Internet must be accessible from TDFA local host and usage of port 443 to access internet must be allowed (domain : *.renault.com) For DMS : If you use share files with FTP IIS on the folder dcs-repository, FTP port must be allowed on the Windows firewall (port 21).

1.4 TDFA BOX FOR SEVERAL DEALERS

This TDFA version works with only one TDFA technical certificate per locale instance. If you have several dealers, you must to configure TDFA BOX attachment in the Renault net Subtool.

TDFA – TRANSFERT DE FICHIERS AUTOMATIQUES TECHN IC AL PR ER EQU ISI TES

© RENAULTGROUP 5

You decide the main TDFA BOX with ID BIR defined as Master for TDFA. After you define all the slave Dealer who must be attached to the main TDFA BOX. For example:

In this case, the main TDFA BOX is : 00000714 The Dealer site 000000886 is attached to the main site 714. You must to use the TDFA technical Certificate on the Dealer 714

TDFA – TRANSFERT DE FICHIERS AUTOMATIQUES INST A LLA T IO N

© RENAULTGROUP 6

2 INSTALLATION

2.1 OBTAINING THE PACKAGE

The new installation in English version only includes 2 components :

- TDFA installation - RPATCH installation (mandatory for Renault net local software TDFA, A2A, TLD)

You must have technical certificate before installing these software. Abide by specific recommendations about the TDFA certificate : Only one TDFA technical certificate with TDFA V7. Use the Box TDFA attachment in the Renault Subtool. For importers only, TDFA package and documentation will be sent by your TDFA Renault interlocutor.

2.2 BEFORE INSTALLATION

Before executing installation file, you must stop OLD TDFA service running on the host and uninstall previous version. Delete all old TDFA tasks in Windows Scheduler. If you do not do that, installation process fails.

TDFA – TRANSFERT DE FICHIERS AUTOMATIQUES INST A LLA T IO N

© RENAULTGROUP 7

2.3 INSTALLATION’S STEPS

Execute the installation file Setup_TDFA_EN.exe

2.3.1 ACCEPT THE EULA

Click on Install to continue the Setup.

TDFA – TRANSFERT DE FICHIERS AUTOMATIQUES INST A LLA T IO N

© RENAULTGROUP 8

Click on Accept to continue the Setup.

TDFA – TRANSFERT DE FICHIERS AUTOMATIQUES INST A LLA T IO N

© RENAULTGROUP 9

2.3.2 INSTALLING THE CONTENTS

The following screen displays the details of the files extraction:

2.3.3 END OF THE INSTALLATION

After extraction, a DOS window lists the steps of the end of the installation:

You must to choice witch schedule do you want :

1- TDFA Schedule for Dealer with requests during the day and the night (see chapter 2.3.4)

2- TDFA Schedule for Agency with requests during the night (see chapter 2.3.4)

TDFA – TRANSFERT DE FICHIERS AUTOMATIQUES INST A LLA T IO N

© RENAULTGROUP 10

If you have a proxy between TDFA and Internet Connexion, you must to enter Proxy data in the following file (c:\master\proxy.dat)

Enter at least >>> PROXYHOST = your proxy IP or proxy Hostname PROXYPORT = your proxy TCP Port

Save the file and quit notepad to continue TDFA setup.

TDFA – TRANSFERT DE FICHIERS AUTOMATIQUES INST A LLA T IO N

© RENAULTGROUP 11

At this step, copy your TDFA technical certificate in the folder c:\master and press a key to continue. Reminder : Only one TDFA technical certificate with TDFA V7. Use the Box TDFA attachment in the Renault Subtool (see chapter 1.4).

Enter the password for your technical certificate.

TDFA – TRANSFERT DE FICHIERS AUTOMATIQUES INST A LLA T IO N

© RENAULTGROUP 12

The installer automatically generates the TDFA task schedule :

After installing TDFA, the system prompts you to install R-Patch.

TDFA – TRANSFERT DE FICHIERS AUTOMATIQUES INST A LLA T IO N

© RENAULTGROUP 13

If R-Patch is not already installed, you must install it with the RPH technical certificate. Consult RPatch Installation Guide. If R-Patch is already installed, you can cancel this setup.

TDFA – TRANSFERT DE FICHIERS AUTOMATIQUES INST A LLA T IO N

© RENAULTGROUP 14

2.3.4 SCHEDULE CONFIGURATION FOR TDFA

The default planner is based on the table below : This default Settings is good enough for Renault dealerships (Primary Network) We recommend don’t add task during the day

First line : DAY FLOW All day requests (up and down) between 07:00 AM and 18:00 PM with frequency of 15 minutes Second to seventh line : NIGHT FLOW Two requests (up and down) nightly Four requests (up and down) early morning This default Settings is good enough for Renault Agency (Secondary Network)

NIGHT FLOW Two requests (up and down) nightly Three requests (up and down) early morning.

TDFA – TRANSFERT DE FICHIERS AUTOMATIQUES INST A LLA T IO N

© RENAULTGROUP 15

Rules for change: The random number must be included in the period between the start time and the end time. Example : for 1 hour of period the Random must be defined between 1 and 60 minutes Values for Data flow direction : * for Download and Upload files Up for Upload files from dcs-repository\out with a specific file Name Down for Download files in dcs-repository\in with a specific file Name Windows Scheduler : Each night, the TDFA batch calculates the new schedule with a random start time. and Windows scheduler is updated:

The Windows appears when all components are installed. Click on Finish.

TDFA and R-Patch Software must be present in the Panel Control. To uninstall these Software, you must use the control panel.

A2A – APPLICAT ION TO APPLI CATI ON M ES SAG ING INST ALL ATI ON T EST

© RENAULTGROUP 16

3 BASIC CONFIGURATION FOR TDFA

The aim of this chapter is to perform a basic and minimal configuration to RUN the installation.

3.1 CERTIFICATE IMPORT

The new TDFA_setup includes certificate import in the TDFA instance. If you want to change TDFA certificate, follow this process :

1- Copy TDFA Certificate in the folder c:\master with this naming convention :

In this example : the certificate TDF00900100.p12 is generated for the TDFA BOX 00900100

2- If you need proxy for your internet access, you must to complete the file proxy.dat :

A2A – APPLICAT ION TO APPLI CATI ON M ES SAG ING INST ALL ATI ON T EST

© RENAULTGROUP 17

3- Run the script TDFA Compil with administrator rights, present in Windows Start Menu :

only IP adress accepted

A2A – APPLICAT ION TO APPLI CATI ON M ES SAG ING INST ALL ATI ON T EST

© RENAULTGROUP 18

Click Y to continue. The system require password for your TDFA technical certificate and will generate TDFA Schedule.

A2A – APPLICAT ION TO APPLI CATI ON M ES SAG ING INST ALL ATI ON T EST

© RENAULTGROUP 19

3.2 OTHERS FEATURES WINDOWS START MENU

TVA Compil

- Compilation TDFA technical certificate in the TDFA instance. - Generates the TDFA tasks schedule

TDFA Schedule

- Changes settings for TDFA schedule TEST_TDFA

- Executes TDFA Download et Upload requests

A2A – APPLICAT ION TO APPLI CATI ON M ES SAG ING INST ALL ATI ON T EST

© RENAULTGROUP 20

3.3 MAPPING REDIRECT NET DRIVE WITH WINDOWS SYSTEM ACCOUNT

Context : - If you use the TDFA redirect feature, you must follow this procedure on Windows.

Prerequisites :

- Know this information before continuing

o Server Name and Share Name where Renaultnet folder is present with OUT and IN

Subfolder

o Letter for mapping network drive >> check if it free on TDFA host (for example >> R:)

o User account for Server Name

o Password for Server Name

Procedure :

1- Execute the new script: c:\master\bin\mount_redirect.cmd

2- Enter Network drive information on this screen:

Enter the credential:

A2A – APPLICAT ION TO APPLI CATI ON M ES SAG ING INST ALL ATI ON T EST

© RENAULTGROUP 21

After entering your user and password, the systems: - generate a new task in Windows Scheduler

- mount automatically the network drive with your defined letter

3- Open DOS Shell Command with an Administrator account (CMD)

4- Execute : c:\master\bin\psexec -i -s cmd.exe

5- A new DOS Shell Windows appear with the local\system rights account

Check who are you with the command : “whoami” => you must be “nt authority\system”

6- Check if you have access to the drive with your letter for example “r:”

7- On local path c:\dcs-repository create the file redirect.txt with the entry “r:\renaultnet\”

8- Test TDFA launch in the Windows Scheduler and check if the file LOG is present in

“r:\renaultnet\tdfui.log”

A2A – APPLICAT ION TO APPLI CATI ON M ES SAG ING INST ALL ATI ON T EST

© RENAULTGROUP 22

9- You can use network drive with “in” and “out” subfolders.

10- For information: You can see a new task in windows scheduler

“Mount_Redirect” is launched at Windows start for re-mapping automatically your network drive.

Drive R: Folder “renaultnet”

with TDFA Log and in out folder access by account system

Drive C: Folder “dcs-repository”

with redirect file

A2A – APPLICAT ION TO APPLI CATI ON M ES SAG ING INST ALL ATI ON T EST

© RENAULTGROUP 23

4 INSTALLATION TEST AND TDFA LOG FILE

The aim of this test is to check the installation by sending TDFA request to the Renault net endpoint. Proceed as follows :

Wait for the end of the program, and consult the log file : TDFUI.LOG present in the folder c:\dcs-repository.

A2A – APPLICAT ION TO APPLI CATI ON M ES SAG ING INST ALL ATI ON T EST

© RENAULTGROUP 24

TDFA Log file contains all the traces of TDFA requests.

A backup is automatically scheduled every 8 days in the TDFUI.SAV

A2A – APPLICAT ION TO APPLI CATI ON M ES SAG ING INST ALL ATI ON T EST

© RENAULTGROUP 25

TDFA Log contents

1- Download phase [17/03/2021 15:04:48]Starting a new session [17/03/2021 15:04:48]Retrieving file list from server (Files to receive) [17/03/2021 15:04:49]You have 1 files available (Files to receive) [17/03/2021 15:04:49]Starting batch file download. [17/03/2021 15:04:49]Downloading 00900100.RRF.TDF.00900100.0021 (Files to receive) [17/03/2021 15:04:49]Confirming successful download for 00900100.RRF.TDF.00900100.0021. [17/03/2021 15:04:50]Confirmation sent. [17/03/2021 15:04:50]00900100.RRF.TDF.00900100.0021 has been successfully downloaded.

2- Upload phase [17/03/2021 15:04:50]Batch file download completed. [17/03/2021 15:04:50]Reading file list from directory C:DCS-REPOSITORY\out. [17/03/2021 15:04:50]You have 1 files available (Files to send) [17/03/2021 15:04:50]Starting batch file upload. [17/03/2021 15:04:50]Uploading 00900100.TST.TST.00900100.0101 (Files to send) [17/03/2021 15:04:50]00900100.TST.TST.00900100.0101 has been successfully uploaded. [17/03/2021 15:04:50]Batch file upload completed.

Any data transfer problems are indicated in the log. You can send this files to the help-desk to analyze it.

########### END OF USER GUIDE ###########