23.10.2014 Views

Advanced POWER Virtualization on IBM System p5 - Previous ...

Advanced POWER Virtualization on IBM System p5 - Previous ...

Advanced POWER Virtualization on IBM System p5 - Previous ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Virtual SCSI services for Linux partiti<strong>on</strong>s<br />

The c<strong>on</strong>figurati<strong>on</strong> for Linux partiti<strong>on</strong>s to allow them to use virtual SCSI adapters<br />

and devices is similar to the c<strong>on</strong>figurati<strong>on</strong> for AIX 5L partiti<strong>on</strong>s. Linux partiti<strong>on</strong>s<br />

handle virtual SCSI devices as SCSI disc drives. Clients should be aware about<br />

the following c<strong>on</strong>siderati<strong>on</strong>s in the Linux client partiti<strong>on</strong>s:<br />

►<br />

►<br />

Virtual SCSI adapters in the Linux client partiti<strong>on</strong> are listed in the<br />

/sys/class/scsi_host directory; such a directory c<strong>on</strong>tains the c<strong>on</strong>trol files for<br />

each of the virtual adapters. The virtual SCSI client adapters can be<br />

requested to re-scan for virtual SCSI resources recently mapped from the<br />

VIOS using the same interfaces as any other SCSI adapter.<br />

Virtual SCSI disk drives in the Linux client partiti<strong>on</strong> can be seen in the device<br />

tree as an sdx type of device (for example, sda). Note that Linux shows in the<br />

device tree both virtual disk drives (virtual SCSI storage resources mapped<br />

from VIOS) and disk partiti<strong>on</strong>s created inside those virtual disk drives.<br />

3.5.2 Virtual Ethernet resources<br />

The sec<strong>on</strong>d type of resource that causes interacti<strong>on</strong> between AIX 5L or Linux<br />

client partiti<strong>on</strong>s and the Virtual I/O Server is the Shared Ethernet Adapter in the<br />

Virtual I/O Server. This feature allows the AIX 5L partiti<strong>on</strong>s to c<strong>on</strong>nect to external<br />

networks without a physical adapter.<br />

The implementati<strong>on</strong> of virtual Ethernet adapters is based <strong>on</strong> the definiti<strong>on</strong> of<br />

network interfaces that c<strong>on</strong>nect through the <str<strong>on</strong>g>POWER</str<strong>on</strong>g> Hypervisor to an IEEE<br />

VLAN-aware virtual Ethernet switch in the system. All partiti<strong>on</strong>s talking <strong>on</strong> the<br />

virtual Ethernet network are peers. Up to 4,096 separate IEEE VLANs can be<br />

defined in the system. Each partiti<strong>on</strong> can have up to 65,533 virtual Ethernet<br />

adapters c<strong>on</strong>nected to the virtual Ethernet switch and each adapter can be<br />

c<strong>on</strong>nected to 21 different IEEE VLANs (20 VID and 1 PVID).<br />

For more informati<strong>on</strong> about the technical details of virtual Ethernet<br />

implementati<strong>on</strong>, refer to 2.8, “Virtual and Shared Ethernet introducti<strong>on</strong>” <strong>on</strong><br />

page 70.<br />

The enablement and setup of a virtual Ethernet adapter in an AIX 5L or Linux<br />

client partiti<strong>on</strong> does not require any special hardware or software. After a specific<br />

virtual Ethernet is enabled for a partiti<strong>on</strong>, a network device is created within the<br />

partiti<strong>on</strong>. The user can then set up the TCP/IP c<strong>on</strong>figurati<strong>on</strong> appropriately to<br />

communicate with other partiti<strong>on</strong>s.<br />

In order to allow the AIX 5L or Linux client partiti<strong>on</strong> to communicate with external<br />

Ethernet networks, the Virtual I/O Server acts like a bridge and forwards the IP<br />

packets from the virtual Ethernet client adapter. This is d<strong>on</strong>e by creating a<br />

Shared Ethernet Adapter (SEA) in the Virtual I/O Server that c<strong>on</strong>nects the virtual<br />

Chapter 3. Setting up the Virtual I/O Server: the basics 179

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!