Server Performance, Scaling, Reliability and Configuration Norman White.

Slides:



Advertisements
Similar presentations
What’s New: Windows Server 2012 R2 Tim Vander Kooi Systems Architect
Advertisements

1 CSC 486/586 Network Storage. 2 Objectives Familiarization with network data storage technologies Understanding of RAID concepts and RAID levels Discuss.
Chapter 5: Server Hardware and Availability. Hardware Reliability and LAN The more reliable a component, the more expensive it is. Server hardware is.
What to expect.  Linux  Windows Server (2008 or 2012)
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 8 Introduction to Printers in a Windows Server 2008 Network.
5.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 5: Working with File Systems.
Session 3 Windows Platform Dina Alkhoudari. Learning Objectives Understanding Server Storage Technologies Direct Attached Storage DAS Network-Attached.
Virtual Network Servers. What is a Server? 1. A software application that provides a specific one or more services to other computers  Example: Apache.
Microsoft Load Balancing and Clustering. Outline Introduction Load balancing Clustering.
Windows Server MIS 424 Professor Sandvig. Overview Role of servers Performance Requirements Server Hardware Software Windows Server IIS.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
LAN / WAN Business Proposal. What is a LAN or WAN? A LAN is a Local Area Network it usually connects all computers in one building or several building.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
RAID: High-Performance, Reliable Secondary Storage Mei Qing & Chaoxia Liao Nov. 20, 2003.
Day 10 Hardware Fault Tolerance RAID. High availability All servers should be on UPSs –2 Types Smart UPS –Serial cable connects from UPS to computer.
Chapter 7: Using Windows Servers to Share Information.
© 1999 Cobalt Networks, Inc. (\dkh) Cobalt NASRaQ for the Technical Overview.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
An introduction to Apache. Different Types of Web Servers Apache is the default web server for may Unix servers. IIS is Microsoft’s default web server.
Redundant Array of Inexpensive Disks aka Redundant Array of Independent Disks (RAID) Modified from CCT slides.
Guide to Linux Installation and Administration, 2e 1 Chapter 9 Preparing for Emergencies.
Module 9: Configuring Storage
Web Site Access Control with Apache Fort Collins, CO Copyright © XTR Systems, LLC Web Site Access Control Using the Apache Web Server Instructor: Joseph.
Cisco Confidential © 2010 Cisco and/or its affiliates. All rights reserved. 1 MSE Virtual Appliance Presenter Name: Patrick Nicholson.
"1"1 Introduction to Managing Data " Describe problems associated with managing large numbers of disks " List requirements for easily managing large amounts.
Server Performance, Scaling, Reliability and Configuration Norman White.
Putting it all together Dynamic Data Base Access and Authentication Norman White Stern School of Business.
2.1 © 2004 Pearson Education, Inc. Exam Designing a Microsoft ® Windows ® Server 2003 Active Directory and Network Infrastructure Lesson 2: Examining.
Page 1 Printing & Terminal Services Lecture 8 Hassan Shuja 11/16/2004.
Authentication Names and Passwords Names and Passwords Also can use Groups Also can use Groups Webmaster can “require” authentication Webmaster can “require”
WINDOWS SERVER 2003 Genetic Computer School Lesson 12 Fault Tolerance.
Web Technology – Web Server Setup : Chris Uriarte Meeting 4: Advanced Topics, Continued: Securing the Apache Server and Apache Performance Tuning Rutgers.
Component 8/Unit 9aHealth IT Workforce Curriculum Version 1.0 Fall Installation and Maintenance of Health IT Systems Unit 9a Creating Fault Tolerant.
G046 Lecture 04 Task C Briefing Notes Mr C Johnston ICT Teacher
1 CEG 2400 Fall 2012 Network Servers. 2 Network Servers Critical Network servers – Contain redundant components Power supplies Fans Memory CPU Hard Drives.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
Cofax Scalability Document Version Scaling Cofax in General The scalability of Cofax is directly related to the system software, hardware and network.
What is raid? RAID is the term used to describe a storage systems' resilience to disk failure through the use of multiple disks and by the use of data.
Network-Attached Storage. Network-attached storage devices Attached to a local area network, generally an Ethernet-based network environment.
BY: SALMAN 1.
Chapter 7: Using Windows Servers
Configuring File Services
BY: SALMAN.
Introduction to Operating Systems
(ITI310) SESSION 3: Using RAID Technology In Windows 2008 Server.
CSE451 I/O Systems and the Full I/O Path Autumn 2002
Fastdroid Produced by : Firas Abdalhaq Mohammad Amour Supervised by : Dr. Raed Alqadi.
Introduction To Networking
SAN and NAS.
Introduction To Computers
Introduction to Networks
Introduction to Networks
Cloud based Open Source Backup/Restore Tool
PHP / MySQL Introduction
Storage Virtualization
POS 355 Competitive Success/snaptutorial.com
Capitalize on modern technology
ICOM 6005 – Database Management Systems Design
Design Unit 26 Design a small or home office network
Introduction to Local Area Networks
CSE 451: Operating Systems Winter 2009 Module 13 Redundant Arrays of Inexpensive Disks (RAID) and OS structure Mark Zbikowski Gary Kimura 1.
TECHNICAL SEMINAR PRESENTATION
Mark Zbikowski and Gary Kimura
CSE 451: Operating Systems Winter 2012 Redundant Arrays of Inexpensive Disks (RAID) and OS structure Mark Zbikowski Gary Kimura 1.
APACHE WEB SERVER.
Introducing NTFS Reliability Security Long file names Efficiency
CS 295: Modern Systems Organizing Storage Devices
Improving performance
How to install and manage exchange server 2010 OP Saklani.
Presentation transcript:

Server Performance, Scaling, Reliability and Configuration Norman White

Scaling UP Run on faster computer Upgrade disk, memory etc. Out Replicate server across multiple machines Distribute “strategic” locations on the internet Host on services like AKAMAI

Scaling Up Can keep adding processors, memory etc. Advantages Single environment, easy to administer Disadvantages Processor limitations Network Bandwidth problems Reliability

Scaling out Add more computers Distribute workload across multiple systems Have application server(s), video server(s), DB servers etc. But watch out for reliability problems, decreases quickly with more servers Supported by UNIX, LINUX and W2K Cluster machines together so they can automatically take over in case of failure Distribute load across multiple machines. Still may have single failure points Power Network access

But there is a little Problem! How do your users get to your machine? Is it over the internet? How much bandwidth can you get to your site? What if you are Victoria Secret and have a huge event once or twice a year?

Need to go to edge hosting services Step 1 – Move your web site to your ISP’s location. ISP has backbone access to internet Step 2 – If that is not enough, go to a provider like AKAMAI They distribute your content all over the world at the “edge” points to the internet

Demo… Traceroute to several providers Visit Akamai Play akamai flash tutorial

Security Issues As we scale up, still only have one machine to guard.. As we scale out, more potential for problems. For internal servers, how do we control access to content?.htaccess Ldap etc. Edge hosting may “contain” problem to certain nodes…

.htaccess example Assume a directory structure of restricted content that you want to restrict to “authenticated” users. Have users fill out form with their address, and desired userid. password to them with a link to a cgi script that allows them to change password.

.htaccess example AuthUserFile /export/grad/a/aab211/public_html/websys/.htpasswd AuthGroupFile /dev/null AuthName Somewhere.com's Secret Section AuthType Basic require valid-user

.htaccess example Assume a directory structure of restricted content that you want to restrict to “authenticated” users. Have users fill out form with their address, and desired userid. password to them with a link to a cgi script that allows them to change password.

.htaccess example AuthUserFile /export/grad/a/aab211/public_html/websys/.htpasswd AuthGroupFile /dev/null AuthName Somewhere.com's Secret Section AuthType Basic require valid-user

Example.htaccess file describes authentication details and location of htpasswd file.htaccess file placed in the directory it controls, by default controls all lower level directories also. Htpasswd file can be anywhere Htpasswd program used to updated htpasswd file Htpasswd file encrypted

Maintaining htpasswd file htpasswd –c passwordfile username Creates a new htpasswd file and adds a username to it, prompting for the password Htpasswd passwordfile username adds a user Htpasswd –b passwordfile username password Creates or updates username password

CGI Script to add user Script one htadduser.sh User fills out form with desired username and address Shell script adduser.sh grep.htpasswd file for username If username exists, issue error Else, generate random password Issue htpasswd –b username passwd address with username and password and link to files. Add username and address to userid file

Changepass.sh Allows user to change password This script should be restricted directory Logic: Display form with userid, desired password Take form input (using POST … Why) Issue htpasswd –b passwordfile username newpassword

Conclusion Need to understand management objectives before we can make a decision. Many tradeoffs. Often may do all of the above…

Configuring a WEB Server.

So what does a web administrator need to know? UNIX - Apache WINDOWS - IIS

Apache Apache uses industry standard configuration file Httpd.conf Can set many things like: File Locations Scripting capabilities (PHP, JSP etc.) Performance How many threads etc. Virtual Hosts (more than 1 server on same machine) Same IP ADDRESS, port, different name Same IP, name, different port

Windows IIS Configuration done through management control panel Easy to add new features, change configuration etc.

Conclusion Both Apache and IIS offer easy to use configuration tools. IIS very user friendly, Apache finer control.

Other Considerations Disk Management How do we manage disk space in a rapidly changing environment? Problems – Disk sizes limited (9 gig, 18, 36, 72 etc) Extreme read performance requirements Space growing rapidly 24 x 7 – Can’t reconfigure??? HELP!!!

Solutions Volume Managers Veritas Volume Manager Separates Physical disk from logical disks Allow administrator to reconfigure on the fly Supports mirroring, striping, raid 5 etc. NAS Network attached storage – just plug device into network, available to many systems (support volume mgt on device) SAN Storage Area Networks Similar to NAS, but allow multiple high speed fiber connections to systems

Some Capabilities and Tradeoffs RAID 0 Mirror disks – fast read, fast write, redundant RAID 1 – Striped, spread data across multiple disks Very fast read, slower write, vulnerable to failure

More RAID formats RAID 5 Striping with parity Need 3+ drives (max 8) N-1 drives used for data, last drive for parity Actually parity is distributed across all disks If 1 disk dies, data can be reconstructed dynamically by using the remaining disks. System runs in degraded mode until disk is replaced, then automatically rebuilds itself (while still on-line) Reads are very fast (N-1 disks streaming data) Writes are very slow (have to write to N disks, for each write)

Even more redundancy Can Mirror RAID 5 arrays, even mirror on a different controller, separate power etc. “SNAPSHOT” backups Volume manager can take a snapshot backup of a “volume” to another volume. Reduces backup time, snapshot is done on live volume, but data is from exactly the same time.

Conclusion and Takeaway Infrastructure and hardware designs critical to today’s 24x7 environment. Can be VERY expensive to attain desire (necessary) level of uptime. Need to have lot’s of redundancy and ability to upgrade constantly without taking systems off the air.