background image

 
 

 

Principled Technologies, Inc.  24 

 

Dell PowerEdge C6220 and CentOS 6.2: A LAMP Reference 
Architecture

 

17.

 

On the Reboot System Page, select Restart System (warm boot) from the Power menu. 

 

18.

 

As the system reboots, the storage-controller screen now displays the virtual disk. 

 

 

 

Содержание PowerEdge C6220

Страница 1: ...DELL POWEREDGE C6220 AND CENTOS 6 2 A LAMP REFERENCE ARCHITECTURE A Principled Technologies Reference Architecture commissioned by Dell Inc ...

Страница 2: ...3 The Dell PowerEdge C6220 server 3 About CentOS Server 5 Installing CentOS on the Dell PowerEdge C6220 6 Prerequisites 6 Installation 6 Installing the LAMP stack on CentOS and the Dell PowerEdge C6220 13 The LAMP stack An overview 13 Installation procedure 14 Summing it all up 15 Appendix A References 16 Appendix B Dell PowerEdge C6220 system details 17 Appendix C LSI MegaRAID SAS 9265 8i storage...

Страница 3: ...ents due to their price point flexibility ease of management and performance capabilities These operating systems offer many built in application stacks hypervisors and other features that allow organizations to offer their customers a comprehensive set of services In this document we walk you through the task of deploying one such operating system CentOS Server and the Linux Apache MySQL PHP LAMP...

Страница 4: ...orage controller The Dell PowerEdge C6220 can deliver many benefits to your large deployment and lets you Make better use of expensive data center space by increasing the rack density with four two socket server nodes fitting into a standard 2U rack slot Configure servers to better fit application and workload needs for increased performance without reconfiguring your chassis and rack layout You c...

Страница 5: ... and expansion specifications The Dell PowerEdge C6220 features the following specifications Hard disk o SATA SAS and SSD options o Maximum raw storage capacity of 24TB across four nodes when using SATA drives o 2 5 or 3 5 drive form factor Available storage controllers o Intel C600 chipset for onboard storage options with SATA and SSD o LSISAS2008 6Gb SAS mezzanine card o LSI MegaRAID SAS 9265 8i...

Страница 6: ...ecognize in mass deployment situations there are various options for OS deployment including Preboot eXecution Environment PXE or orchestration tools such as Puppet For this guide however we wish to prepare our gold image for CentOS on a single Dell PowerEdge C6220 server node To do this we used its embedded baseboard management controller BMC console and virtual installation media Storage configu...

Страница 7: ...Edge C6220 and CentOS 6 2 A LAMP Reference Architecture 2 At the Dell PowerEdge C6220 Start Up screen press F11 to select the boot device 3 On the Boot Manager screen select the device with the CentOS boot media e g the CD DVD virtual device ...

Страница 8: ...s Inc 8 Dell PowerEdge C6220 and CentOS 6 2 A LAMP Reference Architecture 4 At the CentOS 6 2 welcome screen select Install or upgrade an existing system and press Enter 5 At the Media test screen select Skip and press Enter ...

Страница 9: ...rence Architecture 6 At the CentOS 6 title screen click Next 7 At the Choose an Installation Language screen select English and click Next 8 At the Keyboard Type screen select U S English and click Next 9 At the Storage Devices screen select Basic Storage Devices and click Next ...

Страница 10: ...d any data 11 At the Name the Computer screen type the host name and click Configure Network 12 At the Network Connections screen select the server s main or management network interface and click Edit 13 At the Editing network interface screen check Connect Automatically 14 On the same screen Select the IPv4 Settings tab change the Method to Manual and click Add ...

Страница 11: ...er the IP address Netmask Gateway and DNS server Click Apply 16 Click Close on the Network Connections screen and click Next on the Name the Computer screen 17 At the Time zone selection screen select the appropriate time zone and click Next 18 Enter the root password in the Root Password and Confirm fields and click Next ...

Страница 12: ...on screen select Replace Existing Linux System s and click Next 20 If a warning appears click Write changes to disk 21 At the default installation screen Select Minimal and click Next to begin the installation 22 At the Congratulations screen click Reboot 23 After the system reboots open a console window and login in as root ...

Страница 13: ... software stack that an infrastructure may run the Linux operating system Apache Web server MySQL database and PHP scripting language This application stack has been used for years by service providers to provide powerful and flexible multi tier environments for customers Below we briefly describe each component and then review the specific methods for setting up a single server LAMP stack on the ...

Страница 14: ...talling PHP Scripting Language 1 Install the application packages and their dependencies yum install php php mysql Testing with a sample LAMP application To complete the LAMP deployment we create a sample LAMP application consisting of a test database with test data a PHP script which creates a dynamic Web page that prints the contents of a SQL query from the database In this case we demonstrate u...

Страница 15: ...med helloworld php that will query the database and print the results See Appendix D for this sample PHP file contents 9 Start the Web server service httpd start chkconfig httpd on 10 From another machine verify the page is operational by visiting http server_ip_address helloworld php SUMMING IT ALL UP The Dell PowerEdge C6220 server and the Linux based CentOS operating system provide the power an...

Страница 16: ...S 6 2 A LAMP Reference Architecture APPENDIX A REFERENCES 1 LSI MegaRAID SAS 9265 8i product description http www lsi com products storagecomponents Pages MegaRAIDSAS9265 8i aspx 2 CentOS documentation http www centos org 3 Dell Support page http support dell com ...

Страница 17: ...al Number of processor packages 2 Number of cores per processor 6 Number of hardware threads per core 2 System power management policy Balanced CPU Vendor Intel Name Xeon Model number E5 2630 Stepping 7 Socket type LGA2011 Core frequency GHz 2 30 Bus frequency 7 2 GT s L1 cache 32 KB 32 KB per core L2 cache 256 KB per core L3 cache 15 MB Platform Vendor and model number Dell PowerEdge C6220 Mother...

Страница 18: ...Graphics memory MB 8 RAID controller Vendor and model number LSI MegaRAID SAS 9265 8i Firmware version 3 120 5 1169 Cache size 1 GB Driver module and version LSI MegaRAID SAS Driver megaraid_sas 00 00 05 40 rh2 Internal hard drive Vendor and model number Seagate ST9900805SS Number of disks in system 6 Size GB 900 Buffer size MB 64 RPM 10K Type 6GB SAS Ethernet adapters Vendor and model number I350...

Страница 19: ...6 virtual disk using the LSI MegaRAID SAS 9265 8i RAID controller and the six 900GB internal hard drives assigned to the server 1 Connect to the server console 2 Boot the server and press Ctrl H on the controller screen to enter the device s graphical interface 3 On the Adapter Selection screen select the LSI MegaRAID SAS 9265 8i adaptor and click Start 4 On the MegaRAID BIOS Home screen click on ...

Страница 20: ...Principled Technologies Inc 20 Dell PowerEdge C6220 and CentOS 6 2 A LAMP Reference Architecture 5 On the first Configuration Wizard screen select New Configuration and click Next ...

Страница 21: ...chitecture 6 On the Confirm Page click Yes to clear the storage configuration 7 On the Select Configuration Method screen select Automatic Configuration and Redundancy when possible Click Next 8 On the Configuration Preview screen click Accept 9 On the Save configuration screen click Yes ...

Страница 22: ...ecture 10 On the Initialize Confirm Page click Yes 11 The next screen will show the progress for initializing the new RAID6 drive and refresh when completed Select Set Boot Drive current NONE and click Go 12 After the screen refreshes and the virtual drive is set as the boot drive click Home ...

Страница 23: ...S is enabled so that it will present the virtual drive as a bootable device On the Home screen click Controller Properties 14 Click Next twice to go to the third screen Controller Properties Set the Controller BIOS to enabled if necessary 15 Click Home to return to the Home screen and then Exit 16 On the Exit Confirmation Screen click Yes ...

Страница 24: ... Dell PowerEdge C6220 and CentOS 6 2 A LAMP Reference Architecture 17 On the Reboot System Page select Restart System warm boot from the Power menu 18 As the system reboots the storage controller screen now displays the virtual disk ...

Страница 25: ...e for testing the LAMP stack php db_username testappuser db_password Password1 db_host localhost db_name helloworlddb link mysql_connect db_host db_username db_password mysql_select_db db_name link result mysql_query SELECT testcol FROM tbl_hello_world link row mysql_fetch_assoc result print_r row mysql_close link Figure 3 Sample PHP file to query the test database var www html helloworld php ...

Страница 26: ...loped such industry standard benchmarks as Ziff Davis Media s Winstone and WebBench They founded and led eTesting Labs and after the acquisition of that company by Lionbridge Technologies were the head and CTO of VeriTest Principled Technologies Inc 1007 Slater Road Suite 300 Durham NC 27703 www principledtechnologies com Principled Technologies is a registered trademark of Principled Technologies...

Отзывы: