Storage / SAN / NAS. Jarle Bjørgeengen University of Oslo / USIT. October 18, 2011



Similar documents
Using Samba to play nice with Windows. Bill Moran Potential Technologies

Homework 5b: Homework 5b: Samba

Large Scale Storage. Orlando Richards, Information Services LCFG Users Day, University of Edinburgh 18 th January 2013

June Blade.org 2009 ALL RIGHTS RESERVED

Overview of I/O Performance and RAID in an RDBMS Environment. By: Edward Whalen Performance Tuning Corporation

Linux Powered Storage:

Samba. Samba. Samba 2.2.x. Limitations of Samba 2.2.x 1. Interoperating with Windows. Implements Microsoft s SMB protocol

Best Practices for running VMware vsphere TM on Network Attached Storage W H I T E P A P E R

storage elements and computer systems so that data transfer is secure and robust."

Red Hat Enterprise Linux as a

LBNC and IBM Corporation Document: LBNC-Install.doc Date: Path: D:\Doc\EPFL\LNBC\LBNC-Install.doc Version: V1.0

OpenVMS Update & OpenVMS Common Internet File System based on SAMBA

10th TF-Storage Meeting

SerNet. Samba Status Update. Linuxkongress Hamburg October 10, Volker Lendecke SerNet Samba Team. Network Service in a Service Network

Network File System (NFS) Pradipta De

Distributed File System Choices: Red Hat Storage, GFS2 & pnfs

Integrating UNIX and Linux with Active Directory. John H Terpstra

Building Storage Service in a Private Cloud

CSE 265: System and Network Administration

C p o y p r y i r g i h g t D t e a t i a lie l d

Red Hat System Administration 1(RH124) is Designed for IT Professionals who are new to Linux.

How To Back Up A Computer To A Backup On A Hard Drive On A Microsoft Macbook (Or Ipad) With A Backup From A Flash Drive To A Flash Memory (Or A Flash) On A Flash (Or Macbook) On

Samba on HP StorageWorks Enterprise File Services (EFS) Clustered File System Software

Load Balancing/High Availability Configuration for neoninsight Server

SECURITY SUMMIT 06/06/2013 Roma STORAGE FORENSICS. Litiano Piccin (NCDA-NCIE/SAN)

SoftNAS Application Guide: In-Flight Encryption 12/7/2015 SOFTNAS LLC

WHITEPAPER: Understanding Pillar Axiom Data Protection Options

Secure Network Filesystem (Secure NFS) By Travis Zigler

SMB a protocol example

Common Internet File System

THE EMC ISILON STORY. Big Data In The Enterprise. Copyright 2012 EMC Corporation. All rights reserved.

Direct NFS - Design considerations for next-gen NAS appliances optimized for database workloads Akshay Shah Gurmeet Goindi Oracle

How To Store Data On A Server Or Hard Drive (For A Cloud)

Network Attached Storage. Jinfeng Yang Oct/19/2015

Migrating from NFSv3 to NFSv4. Migrating from NFSv3 to NFSv4. March of STORAGE NETWORKING INDUSTRY ASSOCIATION

Clustered CIFS For Everybody Clustering Samba With CTDB. LinuxTag 2009

Product Overview. UNIFIED COMPUTING Managed Hosting - Storage Data Sheet

Why is it a better NFS server for Enterprise NAS?

We mean.network File System

Agenda. Enterprise Application Performance Factors. Current form of Enterprise Applications. Factors to Application Performance.

USING USER ACCESS CONTROL LISTS (ACLS) TO MANAGE FILE PERMISSIONS WITH A LENOVO NETWORK STORAGE DEVICE

Distributed File System

LISTSERV in a High-Availability Environment DRAFT Revised

BlueArc unified network storage systems 7th TF-Storage Meeting. Scale Bigger, Store Smarter, Accelerate Everything

IBM Smart Business Storage Cloud

Windows Server 2012 R2 Hyper-V: Designing for the Real World

STORAGE CENTER. The Industry s Only SAN with Automated Tiered Storage STORAGE CENTER

Restricted Document. Pulsant Technical Specification

(Scale Out NAS System)

SAN Conceptual and Design Basics

Addendum No. 1 to Packet No Enterprise Data Storage Solution and Strategy for the Ingham County MIS Department

Enhancements of ETERNUS DX / SF

Choices for implementing SMB 3 on non Windows Servers Dilip Naik HvNAS Pty Ltd Australians good at NAS protocols!

Big data Devices Apps

Cisco Small Business NSS3000 Series Network Storage System

Virtualization, Business Continuation Plan & Disaster Recovery for EMS -By Ramanj Pamidi San Diego Gas & Electric

Data Storage at IBT. Topics. Storage, Concepts and Guidelines

Syncplicity On-Premise Storage Connector

INUVIKA TECHNICAL GUIDE

Load Balancing and High availability using CTDB + DNS round robin

Integrating Linux systems with Active Directory

OVERVIEW. CEP Cluster Server is Ideal For: First-time users who want to make applications highly available

Transparent fileservices for Windows, Unix and Mac

NexentaConnect for VMware Virtual SAN

Samba and Vista with IPv6

Ultimate Guide to Oracle Storage

How To Set Up Egnyte For Netapp Sync For Netapp

High Performance Server SAN using Micron M500DC SSDs and Sanbolic Software

Storage Networking Management & Administration Workshop

SENECA COLLEGE OF APPLIED ARTS AND TECHNOLOGY

Quick Start - NetApp File Archiver

Spectrum Scale. Problem Determination. Mathias Dietz

HP StorageWorks Enterprise File Services Clustered Gateway. Technical Product Review. Sprawl Makes Inexpensive Servers Expensive

How To Use 1Bay 1Bay From Awn.Net On A Pc Or Mac Or Ipad (For Pc Or Ipa) With A Network Box (For Mac) With An Ipad Or Ipod (For Ipad) With The

Enterprise Storage Solution for Hyper-V Private Cloud and VDI Deployments using Sanbolic s Melio Cloud Software Suite April 2011

Red Hat Certifications: Red Hat Certified System Administrator (RHCSA)

EMC VSPEX END-USER COMPUTING

Swiss Cyber Storm II Case: NFS Hacking

Zadara Storage Cloud A

iscsi Security (Insecure SCSI) Presenter: Himanshu Dwivedi

THE CLOUD STORAGE ARGUMENT

Dell Converged Infrastructure

Clustering Windows File Servers for Enterprise Scale and High Availability

SQL Server Storage Best Practice Discussion Dell EqualLogic

EMC Business Continuity for Microsoft SQL Server 2008

High Availability Storage

Performance, Reliability, and Operational Issues for High Performance NAS Storage on Cray Platforms. Cray User Group Meeting June 2007

Backup and Recovery Solutions for Exadata. Ľubomír Vaňo Principal Sales Consultant

StoneFly SCVM TM for ESXi

GlusterFS Distributed Replicated Parallel File System

Univention Corporate Server. Operation of a Samba domain based on Windows NT domain services

Administrasi dan Manajemen Jaringan 2. File Transfer Protocol (FTP)

Replacing a Windows NT/2000 server using Linux and SAMBA

Samba in the Enterprise : Samba 3.0 and beyond

Samba File Sharing 1 of 17. File Sharing. Hal Miller & Leeland Artra. Notes:

Introduction to Highly Available NFS Server on scale out storage systems based on GlusterFS

EMC ViPR Controller. User Interface Virtual Data Center Configuration Guide. Version REV 01

CONFIGURING ACTIVE DIRECTORY IN LIFELINE

Storage Management Best Practices & Tips

High Availability Databases based on Oracle 10g RAC on Linux

Transcription:

Storage / SAN / NAS Jarle Bjørgeengen University of Oslo / USIT October 18, 2011

I m available in room PS223 on Fridays... except those weeks I have lectures other weekdays... like this week. Discuss topics related to: Storage Performance Unix/Linux Configuration mgmt Virtualization / Cloud Etc... E-mail: jarle.bjorgeengen@usit.uio.no

Outline About USIT About data storage SAN introduction NAS introduction Types of NAS

Key points about USIT Approximately 50 000 file, print, mail and web-app users in UiO, with different privileges. Dev. and op. of the FS/Studentweb application used by most universities and colleges Dev. and op. of Cerebrum, the glue that ties together all person/user/machine information. Dev. and op. of the national authentication service "Moria". Op. of mail and file backends for Classfronter for the Nordic Countries Data-storage for LHC in Cern. Op. of HPC clusters for research number-crunching.

About data storage

About data storage Computers need storage Early days, punch cards..then disk media (magnetical/optical) increasing storage capacity and performance decreasing physical size Now magnetic high density hard disks dominant (still) Applications need performance (directly affect app. perf.) Applications create workload Different applications create different workload types. Storage needs to satisfy vastly varying workloads simultaneously. Cost reduction require resource sharing (d.t consolidation) Resource sharing introduce further risk (Why? )

Storage Area Network - SAN Centralized storage pool SAN QoS bridge QoS bridge QoS bridge QoS bridge QoS bridge Consumers Virtual disks Shared physical resources

Storage Area Network - SAN Flexible, sharable pool of block storage. Disk virtualization. Used for consolidation (centralization of resources). Clusters need shared disks Shared disk introduces risk (Why?) Physically located outside of server. Interconnected through a network media (With switches). A protocol for block access at the top (SCSI/ATA...)

Storage Area Network - SAN Uses RAID for disk redundancy and performance. Varying degree of component redundancy (cache, controller, buses, etc.) You get what you pay for. Cost increase exponentially when approaching 100% uptime and keeping performance. Intelligent applications can compensate for errors, hence cheaper less reliable storage is possible (Hello Google) Cost of downtime vs. cost of insurance against downtime (redundancy) Cost vs. performance vs. availability.

Typical (FC) SAN layout - simplified ARRAY 2 ARRAY 1 FC switches ZONE A hosts

Storage Area Network - SAN? Slices of disk (virtual disks/luns) Host "sees" it as local disk (/dev/sda, /dev/sdb and so on in Linux) Limit access between initatiors Login process in iscsi Present only to WWN1, WWN2, and so on Zones ín FC switches. Which WWN s can see each other Risks introduced by lack of access control? 2 or more hosts can see the same virtual disk The hosts need to behave. (Coordinate writing Cluster SW)

Host OS considerations? Stable and working driver for HBA Used to be a support/certification nightmare Now HBA-vendors make drivers available upstream Multiple paths (several approaches) Built into FC driver (only failover) Separate MP driver on top (dm-multipath) dm-multipath mostly used now. Fleksible and works well. Storage vendors push their own drivers and agents. Advantages / disadvantages?

Hot topics in storage? SSD is used increasingly Intelligent caching Automatic tiering Usually 3-4 tiers SSD, FC (15k), SAS(10k), SATA (7.5k) Different approaches regarding Estimation of what needs to be moved Granularity of workload profiling Distributed network file systems for linear scaleability in capacity and performance Appliance bundling (Oracle Exadata, EMC Vblock, etc. ) Thin provisioning Thin write? FS / Application awareness?

Sub-LUN tiering / Autotiering

Network Attached Storage - NAS Collect term for accessing files over an IP-network. Using NAS involves "mounting" of remote filesystems.... and user authentication / authorization. Typical usage: Making home directories available across many machines. Group collaboration on file level. File Archive (WORM/Policy-based retention) Untypical usage: Shared storage for clustering (SAN is typical for that)

Types of NAS: NFS NFS (Network File System) developed by SUN Utilizes IP (TCP or UDP) Heavily based on RPC (Remote procedure calls) Available on any Unix/Linux Version 2,3 and 4 V2 is old, unsecure, UDP and synchronous writes only. V3 supports asynchronous writes and TCP in addition. Also unsecure. V4 an IETF standard, secure, only TCP, has implementations for windows and support kerberos auth. 1 V4 consolidates a number of protocols. 1 http://www.nuug.no/aktiviteter/20100413-kerberos/

NFS server / client Server has 3 daemons Mountd - authorization / rejection of client mount requests Nfsd - data transfer Lockd - file-locking (Advisory locking. What does it mean?) Client sends mount request to server If allowed, the client operates on it like any local FS. NB: User ID s must match. client root user is mapped to "nobody" on server. (Why?) can be turned off with no_root_squash option.

NFS server / client

Configuring NFS: Server Install nfs-common, nfs-server Start daemons (/etc/init.d/nfs-server start) Edit /etc/exports (man 5 exports) exportfs -a (check with exportfs or showmount) Statistics - nfsstat

Configuring NFS: Client Install nfs-common,nfs-client,portmapper. mount server:/exported/fs /local/mount/point or.. edit fstab and run mount /local/mount/point or mount -a Check with df, mount, and try file operations (ls,touch,cat, vi, cp, rm, mv) Verify identical user ID s in /etc/passwd or use centralized UID lookup (LDAP) (Other options? ) Not working? Portmapper running on client? Any firewalls in between, or local? (iptables -L on both) SELinux / AppArmor Log files on server tcpdump

Instances of NAS: SMB and CIFS Server Message Block protocol CIFS = SMB (Network file access anyway) Originates from IBM. Modified by Microsoft. Commonly used for integrating Windows and Linux env. SAMBA for Unix/Linux Client and server Can mount windows shares Can Serve files to win clients. Similar to AD when combined with MIT Kereberos and OpenLDAP. Built in file/print service (file share) for Windows server. Many other implementations (NetAPP,FreeNAS,Veritas,EMC,etc...)

SAMBA Server Server provide 5 basic services File sharing Printer sharing Authentication / authorization Name resolution (through WINS) Service announcement Behavior is defined in smb.conf Parallel user/pw database, managed by smbpasswd

SAMBA Client Windows: net use X: \\server\share Linux/Unix: smbmount / mount -t cifs / fstab mount -a Must authenticate: use credentials=<file> (mode 700) Samba utilities: Smbstatus - Info about smbd connections. Smbclient - display observed shares on server. Smbtar - backup of shares. SWAT - Graphical (web-gui) config of SAMBA inetd/xinetd service. Listens on port 901 default Local/remote UID does not matter.

Configuring SAMBA Install SAMBA server on server machine Edit smb.conf (man 5 smb.conf) Testparm to check syntax. Start/reload service. Mount filesystems on client(s)