Configuring the SMC-R protocol solution
The SMC-R protocol solution uses the OpenFabrics Enterprise Distribution (OFED™) core services over RoCE.
The ofed.smcr fileset must be installed to use the SMC-R protocol solution. You can install the ofed.smcr fileset by using the installp command or the SMIT interface.
After installing the ofed.smcr fileset, the SMC-R function is not enabled
by default. To enable the SMC-R function, perform the following steps:
- To load the SMC-R module, enter the following command:
mkdev -c tcpip -t smcr - To list the current configuration settings of the SMC-R module, enter the following command:
lsattr -E -l smcr0 - To modify a configuration parameter, enter the following command:
chdev -l smcr0 -a <attribute_name>=<attribute_value> - To unload the SMC-R module, enter the following command:
rmdev -l smcr0
Note: You cannot unload the SMC-R module when the SMC-R communication is in progress. Before
you unload the SMC-R module, ensure all the SMC-R communications that are associated with the
workloads are complete.
The SMC-R device can have the following attributes:
- enabled
- Enables or disables the SMC-R function. This attribute can have the following values:
- 1 - Enables the SMC-R function. After this attribute is set to 1, all matching future connections use the SMC-R protocol solution.
- 0 - Disables the SMC-R function. This value is the default value.
- ip_addr_list
- Specifies the IP addresses of the interfaces that are used for the SMC-R solution. The maximum numbers of interfaces supported are two. When the IP address is not specified, connections do not use the SMC-R protocol solution.
- max_memory
- Specifies the maximum memory in megabytes (MB), that can be used for the SMC-R operations.
- port_range_list
- Specifies the application server port or port range that must use the SMC-R module. For example, the port range is 1 - 20 or 23 or 50. When the port information is not specified, connections do not use the SMC-R protocol solution.