Quick Reference for Adding Network Devices
247
• Define the alias (if needed).
• Create a configuration script.
• Activate the device.
The following sections provide basic information for each task of each IBM System z network device
driver.
22.6.2.1. Working With the LCS Device Driver
The LAN channel station (LCS) device driver supports OSA-2 Ethernet/Token Ring, OSA-Express Fast
Ethernet in non-QDIO mode, and OSA-Express High Speed Token Ring in non-QDIO mode. For z990,
the LCS driver also supports Gigabit Ethernet in non-QDIO mode (including 1000Base-T).
Based on the type of interface being added, the LCS driver assigns one of two base interface names:
eth
n
for OSA-Express Fast Ethernet and Gigabit Ethernet tr
n
for Token Ring, where
n
is an integer
that uniquely identifies the device.
n
is 0 for the first device of that type, 1 for the second, and so on.
• Load the device driver:
# modprobe lcs
• Create the group device:
# echo read_device_bus_id,write_device_bus_id >
/sys/bus/ccwgroup/drivers/lcs/group
Due to the length of this command, it has been broken into two lines.
• Configure the device.
OSA cards can provide up to 16 ports for a single CHPID. By default, the LCS group device uses
port 0. To use a different port, issue a command similar to the following:
# echo portno > /sys/bus/ccwgroup/drivers/lcs/device_bus_id/portno
For more information about configuration of the LCS driver, refer to the following:
http://www-128.ibm.com/developerworks/linux/linux390/october2005_documentation.html#3
(Linux
for IBM System z and S/390 Device Drivers, Features, and Commands)
• Set the device online:
# echo 1 > /sys/bus/ccwgroup/drivers/lcs/read_device_bus_id/online
• Define the alias.
Based on the type interface being added, add a line to
/etc/modprobe.conf
that is similar to one
of the following:
eth
n
alias lcs
tr
n
alias lcs
Содержание ENTERPRISE LINUX 5 - VIRTUAL SERVER ADMINISTRATION
Страница 12: ...xii ...
Страница 20: ......
Страница 30: ...12 ...
Страница 32: ...14 ...
Страница 82: ...64 ...
Страница 106: ...88 ...
Страница 122: ...104 ...
Страница 124: ...106 ...
Страница 126: ......
Страница 132: ...114 ...
Страница 168: ...150 ...
Страница 182: ...164 ...
Страница 192: ...174 ...
Страница 194: ......
Страница 236: ...218 ...
Страница 238: ...220 ...
Страница 270: ......
Страница 274: ...256 ...
Страница 278: ...260 ...
Страница 292: ...274 ...
Страница 294: ......
Страница 300: ...282 ...
Страница 304: ......
Страница 316: ...298 ...
Страница 357: ...Creating Partitions 339 Figure 32 7 Creating a Software RAID Device 4 Click OK to add the device to the list ...
Страница 370: ...352 ...
Страница 384: ...366 ...
Страница 385: ...Part VII Appendix ...
Страница 386: ......