620 likes | 990 Views
Preparation for M igrating to a New Server (Case study: Mahidol University Library and Knowledge Center) บรรยายโดย นายกฤษฎา แก้วผุดผ่อง (นักวิชาการคอมพิวเตอร์) ฝ่ายเทคโนโลยีสารสนเทศ หอสมุดและคลังความรู้มหาวิทยาลัยมหิดล 3 ธันวาคม 2552 อีเมล์ : likkg@mahidol.ac.th
E N D
Preparation for Migrating to a New Server(Case study: Mahidol University Library and Knowledge Center) บรรยายโดยนายกฤษฎา แก้วผุดผ่อง(นักวิชาการคอมพิวเตอร์) ฝ่ายเทคโนโลยีสารสนเทศ หอสมุดและคลังความรู้มหาวิทยาลัยมหิดล 3 ธันวาคม 2552 อีเมล์ : likkg@mahidol.ac.th
Preparation for Migrating to a New Server 1. Capacity Planning for Server 2. Server Setup / Configuration 3. Innovative’s Access 4. Scheduling 5. Migrating to a New Server 6. Testing with Post-Event Checklist
1. Capacity Planning for Server (By Administrator) • Estimate Current Resource Utilization • Define & Analyse Requirements • Size the New Server
1. Capacity Planning for Server • Estimate Current Resource Utilization • CPU Usage • Memory Usage • Disk Usage • Current workload
Disk Usage #df
1. Capacity Planning for Server • Define & Analyse Requirements (Example) • CPU requirements (OS + Application S/W + No.of user) • Memory requirements (OS + Application S/W + No.of user) • Disk requirements (OS + Application S/W + No.of user + Data) • Backup system • Future requirements (CPU + Memory + Disk) • Placement (Cabinet) • Redundant Power Supply • UPS (Uninterruptible power supply ) • Maintenance Costs
OS CPU RAM Application Software Users Harddisk
Tower Server Rack Server Cabinet Harddisk UPS Redundant Power Supply
1. Capacity Planning for Server • Size the New Server • Data available from Vendors
Processors Memory Operating Systemfrom Factory Support OS
Storage Type Maximum Storage RAID Controller( RAID 5, 1, 0, 0+1, 1+0 , etc.)
2. Server Setup / Configuration Create Linux Partition (ext3 file systems) (By Administrator) root: minimum 500 megabytes usr: minimum 2 gigabytes swap: minimum 2x the amount of RAM (i.e. 128 MB RAM = 256 MB swap) iii: minimum 2 gigabytes (10gb is plenty) iiidb/software: minimum 12 gigabytes (30gb is plenty) iiidb: remaining diskspace (largest amount of disk space)
2. Server Setup / Configuration Install Applications Software (By Administrator + Innovative)
1. M > MANAGEMENT information 2. I > INFORMATION about the system 3. F > FILE information
2. Server Setup / Configuration Install Applications Software (continued) (Administrator) • OS installed in 32 bit mode • C Compiler / Debugger (Administrator) ‘gcc’ software • SAR (system activity reporter) (Administrator) ‘sysstat’ software • Compress Utility (Administrator) ‘ncompress’ software (not bzip / gzip / tar !!) (Administrator) • ‘Rsync’ software • Correct Time Zone (Administrator) • Powerwatch (Innovative)
3. Innovative’s Access • Secure Shell (SSH) access is granted through sites firewall • both of new and existing server (Administrator) • Login setup with "system" level privileges as well as • the "root" password (Administrator) (Administrator) • Accounts are not "iii" nor "iiiroot" • Accounts are available not less than 10 working days before the actual migration (Administrator)
3. Innovative’s Access • Access Through Local Firewalls What network access through firewall does Innovative need? Support from Emeryville, CA, USA 205.227.88.253 In addition, Innovative requests that access be granted through your firewall for both inbound and outbound Secure Shell (SSH)andFTP services for the IP address listed below. 8.4.224.250
Existing Server-RHAS 2.1 New Server-RHEN 4.7 rsync Swap IP /Hostname Server Firewall Server Firewall SSH / FTP Innovative Computing CenterFirewall 205.227.88.253 8.4.224.250
4. Scheduling (Administrator) • Dates for migration (upon the library) • Migrations are performed during Innovative's core business hours (M-F, 8am-5pm Pacific time(US) GMT-08:00 ) Bangkok - GMT+07:00 Once both sides have agreed on a date to perform the migration, will also need the following: • Five working days before actual migration, please start • announcing to your patrons that the Innovative Server will • be inaccessible for 24 hours (Administrator)
4. Scheduling • Perform a Full Backup at close of business the night before • the migration takes place (Administrator) • Have one staff person available during the migration in case • of an emergency (Administrator) • Full testing of the system should be done RIGHT AWAY • following the migration (Staffs in each module)
4. Scheduling • Current system must be running Innovative's latest supported • release of software (Administrator) • Prepare to swap IPs and hostnames after migrated your data • to the NEW server (Administrator)
5. Migrating to a New Server • Hardware Support Information http://csdirect.iii.com
Hardware http://csdirect.iii.com
5. Migrating to a New Server • Hardware Support Information • Supported Operating Systems • Supported Processor Types • Disk Partitioning Basics • Tape Backup Device • Uninterruptible Power Supply (UPS)
5. Migrating to a New Server • Hardware Support Information (continued) • Supported Operating Systems Redhat Enterprise Server (ES) v 5 is not supported
5. Migrating to a New Server • Hardware Support Information (continued) • Other Supported Operating Systems
5. Migrating to a New Server • Hardware Support Information (continued) • Supported Processor Types
5. Migrating to a New Server • Hardware Support Information (continued) • Disk Partitioning Basics (Example) • RAID or SAN • 4 disk RAID1 • 2 disk NON-RAID
5. Migrating to a New Server • Hardware Support Information (continued) • Disk Partitioning Basics (Example) • RAID or SAN For any RAID (RAID 5, RAID 0+1, RAID 1+0*EXCEPT* RAID1 or SAN with only 1 DISK /iii minimum 2 GB/iiidb remainder of the disk/iiidb/software minimum 12 GB (OPTIONAL mount point if this space included in /iiidb partition
5. Migrating to a New Server • Disk Partitioning Basics (Example) • 4 disk RAID1 DRIVE 0 (system/boot disk) - MIRRORED to DISK 2 / 2 GB swap (twice the memory size) usr 3 GB var 1 GB /iiidb/errlog 1 GB /iiidb/big0 balance of drive (ie. rest of disk 0) DRIVE 1 - MIRRORED to DISK 3 /iii 2 GB /iiidb/software 12 GB /iiidb balance of drive
5. Migrating to a New Server • Disk Partitioning Basics (Example) • 2 disk NON-RAID DRIVE 0 / 2 GB swap (twice the memory size) usr 3 GB var 1 GB /iiidb/errlog 1 GB /iii 2 GB /iiidb/big0 balance of drive (ie. rest of disk 0) DRIVE 1 /iiidb/software 12 GB /iiidb balance of drive (ie. rest of disk 1)
5. Migrating to a New Server • Hardware Support Information (continued) • Tape Backup Device • Innovative supports two backup models, Standalone or Enterprise Standalone A user-scheduled backup to an attached tape drive using Millennium's built-in backup facility. Included on all systems.
5. Migrating to a New Server • Hardware Support Information (continued) • Uninterruptible Power Supply (UPS) (Dedicated UPS) (Administrator) (Innovative) 1 Powerwatch Software Smart-UPS • Serial cable (RS-232) or • USB cable OR 2 Matrix model
5. Migrating to a New Server • Workstation Recommendations for Running Millennium Staff Applications • System Recommendations • Supported Operating Systems
System Recommendations (continued) • The Millennium environment has two parts: the Millennium client • and the JAVA Runtime Environment (JRE). • Recommended Browsers for WebPAC – Microsoft Internet Explorer • versions 6 and higher , Mozilla Firefox version 0.8 and higher
System Recommendations (continued) Download and Install the Millennium Environment Software for Windows (Others support for Linux / Mac) http://csdirect.iii.com/downloads/milclient_windows.shtml