59
Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universit¨ at Berlin Rolf M Dietze [email protected] 12. August 2013 Rolf M Dietze [email protected]: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universit¨ at Berlin

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

VIOS mit IBM i und AIXAnwendungsbeispiel

iSeries Academic Initiative@

Freie Universitat Berlin

Rolf M [email protected]

12. August 2013

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 2: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Konzepte: Partitionierung von Rechnern

Introduction

Adaptervirtualisierung?

AIX & i5 on Blades

Kursumgebung

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 3: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Konzeptworkshop

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 4: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Partitionierung

WEB

NFS

DB APL

SMB

SMB

DB

NFS

WEB

Web

SM

BA

PL

DB

NF

S

NF

SD

BA

PL

Web

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 5: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Partitionierung

I/O

I/O

Ram

Ram

Ram

CPU

CPU

CPU

HD

CPU

CPU

Ram

Ram

HD

I/O

Ram

Ram

HD

I/O

I/O

CPU

CPU

CPU

Ram

I/O

CPU

HD

CPU

I/O

Ram

HD

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 6: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Partitionierung

I/O

I/O

Ram

Ram

Ram

CPU

CPU

CPU

HD

CPU

CPU

Ram

Ram

HD

I/O

Ram

Ram

HD

I/O

I/O

CPU

CPU

CPU

Ram

I/O

CPU

HD

CPU

I/O

Ram

HD

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 7: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Partitionierung

Ram

Ram

HD

I/O

I/O

CPU

CPU

CPU

Ram

I/O

CPU

HD

CPU

I/O

Ram

HD

I/O

I/O

Ram

CPU

HD

Ram

CPU CPU

Ram

Ram

HD

I/O

CPU

CPU

Ram

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 8: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Partitionierung

HDHDHDHD

CPU

CPU

CPU

CPU

CPU CPU

HD

Ram

Ram

Ram

Ram Ram

Ram

Ram

Ram

Ram

I/O I/O

Virtualisation Layer

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 9: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Partitionierung, LPAR

HD

CPU

CPU CPU

CPU Ram

I/ORam Ram

Ram

HDHDHD HD

I/O

Virtualisation Layer

HW−Layer

OBP OBP OBP

Logical Partition Layer

SLIC SLICKernel

i5/OS i5/OS

Kernel Kernel

AIX AIX AIX

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 10: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Partitionierung, LDom

HD

CPU

CPU CPU

CPU Ram

I/ORam Ram

Ram

HDHDHD HD

I/O

OBP

Kernel

Solaris

OBP

Kernel

Solaris

OBP

Kernel

Solaris

OBP

Kernel

Solaris

Virtualisation Layer

HW−Layer

OBP

Logical Partition Layer

Kernel

Dom0

Solaris

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 11: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

LDom

v CPU

v CPU

v CPU

v CPU

v CPU

v CPU

v CPU

v CPU

p CPU

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 12: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

lpar

vCPU1vCPU10

Context Switch

vCPU3

vCPU2

vCPU4

Context Switch

Context Switch

Context Switch Context Switch

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 13: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

LDom

Container

Container

Container

Container

MUXProcess DMUX

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 14: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

LDom

Compute Memory

Compute Memory

Compute Memory

Compute Memory

thre

ad

t

1

2

3

4

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 15: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

LPAR

HDHDHDHD

CPU CPU

HD

I/ORam Ram Ram

vCPU1vCPU10

Context Switch

vCPU3

vCPU2

vCPU4

Context Switch

Context Switch

Context Switch Context Switch

Memory

Hardware Layer

Virtualisation Layer

OS Layer

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 16: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

LDom

HDHDHDHD

CPU CPU

HD

I/ORam Ram Ram

MemoryCompute Memory

Compute Memory

Compute Memory

Compute Memory

thre

ad

t

1

2

3

4

Hardware Layer

Virtualisation Layer

OS LayerldomNldom0 ldom1

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 17: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

VIOS, Begriffsbestimmung

VIOS Virtual I/O Server

Aufgabe: Deviceserver fur LPARs,

Interface zum Hypervisorlayer zwischen physischen/logischenKomponenten

Servicepartition fur andere LPARs einer Maschine

Glue-Partition zur Anbindung von Storage

Kostenersparnis durch Virtualisierung

HMC: LPAR auf der PowerPC Maschine

IVM: IVM/VIOS als LPAR auf der Maschine

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 18: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

OpenFirmware

AIX

OpenFirmware

AIXi/5

SLIC

i/5

SLIC

Virtualisation Layer

H/W Layer

OpenFirmware

VIOSHMC

SP

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 19: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

OpenFirmware

AIX

OpenFirmware

AIXi/5

SLIC

i/5

SLIC

Virtualisation Layer

H/W Layer

OpenFirmware

IVM/VIOS

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 20: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Disk

Ethernet

Tape

CD/DVD

Serialport

Virtual Physical

Disk

Ethernet

CD/DVD

Serialport

Tape(?)

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 21: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Partitionsausstattung, I/O Ports

Serielle Console (AIX/Unix)

2x Ethernet

2x SCSI/FC OS (Loadsource redundant)

2x SCSI/FC Data (redundant)

3 PCI-Slots fur 3 I/O Karten zzgl Serialportp5-570: 160 Partitionen, 160 PCI-X Slots160 Partitionen je 3 PCI-Karten: 480 SlotsEs fehlen 320 PCI-X Slots

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 22: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

virtualisation layer

Physical

Virtual vdev

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 23: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

vdev vdev

vdev

virtualisation layer

Physical

Virtual

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 24: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Moglichkeiten, virtuelle Devices

Virtual SCSIDisks, CD/DVD

EthernetIntegrated Virtual EthernetShared Ethernet Adapter

Virtual Ethernet (....ohne VIOS)

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 25: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Ethernet

driver

virt eth

LPAR1

driver

virt eth

LPAR2

driver

virt eth

LPAR3

driver

virt eth

Hypervisor

LPAR4

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 26: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Ethernet

driver

virt eth

LPAR1

driver

virt eth

LPAR2

driver

virt eth

LPAR3

driver

virt eth

LPAR3

sea

Hypervisor

VIOS

"outside" network

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 27: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Ethernet

phys eth virt eth virt eth

driver driver driver

l2 bridge

driver

virt eth

driver

virt eth

"outside" Network

node1

node2vlan40vlan50

VIOS LPAR1 LPAR2

Hypervisor

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 28: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

ent0 ent1

ent2

phys virt

SEA

PVID20 PVID20

untagged bridge

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 29: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

untagged bridge

mkvdev -sea ent0 -vadapter ent1-default ent1 -defaultid 20

$ lsdev -virtual |grep entname status descriptionent1 Avaliable Virtual I/O Ethernet Adapter (l-lan)ent2 Avaliable Shared Ethernet Adapter

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 30: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

ent0 ent1

virt

ent2

virt

SEA

ent3

physPVID2VID20,30

PVID2VID20

PVID3VID30

tagged bridge

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 31: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

tagged bridge

mkvdev -sea ent0 -vadapter ent1 ent2-default ent1 -defaultid 2

$ lsdev -virtual |grep entname status descriptionent1 Avaliable Virtual I/O Ethernet Adapter (l-lan)ent2 Avaliable Virtual I/O Ethernet Adapter (l-lan)ent3 Avaliable Shared Ethernet Adapter

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 32: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Virtual SCSI

OpenFirmware

AIX

OpenFirmware

VIOS

OpenFirmware

AIXi/5

SLIC

i/5

SLIC

Virtualisation Layer

H/W Layer

Diskarray

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 33: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Virtual SCSI, filebased

File1

File2

File3hd hd hd

VG

VIOS LPAR LPAR

Virtualisation Layer

Diskarray

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 34: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Virtual SCSI, passthrough

hd hd hd

VIOS LPAR LPAR

Virtualisation Layer

Diskarray

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 35: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Virtual SCSI, filebased + passthrough

hd hdhd hdFile2

File1

VIOS LPAR LPAR

Virtualisation Layer

Diskarray

VG

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 36: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

iSeries Academic Initiative @ FU-Berlin

Anforderungen an die Arbeitsumgebung:

I ca 24 Teilnehmer

I 1 x i5 Partition pro Teilnehmer

I 1 x AIX Partition pro Teilnehmer

I AIX und i5 gleichzeitig im Zugriff

I Arbeiten in einer heterogenen LAB-Umgebung

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 37: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

iSeries Academic Initiative @ FU-Berlin

i5 & AIX auf JS22er Blades, FU-Berlin

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 38: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

iSeries Academic Initiative @ FU-Berlin

Anpassung der Anforderungen an die Arbeitsumgebung:

I 1 x i5 Partition pro 2 Teilnehmer

I 1 x AIX Partition pro 2 Teilnehmer

I AIX und i5 in sequentiellem Zugriff(LAN-Console leider ungeeignet fur die LAB-Umgbung)

I Maximal 7 Partitionen pro Blade

I Kein Zugriff auf die IVM-Funktionen

I Eingeschrankter Zugriff auf VIOS Funktionen

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 39: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

iSeries Academic Initiative @ FU-BerlinAufgabenstellung an die Teilnehmer:Die Studenten mussen “ihre” Partitionen selbst

I aufsetzenI installierenI konfigurierenI in das LAB-Environment integrierenI Dataservice konfigurierenI Dataservices untereinander anbieten und nutzenI waehrend der Laufzeit umkonfigurierenI Dataservices von AIX nach i5 etc. ueberfuhren um die

AIX-Partition fuer eine i5-Partition freizugeben.

Und das in einer heterogenen LAB-Umgebung aus AIX, i5, Solaris,FreeBSD, *Linux und Windows*

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 40: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

AIX & i5 on Blades, Systemverwalterkurs @ FU-Berlin

DS 4800

vdisksdisks /

Network

sshTunnel

LANConsole

LPARi

LPARAIX

LANConsole

LPARi

LPARAIX

Win2003S

StudentPC StudentPC StudentPC

Win2003

Win2003

Win2003

VBox:

sshTunnel

NATVIOSAIX

PowerHypervisor

fc1

fc0

hea1

hea0

SAN

LAN

bge120

bge1

bge110

bge0

NIMSrv

AdminLAB

ThinClients

SRSrv

Solaris/Nevada

e1000g0

emlxs0

LANConsoleLABNetAdminNetSRsvc/ThinClientStorage

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 41: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

AIX & i5 on Blades, Network

LANConsole

LPARi

LPARAIX

LANConsole

LPARi

LPARAIX

sshTunnel

sshTunnel

LANConsole

Windows

VirtualBox

Student PCLANConsoleLABNetAdminNetSanAdmin

VIOSAIX

PowerHypervisor

ent8

ent7

hea1

hea0 ent0

vlan20

ent1 ent5

vlan40

ent2

ent3

ent4

vlan30

Bridge2 Bridge1

vlan10

lan

lan

ent6

NAT

RDP

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 42: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

AIX & i5 on Blades, Disks (AIX)

AIX AIX

BootSAS

DataVG

200M200M200M200M

200M

200M200M200M200M

200M

200M200M200M200M

200M

VIOS/IVM

RootVG

RootVGRootVG

TestVG TestVG

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 43: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

AIX & i5 on Blades, Disks (i5)

BootSAS

RootVG

10G

10G

20G

20G

10G

20G

10G

10G

20G

20G

10G

20G

10G

10G

20G

20G

10G

20G

10G

10G

10G

10G

10G

10G

10G

10G

10G

10G

10G

10G

10G

10G

10G

10G 10G 10G

VIOS/IVM i5 i5

IPLSrc

iBootVG iDataVG

IPLSrc

ASP2 ASP2

iASPiASP

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 44: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

AIX & i5 on Blades, Disks (AIX& i5)

10G

10G

10G

10G

10G

10G

10G

10G

10G

10G

10G

10G

10G

10G

10G

10G 10G 10G

10G

10G

20G

20G

10G

20G

10G

10G

20G

20G

10G

20G

10G

10G

20G

20G

10G

20G

AIX i5

IPLSrc

ASP2

iASP

200M200M200M200M

200M

200M200M200M200M

200M

200M200M200M200M

200M

DataVGBootSAS

RootVG

AIX

VIOS/IVM i5

IPLSrc

ASP2

iASPiBootVG iDataVG

RootVG

TestVG

AIX

RootVG

TestVG

i5AIX

i5

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 45: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Anforderungen, laufende Arbeiten @ FU-Berlin

Consolzugang fur Studenten

Schnelles Aufsetzen der Umgebungen

Selbstadministration/Konfiguration durch Studenten

Bereitstellung der Installationsmedien

Bereitstellung von LPAR-Images

“Auf Zuruf” Autokonfiguration (...in Arbeit:)

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 46: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Storagemanipulation

HD0

LPAR1

HD0

LPAR2

HD0

LPAR3

vHD0vHD1

vHD2

LABServer

IVM/VIOS

dd

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 47: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Storagemanipulation

HD0

LPAR2

HD0

LPAR3

LABServerHD0

LPAR1

OS ImageRepository

IVM/VIOS

HD0 HD1 HD2

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 48: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Storagemanipulation

Erzeugen/Loschen einer vDisk

mkvdev -vdev <Diskname> -vadapter vhost0

mkvdev -vdev <VolName> -vadapter vhost0

rmvdev [-vdev <*Name>][ -vtd <target>] [..]

Erzeugen/Loschen einer vDisk

mkbdsp -sp <vg> -bd <File> -vadapter vhost0

rmbdsp -sp <vg> -bd <File> -vadapter vhost0

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 49: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Storagemanipulation

loadopt/unloadopt

Virtual Media Repository

VIOS

Hypervisor vSCSI

LPAR

vtopt0

/dev/cd0 ��

��

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 50: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Storagemanipulation

Erzeugen/Loschen einer vCD Library

mkrep -sp <pool>

rmrep [-f]

Erzeugen eines virtuellen Mediums

mkvopt -name <Name> -size <Size>

vSCSI-Server erzeugen

mkvdev -fbo -vadapter vhost0

Auflistung des vCD Repositories

lsrep [...]

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 51: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Storagemanipulation

Auflistung der virtuellen Laufwerke

lsvopt

load/unload einer vCD

loadopt -disk <vCD> -vtd <vDev>

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 52: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Storagemanipulation, Beispiele

$ lsrepSize(mb) Free(mb) Parent Pool Parent Size Parent Free

24481 18149 rootvg 69888 18176Name File Size Optical AccessAIX61_1 621 vtopt4 roAIX61_1 621 vtopt5 roAIX61_2 607 vtopt2 roAIX61_3 536 None roAIX61_4 611 None roAIX61_5 598 None roAIX61_6 576 None roaixtools 2782 vtopt0 roaixtools 2782 vtopt1 roioscli.log 1 None rw

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 53: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Storagemanipulation, Beispiele

$ unloadopt -vtd vtopt4$ lsvoptVTD Media Size(mb)vtopt0 aixtools 2782vtopt1 aixtools 2782vtopt2 AIX61_2 607vtopt3 No Media n/avtopt4 No Media n/avtopt5 AIX61_1 621

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 54: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Storagemanipulation, Beispiele

$ loadopt -disk aixtools -vtd vtopt4$ lsvoptVTD Media Size(mb)vtopt0 aixtools 2782vtopt1 aixtools 2782vtopt2 AIX61_2 607vtopt3 No Media n/avtopt4 aixtools 2782vtopt5 AIX61_1 621

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 55: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

Storagemanipulation, Beispiele

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 56: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

LPAR-Profilemanipulation

IVM

LPAR1 LPARnLABServer

IDCPUMemoryVIO....

Profile:RepositoryLPAR Profile

IVM/VIOS

mksyscfg

Hypervisor

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 57: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

LPAR-Profilmanipulation

Start/Stop

chsysstate -r lpar -o [on,shutdown] --id <LP ID>

Erzeugen/Loschen

mksyscfg -r lpar -i "name=lp3,lpar_env=i5,m...."

mksyscfg -r lpar -i "name=lp3,lpar_env=aixlinux,m...."

rmsyscfg -r lpar ...

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 58: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

LPAR-Profilmanipulation

Arbeiten mit Profilen

Anzeigen der LPARs lssyscfg -r lpar

Auflistung der Profile lssyscfg -r prof

Systemkonfiguration lssyscfg -r sys

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin

Page 59: VIOS mit IBM i und AIX Anwendungsbeispiel iSeries …...Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative

Konzepte: Partitionierung von Rechnern Int Int AIXI@BC Int

LPAR-Profilemanipulation

RepositoryLPAR Profile

RepositoryOS Imalge

vHD0

LABServer

HD0 HD0

IVMHD0

LPAR1

i5

HD0

LPAR2

AIX

HD0

LPAR3

AIX

dd

Hypervisor

56

rcmd

Anfrage?

13 3

3

3

mksyscfg

chgsysstate

2

4

IVM/VIOS

Rolf M Dietze [email protected]:

VIOS mit IBM i und AIX Anwendungsbeispiel iSeries Academic Initiative @ Freie Universitat Berlin