此内容没有您所选择的语言版本。
6.3. Upgrading the client on Red Hat Openshift Container Platform Nodes
Execute the following commands on each of the nodes:
- 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 - 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> - 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 - 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> - 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 - Execute the following commands to start multipath daemon and [re]load the multipath configuration:
# systemctl start multipathd# systemctl reload multipathd