October 20-24. Dyalog File Server Version 2.0 Morten Kromberg CTO, Dyalog LTD Dyalog’13.

Slides:



Advertisements
Similar presentations
Welcome to Middleware Joseph Amrithraj
Advertisements

Threads, SMP, and Microkernels
1 June 1, 2015 Secure access to project budget information for OAR Principal Investigators Eugene F Burger Sylvia Scott Tracey Nakamura John L Forbes PMEL.
1 Chapter 2 Database Environment Transparencies © Pearson Education Limited 1995, 2005.
SSH : The Secure Shell By Rachana Maheswari CS265 Spring 2003.
Hands-On Microsoft Windows Server 2003 Administration Chapter 5 Administering File Resources.
Firefox 2 Feature Proposal: Remote User Profiles TeamOne August 3, 2007 TeamOne August 3, 2007.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Nine Managing File System Access.
Chapter 2 Database Environment Pearson Education © 2014.
Operating Systems.
Centralized and Client/Server Architecture and Classification of DBMS
Session 3 Windows Platform Dina Alkhoudari. Learning Objectives Understanding Server Storage Technologies Direct Attached Storage DAS Network-Attached.
Lecture The Client/Server Database Environment
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 7 Configuring File Services in Windows Server 2008.
Network Security1 – Chapter 3 – Device Security (B) Security of major devices: How to protect the device against attacks aimed at compromising the device.
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
Introduction to Databases Transparencies 1. ©Pearson Education 2009 Objectives Common uses of database systems. Meaning of the term database. Meaning.
Module 8: Designing Active Directory Disaster Recovery in Windows Server 2008.
MS systems use one of the following: LanManager Hash (LM) LanManager Hash (LM) NT LanManager (NTLM) NT LanManager (NTLM) Cached passwords Cached passwords.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
Web Based Applications
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Chapter 7: Using Windows Servers to Share Information.
Module 13: Configuring Availability of Network Resources and Content.
DONE-10: Adminserver Survival Tips Brian Bowman Product Manager, Data Management Group.
Week 7 Lecture Web Database Development Samuel Conn, Asst. Professor
Microsoft Visual SourceSafe Very popular Mainly used by Windows developers Cornerstone of many development teams Provides essential version control functions.
MCSE Guide to Microsoft Exchange Server 2003 Administration Chapter Four Configuring Outlook and Outlook Web Access.
1 Guide to Novell NetWare 6.0 Network Administration Chapter 13.
Chapter 9: Novell NetWare
Richard Smith Component Files and the DFS. Topics 1. New features in V Dyalog File Server (DFS) V Future possibilities.
Operating Systems  A collection of programs that  Coordinates computer usage among users  Manages computer resources  Handle Common Tasks.
M i SMob i S Mob i Store - Mobile i nternet File Storage Platform Chetna Kaur.
Towards Industrial Strength Web Applications Brian Becker, Dyalog LTD. APL Tools Group.
Computer Emergency Notification System (CENS)
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Remote Access Using Citrix Presentation Server December 6, 2006 Matthew Granger IT665.
The Client/Server Database Environment Ployphan Sornsuwit KPRU Ref.
Personal Computer - Stand- Alone Database  Database (or files) reside on a PC - on the hard disk.  Applications run on the same PC and directly access.
Grid Chemistry System Architecture Overview Akylbek Zhumabayev.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
1 Week #10Business Continuity Backing Up Data Configuring Shadow Copies Providing Server and Service Availability.
Bayu Adhi Tama, M.T.I 1 © Pearson Education Limited 1995, 2005.
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
1 Chapter 1 Introduction to Databases Transparencies.
Process Architecture Process Architecture - A portion of a program that can run independently of and concurrently with other portions of the program. Some.
EbiTrack Architecture Version 1.0 September 24, 2012.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Dyalog Road Map ’06 Helsingør, October 18th 2006.
1 Objectives Discuss File Services in Windows Server 2008 Install the Distributed File System in Windows Server 2008 Discuss and create shared file resources.
1 Active Directory Service in Windows 2000 Li Yang SID: November 2000.
Chapter 2 Database Environment.
Dsitributed File Systems
SQL Server 2012 Session: 1 Session: 4 SQL Azure Data Management Using Microsoft SQL Server.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
Chapter 7: Using Windows Servers
Netscape Application Server
File System Implementation
The Client/Server Database Environment
The Client/Server Database Environment
Chapter 3: Windows7 Part 4.
Chapter 2 Database Environment Pearson Education © 2009.
Oracle Architecture Overview
Introduction to Databases Transparencies
– Chapter 3 – Device Security (B)
Database Environment Transparencies
Sending data to EUROSTAT using STATEL and STADIUM web client
Presentation transcript:

October 20-24

Dyalog File Server Version 2.0 Morten Kromberg CTO, Dyalog LTD Dyalog’13

Agenda What is the DFS? Motivation & Benefits Version 2.0 Features DFS Road Map Availability DFS v2.03

Recap: What is DFS? The Dyalog File Server A ”plug compatible” replacement for direct access to component files (DCF). (and from v2.0, also ”native files”) A Client/Server system in which file operations are only possible by communicating with DFS Server Processes –No direct access to component files from client –However, the underlying storage mechanism *is* ”normal” component files. DFS v2.04

5 File Server 2 /test File Server 1 /prod File1 File3 APL Client Session 1 APL Client Session 2 APL Client Session n File Handler Thread 1 Master Server Manages Login requests HTTP Monitor (Browser) File2 File Handler Thread 2 Monitor Provides monitoring and instrumentation Exposes HTTP Interface Locks Server Handles all FHOLD and NLOCK requests Backup Server Takes backups File Server 2 Delegate 1 Performs long-running tasks like FCHK or FCOPY on behalf of a server V2.0 DFS Architecture Diagram

Features Dyalog Component File Functions Dyalog Native File Functions –Additional File & Folder utilities SHAREFILE/AP features –FHIST, FUSERNO, FWHOIS –(but no ”Library Number” concept) Management Console / Admin API The Dyalog File Server6

DFS Security Access to the DFS requires a login DFS has a table of valid users Users can either have passwords validated by DFS itself, or using ”Integrated Windows Authentication” The Dyalog File Server7

Issues with DCF System administrators must create file shares to accomodate APL applications Security: The DCF essentially requires full access to the underlying files Access Matrices only apply to access via DCF –Notepad, vi and EMACS ignore them –Data is exposed and vulnerable DCF is quite sensitive to network reliabiliy and performance –In particular, File Holds / Locks can perform badly DFS v2.08

Benefits of DFS (1/2) Security: The DFS only allows access to files through validated channels. –Architecture allows encryption and compression. Access matrices have absolute authority –Other constraints can be added No file shares are required –A handful of TCP ports is all you need for file system access DFS v2.09

Benefits of DFS (2/2) Ability to monitor file system activity –Who has that file held (or tied)? (& Kill them!) DFS recovers automatically from network glitches and server restarts –If the server session is still active, no problem –If closed, reconnection happens unless FHOLDS existed –File Holds are queued by a separate process Simultaneous connections from one client session –Two threads can be independent clients of the file system –Can do independent FHOLDs DFS v2.010

Potential Longer Term Benefits... Server-side compression and caching Server-side ”Stored Procedures” Mirroring to a 2nd DFS installation for Disaster Recovery Transactions The Dyalog File Server11

Implementation >90% of DFS-related code is written in APL Monitor is a MiServer application Some extensions to Conga and the Component Files Integrated Windows Authentication –Support for single server task ”representing” multiple clients –Backups Over time, more C code may be used, however... Keeping the core in APL allows –Stored procedures –Other user-defined extensions –... rapid progress The Dyalog File Server12

Current Performance Sometimes slower on reads due to lack of caching Faster on writes due to use of exclusive ties on the server Faster and (MUCH more predictable) on FHOLD with high user loads Current target is to have better overall performance than Windows LAN files Long term target is to be competitive on all platforms. The Dyalog File Server13

Performance Figures Platform1 client2 clients3 clients4 clients ⎕ FNS on LAN 28<32<3415<20<23 5<15<21 3< 9<23 DFS 46<51<5925<34<3820<22<2415<16<17 The Dyalog File Server14 Transactions Per Second (per client) ”Transaction” (on 10k components): ⎕ FHOLD tn ⍝ Start Transaction data← ⎕ FREAD tn,cn ⍝ Read data ⎕ FREPLACE tn,cn ⍝ Update ⎕ FHOLD ⍬ ⍝ ”Commit” Hardware: i7 server & i7 laptop client.

DCF – DFS Differences DFS Access Matrix is always enforced; you can not log in as ”user 0”. (Optionally), all DFS functions that refer to user numbers report user names: FHIST, FRDAC, FSTAC, FRDCI The Dyalog File Server15

DCF – DFS Differences DFS FLIB reports exclusively tied files –So will ⎕ FLIB in v13.2 DFS FHIST does not record latest file tie –From 13.2, ⎕ FHIST will also not do this DFS can tie more than 253 files at once DFS file holds are not released on return to immediate execution –Not a bug, it’s a feechure The Dyalog File Server16

Features of v2.0 Online Backup and Restore Detailed Performance Monitor Improved performance of long-running tasks –FCOPY, FCHK, MCOPY, MMOVE,... Faster FLIB Support for Native File Functions –Including a number of extensions Bootstrap applications direct from DFS DFS v2.017

Online Backup and Restore ”24x7x365” operations: Backup and Restore without taking DFS down Takes snapshot of all component files managed by DFS, at a single point in time Slight performance degradation during backup Files updated while backup is in process will grow due to requirement to have old&new data available Restored files must not be tied –Use monitor to identify (& if necessary kill) tasks using a file DFS v2.018

V2.0 Speedups Faster FLIB: Configuration switch to rely on ”.DCF” extension ”Delegate Processes” to handle long- running tasks: FCHK, FCOPY MCOPY, MMOVE, MDELETE Queueing system rewritten DFS v2.019

Bootstrap Mechanism DFS server will support download of application ”manifests” via HTTP Bootstrap loader can maintain APL applications without a network share DFS v2.020

Native File Functions Full set of Native File Functions supported by Dyalog APL Several extensions –Metadata: NLIB, NATTRIBUTES, SPACE –Manage folders with NMKDIR, NRMDIR –Handle multiple files and/or folders with MCOPY, MDELETE, MMOVE DFS v2.021

Extended File/Folder Fns DFS v2.022 Function NameDescription MCOPYCopy multiple files or folders MDELETEDelete multiple files MMOVEMove (rename) multiple files NATTRIBUTESReturn and set file attributes NLIBDirectory listing NMKDIRCreate a directory (folder) NRMDIRDelete an empty directory SPACEReturn the free space on a drive

Native File Issues Lots of small file operations may perform poorly (no client-side cache) For component files, security is enhanced (access matrices have absolute authority) –For native files, user ”impersonation” is not possible –All file access is peformed using DFS server account Use of native files via DFS is probably only recommended for some applications DFS v2.023

Performance Monitor For each file operation DFS will log: –File and User/Session Ids, –Time of Day, Number of open files at time of op –Elapsed time and CPU consumption in main process and in ”delegate” –Length of file operation queue and time spent in it –Number of bytes transmitted in & out Monitoring can be switched on & off from the web monitor DFS v2.024

Performance Analysis Web monitor provides on-line analysis of last 15 minutes of data Off-line analysis of historical data DFS v2.025

Monitor Screen Shots DFS v2.026

Monitor Screen Shots DFS v2.027

Monitor Screen Shots DFS v2.028

Monitor Screen Shots DFS v2.029

Monitor Screen Shots DFS v2.030

Monitor Screen Shots DFS v2.031

Monitor Screen Shots DFS v2.032

Monitor Screen Shots DFS v2.033

DFS Road Map Performance, Performance, Performance –Client and Server-side caching –Multiple file operations in a single operation –”Stored Procedures” (server-side APL) –Compression ”Transactions” –For example, ( ⎕ FHOLD tn) could trigger the beginning of a transaction and ( ⎕ FHOLD ⍬ ) be a ”commit”. Mirroring / Disaster Recovery Features DFS v2.034

Availability V1 released in October 2013: Launch customer ”in production” for over a year, 2nd customer at work General Availability scheduled on V2.0 release in Q1/2014 –Requires Dyalog APL v13.2 for backup feature Not bundled with APL – sold separately as add-on to runtime licences –Annual licence for 50-user server: £3,000/32bit, £4,500/64bit DFS v2.035