minor tweak for ipoib on computes
@@ -24,7 +24,8 @@ unique identifier such as ``local''. In this recipe, we leverage the
\clearpage
If enabling {\em optional} IPoIB functionality (e.g. to support Lustre over \InfiniBand{}), additional
settings are required to define the IPoIB network with \xCAT{} and specify
-desired IP settings for each compute. This can be accomplished as follows:
+desired IP settings for each compute. This can be accomplished as follows for
+the {\em ib0} interface:
% begin_ohpc_run
% ohpc_validation_newline
@@ -33,10 +34,12 @@ desired IP settings for each compute. This can be accomplished as follows:
% ohpc_indent 5
\begin{lstlisting}[language=bash,keywords={},upquote=true,basicstyle=\footnotesize\ttfamily]
# Define ib0 netmask
-[sms](*\#*) chdef -t network -o ipoib0 mask=$ipoib_netmask mgtifname=ib0
+[sms](*\#*) chdef -t network -o ib0 mask=$ipoib_netmask
+# Enable secondary NIC configuration
+[sms](*\#*) chdef compute -p postscripts=confignics
# Register desired IPoIB IPs per compute
[sms](*\#*) for ((i=0; i<$num_computes; i++)) ; do
- chdef c1 nicips.ib0=${c_ipoib[i]} nictypes.ib0="InfiniBand" nicnetworks.ib0=ib0
+ chdef ${c_name[i]} nicips.ib0=${c_ipoib[i]} nictypes.ib0="InfiniBand" nicnetworks.ib0=ib0
done
\end{lstlisting}
% ohpc_indent 0
