Difference between revisions of "CentOS 7.x Rocks cluster 7.0 Update master and all compute nodes"

From Notes_Wiki
(Created page with "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: # Edit files in '<tt>/etc/yum.repos.d/</tt>' and set enable=1. At least enabled repositories in: #* CentOS-Base.repo #* epel.repo #* rpmforge.repo # '''Ensure that''' in /etc/yum.conf, caching is enabled: #:<pre> #:: keepcache=1 #:</pre> # Then update the master node fully using: #:<pr...")
 
m
Line 30: Line 30:
#:</pre>
#:</pre>
# Reinstall nodes as per [[CentOS 7.x Rocks cluster 7.0 Reinstall OS on compute node]]
# Reinstall nodes as per [[CentOS 7.x Rocks cluster 7.0 Reinstall OS on compute node]]
# During installation if you see errors such as:
#:<pre>
#:: libpsm2-compat-<version> required libpsm2(x86-64) = <version2>
#:</pre>
#: Then go to  /export/rocks/install/contrib/7.0/x86_64/RPMS/ and delete offending files manually
#::<pre>
#::: rm -f libpsm2-*
#:</pre>
# Again try reinstalling compute node after executing:
#:<pre>
#:: cd /export/rocks/install
#:: rocks create distro
#:</pre>





Revision as of 10:07, 11 May 2022

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. Then update the master node fully using:
    yum -y install --skip-broken


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