Some gems aquired by using Virtual I/O server

36 downloads 35 Views 5MB Size Report
Oct 1, 2013 ... With PowerVM and Virtual I/O server since 2004. Architected several virtual infrastructure implementations at many IBM i and AIX customers.
Some gems aquired by using Virtual I/O server

Jesper Bergh Client Technical Specialist - Power

© 2013 IBM Corporation

Who is Jesper Bergh Worked for IBM since 1998 With PowerVM and Virtual I/O server since 2004 Architected several virtual infrastructure implementations at many IBM i and AIX customers. Third year at DATA3 and I’m still going on and on about Virtual I/O server.

[email protected] 070 793 63 72 Mobil: 0707936372 Linkedin http://www.linkedin.com/in/jesperbergh Twitterhttps://twitter.com/POWERMAN_se)

2

© 2013 IBM Corporation

Agenda

 Virtual Media Library – GUI reference – Commandline reference

   

3

System Storage Pools Virtualized Infrastructure Live Partition Mobility How do you get Higher Utilization for your system?

1 October 2013

IBM Confidential

© 2013 IBM Corporation

VSS

Virtual Media Library

© 2013 IBM Corporation

How to access ? As always more than one option!

5

1 October 2013

IBM Confidential

© 2013 IBM Corporation

How to setup ?

6

1 October 2013

IBM Confidential

© 2013 IBM Corporation

How to add media?

7

1 October 2013

IBM Confidential

© 2013 IBM Corporation

How to use Virtual Media

8

1 October 2013

IBM Confidential

© 2013 IBM Corporation

Assigning media to a partition

9

1 October 2013

IBM Confidential

© 2013 IBM Corporation

Assigning media continued

10

1 October 2013

IBM Confidential

© 2013 IBM Corporation

Virtual Media Library – using commandline  Optical media can be assigned to an LPAR directly through VIOS .  The problem with assigning an optical device to an LPAR is that it may be difficult to manage in a multiple-LPAR system and requires explicit DLPAR operations to move it around.  Assigning an optical device to a VIOS partition and re-sharing it is much easier as DLPAR operations are not required to move the device from one partition to another.  Virtual media is a file backed CD/DVD image that can be "loaded" into a virtual optical device without disruption to the LPAR configuration. CD/DVD images must be created in a repository before they can be loaded as virtual media.

11

1 October 2013

IBM Confidential

© 2013 IBM Corporation

Virtual Media – command line (continued)    

 

     

12

Create a 15 Gig virtual media repository on the clienthd storage pool mkrep -sp clienthd -size 15G Extend the virtual repository by an additional 5 Gig to a total of 20 Gig chrep -size 5G Find the size of the repository lsrep Create an ISO image in repository using .iso file mkvopt -name fedora10 \ -file /mnt/Fedora-10-ppc-DVD.iso -ro Create a virtual media file directly from a DVD in the physical optical drive mkvopt -name AIX61TL3 -dev cd0 -ro Create a virtual DVD on vhost4 adapter mkvdev -fbo -vadapter vhost4 \ -dev shiva_dvd ››› The LPAR connected to vhost4 is called shiva. shiva_dvd is simply a convenient naming convention. Load the virtual optical media into the virtual DVD for LPAR shiva loadopt -vtd shiva_dvd -disk fedora10iso Unload the previously loaded virtual DVD (-release is a "force" option if the client OS has a SCSI reserve on the device.) unloadopt -vtd shiva_dvd -release List virtual media in repository with usage information lsrep Show the file backing the virtual media currently in murugan_dvd lsdev -dev murugan_dvd -attr aix_tdev Remove (delete) a virtual DVD image called AIX61TL3 rmvopt -name AIX61TL3

1 October 2013

IBM Confidential

© 2013 IBM Corporation

VSS

Storage Pools

© 2013 IBM Corporation

What is SSP – Shared Storage Pools

 A way to make storage allocation faster  A way to make it easy to quickly deploy a test server without involving a lot of people  A way to make it easy for new workload on Power

14

1 October 2013

IBM Confidential

© 2013 IBM Corporation

VIOS Shared Storage Pools Server

Server

Server

Server

Server VIOS

LPAR

LPAR

VIOS

VIOS

LPAR

LPAR

VIOS

VIOS

LPAR

LPAR

VIOS

VIOS

LPAR

LPAR

VIOS

VIOS

LPAR

LPAR

VIOS

Storage Pool

 Scaling to 16 nodes in a cluster  Storage Utilization Statistics and Reporting  Cluster Level RAS Improvements

© 2013 IBM Corporation

Storage Optimization Benefit Without Storage Pools

VIOS

With Storage Pools

VIOS

VIOS

vSCSI devices (SCSI LUNS) disk | optical FC/NPIV | SCSI | iSCSI | SAS | SATA

VSS Distributed Storage

Physical Storage

Traditional physical or Virtual SCSI Storage

© 2013 IBM Corporation

VSS

Virtual Infrastructure

© 2013 IBM Corporation

Why do you want to have Virtual Infrastructure?

 Increase redundancy with less hardware  Smart design will give you more time and increase your efficiency  Smarter and easier verifications/tests  Your company will save money – – – – –

18

Less cables Less SAN ports Less ethernet ports Less management software Less service windows that affects production(LPM)

1 October 2013

IBM Confidential

© 2013 IBM Corporation

VSS

Live Partition Mobility

© 2013 IBM Corporation

Live Partition Mobility – types Active Partition Mobility Active Partition Mobility is the actual movement of a running partition from one physical machine to another without disrupting the operation of the operating system and applications running in that partition. There are many uses: – Workload consolidation (move from many systems to one system) – Workload balancing (move a partition to a system that has a lighter workload) – Planned CEC outages for maintenance/upgrades – Impending CEC outages (as an option to keep a partition running if hardware warnings are received)

Inactive Partition Mobility Inactive Partition Mobility transfers a partition that is “powered off” (not running) from one system to another.

Suspended Partition Mobility A partition can be suspended and later resumed. Suspended Partition Mobility transfers a partition that is suspended from one system to another. It may then be resumed on the target system at a later time.

© 2013 IBM Corporation

Live Partition Mobility

A I X

A I X Hypervisor

16 Concurrent LPM

L I N U X

L I N U X

A I X Hypervisor

A I L A I B i I XM n X i u 7 x 6

I B M i

A I X

Hypervisor

A A I I I B X X M i 6 6

A A A A I I I I I B X X X X M i 7 7 6 6

L i n u x

A A A I I I X X X 6 7 7

I B M i Hypervisor

2.5X Improvement For LPM of Inactive LPARs

Hypervisor © 2013 IBM Corporation

Live Partition Mobility

• Requirements • Software • IBM i 7.1 TR4 PTF group – SF99707 level 4, or later • PowerVM Enterprise Edition on both source and target system • VIOS 2.2.1.4, or later, on both source and target system

• Hardware • POWER7 system for both source and destination systems with both: 1) Firmware release 740.40 or 730.51, or later 2) IBM Hardware Management Console V7R7.5.0M0, or later • All I/O must be virtualized using VIOS -- must be Virtual SCSI (VSCSI) or Virtual Fibre Channel (NPIV) and Virtual Ethernet • Configuration must use only external storage, and it must be accessible to both source and destination systems • Both source and destination systems must be on the same Ethernet network (VLAN)

© 2013 IBM Corporation

Live Partition Mobility – How does it work? Validation – – – – –

Checks if it’s even possible to a LPM to target system Is current VLAN available? Is SAN disks accessible using shadow wwns? Is there enough physical memory available? Is there enough processing power (Entitlement)?

Migration phase – – – – – – –

Creates profile on receiving system Creates virtual infrastructure within receiving system Starts moving memory pages to receiving system When a certain amount of memory has been moved we start the move Short interrupt (in AIX 1-3 seconds) in ip communication when ip moves to receiving system Disk moves to receiving system using shadow wwn’s Memory continues to be paged in remotely

Clean up – Removes profile on source system – Removes virtual I/O resources on source VIO servers

© 2013 IBM Corporation

VSS

How do you get Higher Utilization for your system?

© 2013 IBM Corporation

How do you get Higher Utilization for your system?

 Start talking with your collegues  Especially with your Linux collegues  Talk about your uptime and tell them that you got some spare capacity  Assist them with the Virtual infrastructure  Give them a virtual dvd with Redhat assigned to a partition and show them how to get a remote console  Let them install and deploy their normal Redhat applications 25

1 October 2013

 Reliability of Power with PowerVM  Performance of Power  Give it a while and they will start to request more resources  You will become a hero!

IBM Confidential

© 2013 IBM Corporation

© 2013 IBM Corporation