Professional Documents
Culture Documents
Configurations
César Diniz Maciel
Consulting IT Specialist – IBM US
Agenda
VIO server 1.2 gave the ability to share the CDROM drive
with client LPARs through Virtual Optical devices.
VTD vtopt0
LUN 0x8100000000000000
Backing device cd0
Physloc U787A.001.DNZ00ZE-P4-D3
Power Systems Virtual Optical Device
Backing device
(disk, lv, file or media)
Client connection - Option One
On old client
# lsdev –Cl cd0 –F parent
vscsi2
# rmdev –R vscsi2
On new client
# cfgmgr
Client Side - Virtual Optical Device
First AIX client LPAR to activate will show new vscsi adapter
and cd0 available
# lsdev -Cs vscsi
cd0 Available Virtual SCSI Optical Served by VIO Server
hdisk0 Available Virtual SCSI Disk Drive
This client’s adapter will NOT configure while another client is connected
to the server adapter
# rmdev –R vscsi2
cd0 defined
File-backed device that works like an optical device (think of it as an ISO image).
With read-only virtual media the same virtual optical device can be presented to
multiple client partitions simultaneously
You could easily boot from and install partitions remotely without having the need to
swap out physical CD/DVDs or setup Network Installation Manager (NIM) server. It is
also easier to boot a partition into maintenance mode to repair problems
Easier to maintain a complete library of all the software needed for the managed
system. Various software packages as well as all the necessary software levels to
support each partition
Client partitions could use blank file-backed virtual optical media for backup purposes
(read/write devices)
These file-backed optical devices could then be backed up from on the VIO server to
other types of media (tape, physical CD/DVD, TSM server, etc.)
Virtual Optical Media
The cpvdi command copies a block device image, which can be either
a logical or physical volume, a file-backed device, or a file on
another existing disk.
VTD vt_ec04
Status Available
LUN 0x8100000000000000
Backing device client2lv
Physloc
VTD vtopt0
Status Available
LUN 0x8200000000000000
Backing device
Physloc
$ mkvopt -name vio-1-5-expansion.iso -file /var/vio/storagepools/file-storage-pl/vio-1-5-
expansion.iso -ro
Seeing the image on the client LPAR
VTD vt_ec04
Status Available
LUN 0x8100000000000000
Backing device client2lv
Physloc
VTD vtopt0
Status Available
LUN 0x8200000000000000
Backing device /var/vio/VMLibrary/vio-1-5-expansion.iso
Physloc
From the client LPAR:
root@ec04 / # cfgmgr
root@ec04 / # lsdev -Cc cdrom
cd0 Available Virtual SCSI Optical Served by VIO Server
root@ec04 / # mount -v cdrfs -o ro /dev/cd0 /cdrom
root@ec04 / # df
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 98304 49488 50% 1982 9% /
/dev/hd2 2490368 88936 97% 23302 8% /usr
/dev/hd9var 65536 31584 52% 494 7% /var
/dev/hd3 229376 126928 45% 64 1% /tmp
/dev/hd1 65536 63368 4% 20 1% /home
/proc - - - - - /proc
/dev/hd10opt 229376 35272 85% 2937 11% /opt
/dev/cd0 19724 0 100% 4931 100% /cdrom
Agenda
Untagged (PVID 1)
VID 100
Create the Shared Ethernet Adapter (SEA)
$ mkvdev -sea ent3 -vadapter ent2 -default ent2 -defaultid 1
ent4 Available
en4
et4
Shared Ethernet Adapter Failover Client
Virt
Enet
VIOS 1 VIOS 2
VIOS feature (indepentent of the client partition) SEA SEA
Enet Enet
PCI PCI
Primary Backup
Provides a backup adapter for the SEA, with active
monitoring.
Virtual Ethernet Control Channel between the two VIOS.
Complexity
Specialized setup confined to VIOS
POWER5 Server
Resilience
Client
Protection against single VIOS / switch port /
switch / Ethernet adapter failure Virt
Enet
Throughput / Scalability
Cannot do load-sharing between primary and VIOS 1 VIOS 2
Make sure you configure the SEA failover adapter (on the second VIOS) at
the same time you configure the primary adapter.
Agenda
Networ
Ethernet adapter HEA
k
...considerations
If you anticipate a future need for more adapters than you have
LHEA ports (LP-HEA) available
When in promiscuous mode there is only one LP-HEA per physical port
Always use flow control, and the large_send parameter for all Gigabit and
10 Gbit Ethernet adapters, and large_receive parameter when using a
10Gbit Ethernet adapter (VIOS 1.5.1.1) to increase performance
27
Promiscuous Mode
28
Agenda
Ded Ded
Ded. VSCSI VSCSI VSCSI
Adapt Adapt
Adapt DD Client DD Server DD DD Server
PHYP PHYP
Ded Ded Ded Ded
Adapter Adapter Adapter Adapter
SAN
Disks
Create Target Partition LAN
Ded Ded
VSCSI VSCI VSCI
Adapt Adapt
Client DD Server DD DD Server
PHYP PHYP
Ded Ded Ded Ded
Adapter Adapter Adapter Adapter
SAN
Disks
Transfer Partition State LAN
Ded Ded
VSCSI VSCI VSCI VSCSI
Adapt Adapt
Client DD Server DD DD Server Client DD
PHYP PHYP
Ded Ded Ded Ded
Adapter Adapter Adapter Adapter
SAN
Disks
Transfer VIO to Target LAN
Ded Ded
VSCSI VSCI VSCI VSCSI
Adapt Adapt
Client DD Server DD DD Server Client DD
PHYP PHYP
Ded Ded Ded Ded
Adapter Adapter Adapter Adapter
SAN
Disks
Re-Attach Dedicated Adapters LAN
(via DLPAR)
Ded Ded
VSCSI VSCI VSCI VSCSI Ded.
Adapt Adapt
Client DD Server DD DD Server Client DD Adapt DD
PHYP PHYP
Ded Ded Ded Ded
Adapter Adapter Adapter Adapter
SAN
Disks
Clean Up Unused Resources LAN
Ded Ded
VSCSI VSCI VSCI VSCSI Ded.
Adapt Adapt
Client DD Server DD DD Server Client DD Adapt DD
PHYP PHYP
Ded Ded Ded Ded
Adapter Adapter Adapter Adapter
SAN
Disks
Devices not supported for LPM
IVE
Virtual Optical Device
Virtual Optical Media
OS installed on internal disks
OS installed on logical volumes or file-backed devices
Virtual Tape
Agenda
VIOS
Power Hypervisor
Virtual tape device created and managed the same way as a virtual disk
mkvdev -vdev TargetDevice –vadapter VirtualSCSIServerAdapter
lsdev -virtual returns results similar to the following:
name status description
vhost3 Available Virtual SCSI Server Adapter
vsa0 Available LPAR Virtual Serial Adapter
vtscsi0 Available Virtual Target Device - Logical Volume
vttape0 Available Virtual Target Device - Tape
On the client partition, simply run cfgmgr to configure the virtual tape
Device can be used as a regular tape, for data and OS backup and restore, including
booting from media.
Automated tape libraries are not supported.
Agenda
VIOS
Power Hypervisor
AIX AIX
Virtualized
Disks
disks
FC Adapter
VIOS VIOS
Shared
FC Adapters FC Adapters
SAN SAN
DS8000 DS8000
EMC EMC
Partition SAN access through NPIV
SAN Switch requirements
Only the first SAN switch attached to the Fibre Channel adapter
needs to be NPIV capable
• Other switches in the environment do not need to be NPIV
capable
• Not all ports on the switch need to be configured for NPIV, just the
one which the adapter will use
�Check with your storage vendor to make sure the switch is NPIV
capable
� Order and install the latest available firmware for your SAN switch
Create a Virtual Fibre Channel Adapter
VIOS VIOS
2) Virtual adapter to
prepare for mobility
Agenda
* All statements regarding IBM's future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only.
Active Memory Sharing Enables Higher Memory Utilization
Memory allocation Memory requirements
25
20
Partitions with dedicated memory
Memory (GB)
15 Partition 3
Memory is allocated to partitions 10
Partition 2
Partition 1
As workload demands change, 5
memory remains dedicated 0
Memory allocation is not optimized Time
to workload
Partitions with shared memory 25
Time
Active Memory Sharing Examples
15
0
Time
15
#10
Infrequent use
59
Gracias