49

SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs
Page 2: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF ChallengesTorben Lund

DataPower

Page 3: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Why SPLF ?

◦ S – Security◦ P – Performance◦ L – Load Balancing◦ F – Fail over

Page 4: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Traditional website

Page 5: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Application website

Page 6: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Application website

HTML requestsData processing

Page 7: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF website

MASTER SLAVE(s)

Page 8: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF website

HTML requests

Page 9: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF website

HTML requests Data processing

Page 10: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF website

HTML requests Data processing

Only a single port open for the internal protocol connection

Page 11: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF setup

◦ On the Master server• Place the AppHtml folder w/subfolders• Webshare the folder• Programs folder (only needed at setup)

◦ On the Slave server(s)• Place the programs and data folders

◦ Licenses• A webapp license required for each slave server• An add-on SPLF license is needed for the master

Page 12: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Slave side server setup

Page 13: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Slave side server setup

Page 14: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Slave side server setup

Page 15: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Slave side application setup

Page 16: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Master side application setup

Page 17: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF website Challenges

Page 18: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Simple setup (Development PC)

( Will not work in production setup )

Page 19: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Simple setup (Development PC)

( Will not work in production setup )

Page 20: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Simple setup ( Single webserver )

Page 21: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Simple setup ( Single webserver )

c:/proj/18-0/CPlan/AppHtml/pdf/DagsPlan-154-2015-03-18.pdf

pdf/DagsPlan-154-2015-03-18.pdf

Page 22: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Simple setup ( Single webserver )

Page 23: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Simple setup ( Single webserver )

◦ File name is displayed in browser◦ Files are public accessable (placed in webshare)◦ Visitor can see other files by changing filename

Disadvantages:

Page 24: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Simple setup ( Single webserver )

◦ cWebResourceManager• Creates encrypted URL• URL bound to current session• Time limited access (option)

◦ Resource.ASP• Javascript to load file from server

Solution:

Page 25: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Simple setup ( Single webserver )

Solution:

Page 26: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Simple setup ( Single webserver )

Page 27: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Simple setup ( Single webserver )

Page 28: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Simple setup ( Single webserver )

Page 29: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF setup Web + Application server(s)

The Challenge:

Page 30: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF setup Web + Application server(s)

The Challenge:

Page 31: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF setup Web + Application server(s)

The Challenge:

Page 32: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF setup Web + Application server(s)

◦ Try to place a PDF file on the same physicallocation on the webserver as the file created on the application server.

◦ See what happens…

How to meet the Challenge:

Page 33: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF setup Web + Application server(s)

How to achieve this:

Page 34: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF setup Web + Application server(s)

How to achieve this:

Use FTP to transfer the PDF file from the application server to the webserver.

Page 35: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF setup Web + Application server(s)

◦ Build this into the cWebResourceManager• Augment the DownloadURL method• Make it upload the file before returning the URL

◦ Limitations to this• Files must always be placed in the same location• OR you have to configure the FTP upload

How to achieve this:

Page 36: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF setup Web + Application server(s)

◦ In this case we are using an external FTP client.◦ Mainly because of security demands. ◦ Bitvise SSH client.

• Can send files using a secure connection• Supports a command line interface

FTP transfer of files

Page 37: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF setup FTP transfer

Page 38: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF setup FTP transfer

Page 39: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF setup FTP transfer

◦ Command line interface:

Page 40: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF setup Web + Application server(s)

How to achieve this:

Page 41: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Other things to be careful about

◦ Using system files

◦ Using Config.ws ini file

◦ Using Registry values

Page 42: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Using system file

Page 43: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Using system file

Page 44: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Using system file

Page 45: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Using system file (with reread)

Page 46: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Ini file + Registry

Page 47: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

Thank you for watching

Page 48: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF Challenges

Page 49: SPLF Challengesd3mvk1t0iovct7.cloudfront.net/Synergy2015_Presentations/...• Webshare the folder • Programs folder ( only needed at setup) On the Slave server(s) • Place the programs

SPLF Challenges

”The time to relax is when you don’t have time for it.” (Sydney J. Harris)