此内容没有您所选择的语言版本。

6.3. 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
  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>
  3. Execute the command on the node to upgrade the client on the node to glusterfs-fuse-3.12.2-32.el7.x86_64 version:
    # yum install glusterfs-client
  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>
    
  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
                    rr_weight "uniform"
            }
    }
    EOF
  6. Execute the following commands to start multipath daemon and [re]load the multipath configuration:
    # systemctl start multipathd
    # systemctl reload multipathd
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部