IBM ZVM - FOR LINUX V6 RELEASE 1 Getting Started page 59

Getting started with linux on system z
Table of Contents

Advertisement

Before you begin: You need to end CP's access to the primary parm disk. See
"Steps for releasing the primary parm disk" on page 37.
Perform these steps to define a virtual switch:
1.
Edit the SYSTEM CONFIG Z file. Type this command and press the Enter key:
xedit system config z
2.
Find the section titled "Status of Devices." At the XEDIT command line, type
this command and press the Enter key:
====> /status of devices
3.
Find the line containing the text "Sensed." At the XEDIT command line, type
this command and press the Enter key:
====> /sensed
4.
At the command line, type this command and press the Enter key:
====> i
5.
Type these lines, then press the Enter key twice.
DEFINE VSWITCH switch_name RDEV rdev [PRIROUTER]
MODIFY VSWITCH switch_name GRANT userid
where:
switch_name
is a name you give the virtual switch
rdev
is the real device address of your QDIO OSA-Express device
userid
is the user ID of a virtual machine for which you are granting access to the
virtual switch.
Note that the PRIROUTER (primary router) option is in brackets, indicating it
is optional. The PRIROUTER option is required if any of your Linux virtual
servers will act as a router to other networks. If you specify the PRIROUTER
option, do not use the brackets.
Example: If the switch name is VSWITCH1, the real device address of your
OSA-Express device is BC0, and your virtual machine is LINUX0, add these
lines:
DEFINE VSWITCH VSWITCH1 RDEV BC0
MODIFY VSWITCH VSWITCH1 GRANT LINUX0
6.
Repeat the MODIFY VSWITCH command with the GRANT option for each
user ID you wish to use the virtual switch.
Chapter 3. Changing the system configuration
45

Advertisement

Table of Contents
loading

Table of Contents