1 / 14

Hands-On Session: Operating System Installation and Configuration

Hands-On Session: Operating System Installation and Configuration. Regional SEE-GRID-SCI Training for Site Administrators Institute of Physics Belgrade March 5-6, 2009. Vladimir Slavnic Institute of Physics, Belgrade Serbia slavnic@scl.rs.

jamesdlopez
Download Presentation

Hands-On Session: Operating System Installation and Configuration

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Hands-On Session:Operating System Installation and Configuration Regional SEE-GRID-SCI Training for Site Administrators Institute of Physics Belgrade March 5-6, 2009 Vladimir Slavnic Institute of Physics, Belgrade Serbia slavnic@scl.rs The SEE-GRID-SCI initiative is co-funded by the European Commission under the FP7 Research Infrastructures contract no. 211338

  2. OS Scientific linux 4.7 (Beryllium)‏ Fermi National Accelerator Laboratory and the European Organization for Nuclear Research (CERN) Compatible with and based on Red Hat Enterprise Linux‏

  3. Installation methods • Manual (interactive)‏ • Via kickstart • Installation sources • CD-Rom • Hard disk • NFS • FTP • HTTP

  4. Installation steps 1/3 • TCP/IP configuration • (DHCP or static address)‏ • Installation type • custom • Manual disk partitioning - usually create: • /boot • / • swap

  5. Installation steps 2/3 • Boot loader – grub is our choice • usually no password and installed in MBR • Network configuration • Hostname configuration • Firewall • SELinux

  6. Installation steps 3/3 • Language Support • Time Zone • Root password • Package selection

  7. Configuration 1/7 • Set default init level - 3 • Set NTP • ntp.conf • ntp.drift • ntp.drift.TEMP scp demo:ntp.conf /etc touch /etc/ntp.drift touch /etc/ntp.drift.TEMP chown ntp:ntp /etc/ntp.drift* chkconfig ntpd on /etc/init.d/ntpd start

  8. Configuration 2/7 • Remove existing java packages rpm –qa | grep java rpm –e <packages> • Add scl repos • Disable sl repos • Get scl repos: wget http://rpm.scl.rs/yum.conf/scl-jpackage.repo wget http://rpm.scl.rs/yum.conf/scl.repo wget -N -nd -r -l1 -Ascl-sl* http://rpm.scl.rs/yum.conf/ (or one by one: wget http://rpm.scl.rs/yum.conf/scl-sl.repo)‏ yum update

  9. Configuration 3/7 • Disable yum nightly update chkconfig yum off • Install java yum install java-1.5.0-sun-devel • Install and configure scl-scripts yum install scl-scripts config files in /opt/scl/etc/

  10. Configuration 4/7 • Create SSH keys for exchange ssh-keygen -t rsa -N "" -q -f /root/.ssh/id_rsa; ssh-keygen -t dsa -N "" -q -f /root/.ssh/id_dsa • Copy public keys (.pub) to authorized_keys file cat /root/.ssh/*.pub

  11. Configuration 5/7 • Get scl-lcg-ca.repo wget http://rpm.scl.rs/yum.conf/scl-lcg-ca.repo • Install lcg-CA yum install lcg-CA

  12. Configuration 6/7 • Get specific node gLite repos WN example: wget http://rpm.scl.rs/yum.conf/scl-glite-WN.repo wget http://rpm.scl.rs/yum.conf/scl-glite-TORQUE_client.repo • Install packages yum install torque-2.3.6-1cri.slc4 yum install torque-mom-2.3.6-1cri.slc4.i386.i386 yum install glite-WN yum install glite-TORQUE_client yum install mpiexec yum install lcg-CA

  13. Configuration 7/7 • Get host certificates if needed and copy them to • /etc/grid-security/ • Get configuration files (site-info.def and others)‏ • Configure node with YAIM • Add NFS exports on specific nodes • Ready to go!

  14. Thank you!

More Related