CentOS 7.x Rocks cluster 7.0 Update master and all compute nodes

From Notes_Wiki

Home > CentOS > CentOS 7.x > CentOS 7.x Rocks cluster 7.0 > CentOS 7.x Rocks cluster 7.0 Update master and all compute nodes

Update master

To update use:

  1. Edit files in '/etc/yum.repos.d/' and set enable=1. At least enabled repositories in:
    • CentOS-Base.repo
    • epel.repo
    • rpmforge.repo
  2. Ensure that in /etc/yum.conf, caching is enabled:
    keepcache=1
  3. Due to package issue while installing mosh and protobuf (required) for setting up updated compute nodes use:
    1. Disable rocks yum repository which gives protobuf 2.6 which is creating issue
    2. Use following
      yum remove protobuf
      yum install mosh #Uses protobuf 2.5
  4. Then update the master node fully using:
    yum -y update --skip-broken

By default latest anydesk used to hang on CentOS-7.0 used in rocks images. After full update to CentOS-7.9 (including installation of all xorg-x11-* packages for qmon), anydesk works properly without hanging.


Update compute nodes

To update compute nodes, on master node use:

  1. After the frontend is fully updated use following to copy all packages from all repositories to be installed on client nodes:
    cd /var/cache/yum/x86_64/7
    cp */packages/*.rpm /export/rocks/install/contrib/7.0/x86_64/RPMS/
  2. Build a new rocks distribution using:
    cd /export/rocks/install
    rocks create distro
  3. Reinstall nodes as per CentOS 7.x Rocks cluster 7.0 Reinstall OS on compute node
  4. During installation if you see errors such as:
    libpsm2-compat-<version> required libpsm2(x86-64) = <version2>
    Then go to /export/rocks/install/contrib/7.0/x86_64/RPMS/ and delete offending files manually
    rm -f libpsm2-*
  5. Again try reinstalling compute node after executing:
    cd /export/rocks/install
    rocks create distro


Refer:



Home > CentOS > CentOS 7.x > CentOS 7.x Rocks cluster 7.0 > CentOS 7.x Rocks cluster 7.0 Update master and all compute nodes