Ce contenu n'est pas disponible dans la langue sélectionnée.

7.4. Upgrading the client on Red Hat Openshift Container Platform Nodes


Execute the following commands on each of the nodes:
  1. To drain the pod, execute the following command on the master node (or any node with cluster-admin access):
    # oc adm drain <node_name> --ignore-daemonsets
    Copy to Clipboard Toggle word wrap
  2. To check if all the pods are drained, execute the following command on the master node (or any node with cluster-admin access):
    # oc get pods --all-namespaces --field-selector=spec.nodeName=<node_name>
    Copy to Clipboard Toggle word wrap
  3. Execute the command on the node to upgrade the client on the node:
    # yum update glusterfs-client
    Copy to Clipboard Toggle word wrap
  4. To enable node for pod scheduling execute the following command on the master node (or any node with cluster-admin access):
    # oc adm manage-node --schedulable=true <node_name>
    
    Copy to Clipboard Toggle word wrap
  5. Create and add the following content to the multipath.conf file:

    Note

    Make sure that the changes to multipath.conf and reloading of multipathd are done only after all the server nodes are upgraded.
    # cat >> /etc/multipath.conf <<EOF
    # LIO iSCSI
    devices {
            device {
                    vendor "LIO-ORG"
                    user_friendly_names "yes" # names like mpatha
                    path_grouping_policy "failover" # one path per group
                    hardware_handler "1 alua"
                    path_selector "round-robin 0"
                    failback immediate
                    path_checker "tur"
                    prio "alua"
                    no_path_retry 120
            }
    }
    EOF
    Copy to Clipboard Toggle word wrap
  6. Execute the following commands to start multipath daemon and [re]load the multipath configuration:
    # systemctl start multipathd
    Copy to Clipboard Toggle word wrap
    # systemctl reload multipathd
    Copy to Clipboard Toggle word wrap
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat