User guide

AFastFabric Configuration Files
FastFabric Configuration File
IB0054607-01 A A-5
# local HCA port/fabric selection string (for example 0:0 or 1:2) for
# the fabric being selected (see PORTS_FILE for more information)
# if this file is not found, or the value of this parameter is "NONE"
# no topology input file will be used
export FF_TOPOLOGY_FILE=${FF_TOPOLOGY_FILE:-$CONFIG_DIR/iba/topology.%P.xml}
# How to login to host systems during iba_host_admin
# can be ssh, rsh or telnet
# Note: at present cmdall and scpall always assume password-less ssh/scp
# Note: check_rsh always assumes password-less rsh/rcp
# Note: arguments (-s) to setup_ssh select ssh setup via rsh/rcp or ssh/scp
export FF_LOGIN_METHOD=${FF_LOGIN_METHOD:-ssh}
# initial user name (cannot be root if CFG_LOGIN_METHOD=telnet)
export FF_USERNAME=${FF_USERNAME:-root}
# password for FF_USERNAME (not needed if password-less ssh/rsh configured)
export FF_PASSWORD=${FF_PASSWORD:-}
# if FF_USERNAME is not root, what is the root password needed when
# suing to root
export FF_ROOTPASS=${FF_ROOTPASS:=}
# How to login to chassis
# can be ssh or telnet
export FF_CHASSIS_LOGIN_METHOD=${FF_CHASSIS_LOGIN_METHOD:-ssh}
# password for admin (not needed if password-less ssh configured)
export FF_CHASSIS_ADMIN_PASSWORD=${FF_CHASSIS_ADMIN_PASSWORD:-adminpass}
#base device number for IPoIB devices - IPoIB devices in the systems will
# be named "ib($FF_IPOIB_BASE_DEV_NUM) ib($FF_IPOIB_BASE_DEV_NUM+1) ..."
# On Silvertstorm stack it will be "ib1 ib2 ...."
# On OFED stack it will be "ib0 ib1 ..."
export FF_IPOIB_BASE_DEV_NUM=${FF_IPOIB_BASE_DEV_NUM:-0}
# shell Function to return the base IPoIB device number for this stack type.
# For Silverstorm stack installations this function should return 1, for
# OFED stack installations this should return 0.
if ! type ff_ipoib_base_dev_num >/dev/null 2>/dev/null
then
function ff_ipoib_base_dev_num()
{
# No arguments to this function
# $host is supplied as an arguemnt when this function is called
# but it is ignored here. This is a hack to limit the number of
# changes required.
echo "$FF_IPOIB_BASE_DEV_NUM"
}
fi
# options for iba_report during fabric_analysis health check
# alternative would be to use "-i seconds" instead of -C
# depending on fabric design, more strict link speed checks, such as
# -o slowconfiglinks or -o slowconnlinks may be appropriate
export FF_FABRIC_HEALTH=${FF_FABRIC_HEALTH:- -s -C -o errors -o slowlinks}
# list of CLI commands to issue during chassis_analysis