Adding a
qeth
Device
243
22.6.1. Adding a
qeth
Device
First, determine whether the
qeth
device driver modules are loaded.
# lsmod | grep qeth
qeth 135240 0
qdio 45360 2 qeth
ipv6 303984 13 qeth
ccwgroup 15104 1 qeth
If the output of the
lsmod
command shows that the modules are not loaded, you must run the
modprobe
command to load them:
# modprobe qeth
Next, create a
qeth
group device.
# echo
read_device_bus_id
,
write_device_bus_id
,
data_device_bus_id
> /sys/bus/ccwgroup/drivers/qeth/group
Due to the length of this command, it has been broken into two lines.
In the following example,
read_device_bus_id
is 0.0.0600,
write_device_bus_id
is 0.0.0601,
and
data_device_bus_id
is 0.0.0602. The device is a z/VM virtual NIC and the IP address to be
assigned to this interface is 192.168.70.69.
# echo 0.0.0600,0.0.0601,0.0.0602 > /sys/bus/ccwgroup/drivers/qeth/group
Next, verify that the
qeth
group device was created properly:
# ls /sys/bus/ccwgroup/drivers/qeth
0.0.0600 0.0.09a0 group notifier_register
You may optionally add a portname. First, you must check to see if a portname is required:
# cat /sys/bus/ccwgroup/drivers/qeth/0.0.0600/portname
no portname required
The response indicates that you do not need to provide a portname.
To add a port name, check that the devices are offline, and then run the following command:
Note
The device(s) must be offline when you add a portname.
# echo
portname
> /sys/bus/ccwgroup/drivers/qeth/0.0.0600/portname
Next, bring the device back online:
# echo 1 > /sys/bus/ccwgroup/drivers/qeth/0.0.0600/online
Then verify the state of the device:
Содержание 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: ......