Difference between revisions of "Upgrading Endeavour"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
Line 7: Line 7:
 
** Remove the broken packages by hand. Unfortunately, this took down the system :-)
 
** Remove the broken packages by hand. Unfortunately, this took down the system :-)
 
*** rpm -e --allmatches ibsim  ibutils ibutils-libs infiniband-diags libibcommon libibcommon-devel libibcommon-static libibmad libibmad-devel libibmad-static libibumad libibumad-devel libibumad-static  opensm opensm-devel opensm-libs  opensm-static  perftest srptools mvapich_gcc mvapich2_gcc
 
*** rpm -e --allmatches ibsim  ibutils ibutils-libs infiniband-diags libibcommon libibcommon-devel libibcommon-static libibmad libibmad-devel libibmad-static libibumad libibumad-devel libibumad-static  opensm opensm-devel opensm-libs  opensm-static  perftest srptools mvapich_gcc mvapich2_gcc
 +
 +
New system @ Centos 6.6:
 +
* Reconfigured RAID. All the 2TB drives are now in slots 1-9 and configured for a RAID6, 14TB raid.
 +
** Slots 10,11,12 will be hot-spare, and 2x passthrough.
 +
*** The passthrough are for: slot11 - Can contain Home directory drive when Gourd is being upgraded. slot12 -- OldSys a 1TB drive with the old Centos 5.5 system.
 +
** There are 3 volumes on the RAID: "system" ~ 100GB, "system2" ~100GB, "data1"
 +
** Remaining 12 slots will be filled with high density new drives for another RAID6
 +
* Restarted web server.
  
 
= Upgrading Endeavour nodes =
 
= Upgrading Endeavour nodes =

Revision as of 15:12, 15 April 2015

Upgrade main system

Started with a sideways migration to Centos 5. This worked except for the infiniband packages, which were skipped:

New system @ Centos 6.6:

  • Reconfigured RAID. All the 2TB drives are now in slots 1-9 and configured for a RAID6, 14TB raid.
    • Slots 10,11,12 will be hot-spare, and 2x passthrough.
      • The passthrough are for: slot11 - Can contain Home directory drive when Gourd is being upgraded. slot12 -- OldSys a 1TB drive with the old Centos 5.5 system.
    • There are 3 volumes on the RAID: "system" ~ 100GB, "system2" ~100GB, "data1"
    • Remaining 12 slots will be filled with high density new drives for another RAID6
  • Restarted web server.

Upgrading Endeavour nodes

Upgrade to Centos 6 started March 17, 2015 with node2:

  • Reboot Node2 from a USB key with Centos6 distribution installed. Chose "minimal install"
    • Note: Should have added scp, i.e openssh-client stuff. Added this "by hand" by using from endeavour: cat openssh-client-... | ssh node2 "cat - > openssh-client.rpm" and then installing that rpm.
  • SSH into the system
  • Copy the Centos ISO to node2 with scp. Mount on /mnt/centos
  • Install packages with: yum --disablerepo \* --enablerepo c6-media install
  • List of old package installed are in ~root/new_packages.txt with the distribution and package version stripped already. From this list, the packages were filtered into "installed" and "available" with yum. From the resulting list of "available" only the x86_64 and noarch packages were installed.
  • A number of config tweaks needed.

Done

To Do