You are on page 1of 29

October 24, 2016

2016 IBM
1

London Technical University 2016


p012559 PowerVC 1.3.2 News Features & Demo
Nigel Griffiths
AIX, POWER8 and nmon guru
IBM Europe

Copyright IBM Corporation 2016. Technical University/Symposia materials may not be reproduced in whole or in part without the prior written permission of IBM.

PowerVC 1.3.2
New Features
and Demo

Nigel Griffiths
POWER Advanced Technology Support

IBM Europe

Copyright IBM Corporation 2011

2016
2016
IBMIBM
Corporation
Corporation

October 24, 2016

YouTube Videos
1.
2.
3.
4.
5.
6.
7.
8.
9.

2016 IBM
3

Easy management of Power based on Openstack PowerVC 5 mins 4500


PowerVC Initial Thoughts
12 mins 2787
PowerVC Part 2 - Look Around the GUI
9 mins 1238
PowerVC Part 3 - Config V7000,SAN,Network & Servers 7 mins 1361
PowerVC Part 4 - Virtual Machine Capture
7 mins 1096
PowerVC Part 5 - Deploy to a new Virtual Machine 7 mins 1180
PowerVC 1.2.1 with Shared Storage Pools
20 mins 1260
PowerVC 1.2.1.2 Export Import Image
18 mins 454
Power VUG session 35 PowerVC cool
75 mins 1190+live

15,000+ Views

Lots of interest but now OLD

YouTube search: PowerVC Nigel Griffiths

YouTube Videos

2016 IBM
4

1. PowerVM VUG Session:52


Title: PowerVC 1.3.0 from scratch

January 2016
90 mins
960 viewed this +150 live

Lots of background & what I


covered in TechUnis in 2015

2. 2016 PowerVC 1.3.1 Update Series Minutes - Views


1.

PowerVC 131 Standard Edition part 1

20 - 695

2.

PowerVC 131 Standard Edition part 2 - Projects & Roles 16 - 331

3.

PowerVC 131 Cloud Edition part 3 - Cloud Self-Service

23 - 165

4.

PowerVC 131 Cloud Edition part 4 - Cloud Demo

16 - 186

5.

PowerVC131 Cloud Edition part 5 Metering

16 - 148

Total 91 minutes - 1525 views

YouTube search: PowerVC Nigel Griffiths

Copyright IBM Corporation 2011

October 24, 2016

Available June 2016 Covered in my


IBM Cloud PowerVC Manager V1.3.1 includes:
1. AIX VM - Active Memory Expansion
2. Dynamic Resource Optimiser can be scheduled
3. Remove a VM but keep the storage just in case

2016 IBM
5

PowerVC
Standard
Edition

PowerVC
4. IBM Cloud Manager merging in to PowerVC
Cloud
a) In two phases June 2016 and December 2016
Edition
b) Project based resources images, disks, VM
c) Project has user roles: admin & self-service
d) Self-service user has limited actions
Deploy templates from their project(s) only
Policy based with or without admin approval process
VM expirations - admin or auto remove
e) Metering data that can be used for chargeback

PowerVC at London Technical University


Stephen Lutz

2016 IBM
6

3 hours worth!!

PowerVC Admin of Cloud Overview with Live Demo


PowerVC Deep Dive with Live Demo
part 1 & 2
PowerVC Multi-tenancy, Metering and Live Demo

Thierry Huch LAB


Manage Power Systems with IBM Cloud PowerVC Manager

Shamsundar Ashok
PowerVC use with Novalink

part 1 & 2

Upendra Rajan
Cloud PowerVC Manager

Parts 1, 2, 3 & 4

Manoj Kumar, Petra Buehrer


IBM PowerVC Trends & Directions (NDA)

Copyright IBM Corporation 2011

October 24, 2016

October 2016 IBM Announcement

2016 IBM
7

PowerVC V1.3.2 includes support for the following:


New HA Capabilities

Automated VM remote restart

VM remote restart when system is powered off (FSP is down)

enables faster recovery from server failures


expands the coverage of HA events

New Storage Capabilities

Support for Hitachi VSP G-Series storage platforms (G-200, G-400, G-600, G-800 and G-1000)

Improved zoning control (initiator zoning)

allows clients to have fewer zones

Dynamic Resource Optimizer (DRO) Improvements

Balances workload based on memory usage


automatically balanced

allow memory-constrained environments to be

PowerVM NovaLink Management Improvements

SR-IOV via vNIC and vNIC failover configurations

NovaLink partition running Red Hat Enterprise Linux (RHEL 7.2 and 7.3)

PowerVM Shared Storage Pools (SSPs)

VM console launch

Software Defined Networking (SDN) Tech Preview


VXLAN overlays, floating IPs, routers, etc.

uses Open vSwitch (OVS) and Neutron for

Available 12th Dec 2016

2016 IBM
8

PowerVC V1.3.2 Summary for Techies


http://ibm.biz/powervc_132
takes you to
https://www.ibm.com/developerworks/community/wikis/home?lang=en
_us#!/wiki/Wc1c29d23e0fd_4346_b509_f1c00a2099f0/page/PowerVC%
201.3.2%20overview

Copyright IBM Corporation 2011

October 24, 2016

PowerVC 1.3.2 Highlights


1.
2.
3.
4.
5.
6.
7.
8.

Key:
PowerVM & NovaLink
NovaLink Only
Hardware Disk Specific

2016 IBM
9

Automatically Remote Restart of virtual machines (POWER8)


Support for SR-IOV devices
Dynamic Resource Optimise host Memory rebalancing
Launch a VM console
Inject an SSH key on deploy
(non-Cloud Deploy)
Initiator zoning (fewer FC zones)
Add text when working with VM requests (Cloud Mgr Deploy)
Expanded support
a. Consistency groups and snapshots (on specific Storage) (not my V7000)
b. Share Storage Pools on NovaLink
c. Hitachi Data Systems driver supports existing VMs

(not my V7000)

d. NovaLink running on RHEL

9. Technical preview: Software Defined Networking

PowerVC 1.3.2 Demonstration

2016 IBM
10

This is early Beta test code

Subject to Change
Standard PowerVC Edition 1.3.2 &
Cloud PowerVC Manager 1.3.2
Available 16th December = 9 weeks away

Copyright IBM Corporation 2011

October 24, 2016

PowerVC 1.3.2 Demonstration


1.
2.
3.
4.
5.
6.
7.
8.

Key:
PowerVM & NovaLink
NovaLink Only
Hardware Disk Specific

2016 IBM
11

Automatically Remote Restart of virtual machines (POWER8)


Support for SR-IOV devices
Dynamic Resource Optimise host Memory rebalancing
Launch a VM console
Inject an SSH key on deploy
(non-Cloud Deploy)
Initiator zoning (fewer FC zones)
Add text when working with VM requests (Cloud Mgr Deploy)
Expanded support
a. Consistency groups and snapshots (on specific Storage) (not my V7000)
b. Share Storage Pools on NovaLink
c. Hitachi Data Systems driver supports existing VMs

(not my V7000)

d. NovaLink running on RHEL

9. Technical preview: Software Defined Networking


10. Metering Cloud

2016 IBM
12

Automated
Simplifed Remote Restart

Copyright IBM Corporation 2011

October 24, 2016

Simplifed Remote Restart


SRR v1 released in 2015

2016 IBM
13

Static-Partition-Mobility=SPM

1. Machine crash | halt | power-off


2. Manually HMC or PowerVC used to resurrect VMs
3. Move (SPM) VM to a new machine + Reactivate
4. Wrinkle: the dead machine must be a zombie (FSP alive)

SRR v2 with HMC 8.5.0 May 2016


Wrinkle removed: We dont need the FSP
Much better function & by popular demand
Also larger concurrency = 32 SRR at a time

Simplifed Remote Restart

2016 IBM
14

Automated SRR with PowerVC 1.3.2


1.
2.
3.
4.

Machine crash | halt | power-off


PowerVC notices & automatically takes action
Move (SPM) VM to a new machine + Reactivate
In order of their Partition Availability Priority (old feature)

With HMC 860 Q4 2016


Can change SRR flag on a VM without a VM power off

HMC 850: VM Shutdown, use HMC CLI, VM Startup


= a right pain in the neck!

Copyright IBM Corporation 2011

October 24, 2016

Quick example manual HMC CLI to set SRR

2016 IBM
15

VM Overview shows

hmc14:~> lssyscfg -r lpar -m P8-S822-lime -F


simplified_remote_restart_capable,name,remote_restart_status
1,vm61-AIX735,Remote Restartable
0,limevios2,Invalid
0,limevios1,Invalid
1,vm190-AIX72,Remote Restartable
0,vm25-8376eef6-0000001b,Invalid
Assuming the LPAR of powered-off
hmc14:~> chsyscfg -r lpar -m P8-S822-lime -i "name=vm258376eef6-0000001b,simplified_remote_restart_capable=1"
nag@hmc14:~>
Note: the double quotes

Quick example Partition Availability Priority

2016 IBM
16

HMC Classic view


Used to decide on victim LPAR(s)
If HW failures means something has to go!

Copyright IBM Corporation 2011

October 24, 2016

Set Simplifed Remote Restart for next Deploy

2016 IBM
17

Now SRR enabled

2016 IBM
18

If VM Shutoff:
Enabled
State: Invalid

Once started
Enabled
State:restartable

Copyright IBM Corporation 2011

October 24, 2016

Test

2016 IBM
19

Crash the Server


HMC Server Power-Off and
ignore the Warning about VM are running
Yank the power out not recommended

PowerVC will kick in


In order of LPAR priority
Move the VMs to other Servers in the Host group
You can select VM not to be saved (test dev, temp VM)
You can select Host not to be saved (not in production)

Start Demo Here

Copyright IBM Corporation 2011

2016 IBM
20

10

October 24, 2016

Gotchas

2016 IBM
21

Dead S822 lime


20 CPU & 128 GB RAM
Alive S824 emerald
16 CPU & 256 GB RAM
Alive S850 ruby
32 CPU & 512 GB RAM
All SRR failed!!
Not enough CPU!

Lime 20 CPU 14 Available = 6 Used


Discount the VIOS

VMs = 4
VIOS = 2

But I just shutdown


half the VMs !!!

Gotchas

2016 IBM
22

We have a remote HMC script that does this in 15 seconds


# nuke P8-E850-ruby
# nuke P8-S824-emerald

Something to watch
We nuke the machines every week.
If you have a machine down and Automated SRR fails
even with 100s of unused CPU unused it would be #@&^$ frustrating!

Copyright IBM Corporation 2011

11

October 24, 2016

Gotchas

2016 IBM
23

Why?
Shutdown LPARs cling on to the CPUs they last used
This is deliberate
Ensures not unexpected performance effects on restart
In this case = very annoying!!!

Solution:
Make a massive LPAR start to SMS, halt it & remove it
then we have unused CPUs are CPUs available

In Clouds: you LPM or Remove the VM = freed up CPU


Only happens on hand managed VMs and keep shutdown VMs &
keep them hanging about = old school

Gotchas

2016 IBM
24

Also once you set SRR flag on every LPAR


then expect issues when you next start the LPARs
SRR implies the VM must be LPM ready
so no physical adapters and nor virtual optical

I also get warnings when


starting VMs about
configuration data needed by
remote restart data is
not updated
= just start the LPAR a 2nd time

Copyright IBM Corporation 2011

12

October 24, 2016

Remember with HMC860

2016 IBM
25

No need to stop the LPAR


= Dynamic SRR capable flag change
But double check that:
remote_restart_status = Remote Restartable
Notes:
simplified_remote_restart_capable is not just a flag
To rebuild a LPAR, configuration info needs to be
regularly extracted from the VIOS(s) by the HMC
With HMC 840/850 this process was initialised
only when starting a SSR capable LPAR

Beta Code Demo!!!

2016 IBM
26

Power-Off S824 lime

Wait ~ 5 minutes

Copyright IBM Corporation 2011

13

October 24, 2016

Beta Code - Demo . . .

2016 IBM
27

Initially
~ 5 minutes
HMC vm25 moved to ruby
Then vm61 moved to ruby
Then vm25 running

Etc Beta Code = about 15 minutes

2016 IBM
28

All VM(s) on ruby

Lime is off line

Copyright IBM Corporation 2011

14

October 24, 2016

2016 IBM
29

2016 IBM
30

Copyright IBM Corporation 2011

15

October 24, 2016

2016 IBM
31

Inject an SSH key on Deploy


on regular Deploy
(not Cloudy Self-Service Deploy)

2016 IBM
32

IBM Cloud PowerVC Manager 1.3.2 Beta Demonstration Subject to Change

Copyright IBM Corporation 2011

16

October 24, 2016

Alternative way to this Key Pairs panel

2016 IBM
33

2016 IBM
34

IBM Cloud PowerVC Manager 1.3.2 Beta Demonstration Subject to Change

Copyright IBM Corporation 2011

17

October 24, 2016

2016 IBM
35

IBM Cloud PowerVC Manager 1.3.2 Beta Demonstration Subject to Change

2016 IBM
36

IBM Cloud PowerVC Manager 1.3.2 Beta Demonstration Subject to Change

Copyright IBM Corporation 2011

18

October 24, 2016

2016 IBM
37

DRO
Dynamic Resource Optimizer
for Memory if using NovaLink
Moving VMs to balance the RAM across the cluster
. . . but YOU need add RAM to the VM to improve
performance.
So really balancing the free RAM

Dynamic Resource
Optimizer (DRO)
Memory

2016 IBM
38

Host Group
Select one
Edit

Only if NovaLink
Managed
More below here

Copyright IBM Corporation 2011

19

October 24, 2016

2016 IBM
39

DRO for RAM

NovaLink

Moving VMs to balance the RAM across the cluster


. . . but YOU need add RAM to the VM
to improve performance.
So really balancing the free RAM so you can tune
by growing the hot VM RAM size!

2016 IBM
40

Add text when working


with VM Cloudy Deploy
Requests

Copyright IBM Corporation 2011

20

October 24, 2016

As a self_service user
for Cloud project seven

2016 IBM
41

Only one sample Template for POWER7 hosts

Demo if time allows

Copyright IBM Corporation 2011

2016 IBM
42

21

October 24, 2016

2016 IBM
43

New message to
any Project
seven admin

As a admin user
for Cloud project seven

Copyright IBM Corporation 2011

New Request to
seven admin

2016 IBM
44

22

October 24, 2016

As a admin user
for Cloud project seven

2016 IBM
45

Click on the Deploy

As a admin user
for Cloud project seven

2016 IBM
46

Click on the Deploy

Copyright IBM Corporation 2011

23

October 24, 2016

2016 IBM
47

2016 IBM
48

Copyright IBM Corporation 2011

24

October 24, 2016

As a self_service user
for Cloud project seven

2016 IBM
49

Click on the Deploy

As a self_service user
for Cloud project seven

Copyright IBM Corporation 2011

2016 IBM
50

25

October 24, 2016

2016 IBM
51

Metering of VM Use

Starter Pack

2016 IBM
52

Video from PowerVC 1.3.1 still useful


PowerVC131 Cloud Edition part 5 Metering
Minutes 16 long

AIXpert Blog article + download for worked example scripts


https://www.ibm.com/developerworks/community/blogs/aixpert/entry/Pow
erVC_1_3_1_Cloud_Edition_Metering_via_REST_API?lang=en_us

PowerVC 1.3.2
No additional metering stats or
Extraction methods (REST API) or
Graphing tools

Copyright IBM Corporation 2011

26

October 24, 2016

User Metering via REST API

2016 IBM
53

Sort of remotely login to PowerVC as a website


curl -s -k -1 -i -X POST https://localhost:5000/v3/auth/tokens \
-H "Accept: application/json -H "Content-Type: application/json" \
-d @out.auth.json
(file contains user/password/project)
Returns a TOKEN to use for the below GET data requests

Get a meter value, here Entitlement (called total_vcpu)


curl -s -1 -k -H "X-Auth-Token:$TOKEN" \
-X GET "http://localhost:8777/v2/meters/total_vcpu/statistics
Similar for total_memory (RAM MB) and total_volumes (Diskspace GB)

Get the Ceilometer to do some of the work


curl -s -1 -k -H "X-Auth-Token:$TOKEN" \
-X GET "http://localhost:8777/v2/meters/total_vcpu/statistics \
?q.field=timestamp&q.op=gt&q.value=$TIMESTAMP
&period=86400
&aggregate.func=max
&q.field=project_id&q.value=$PROJECTID"

Timestamp

Copyright IBM Corporation 2011

Data

2016 IBM
54

27

October 24, 2016

Want to do want for Billing a project?

2016 IBM
55

Spreadsheet comma separated values (CVS)


Stats for each day
For each project in PowerVC
CPU configured for all VMs in Entitlement
Memory configured for all VMs in MB
Disk volume configured in for all VMs in GB

Factor in the costs of each CPU,RAM MB, Disk GB


and a so calculated total costs

Project,eight
User,powervc
Date,Tue Aug 2 19:46:28 BST 2016
CPU Costs,12.50, per CPU per day (CPU Entitlement)
Memory Costs,0.01, per MB of memory per day
Disk Costs,0.50, per GB of disk space per day
VCPU Costs (actually Entitled Capacity)
Date,vCPU,UnitPrice,Price
. . .
2016-08-01,10.00,12.50,125.00
2016-08-02,20.50,12.50,256.25
2016-08-03,35.00,12.50,437.50
RAM Costs in Megabytes
Date,MB,UnitPrice,Price
. . .
2016-08-01,10000.00,0.01,100.00
2016-08-02,17560.00,0.01,175.60
2016-08-03,22118.00,0.01,221.18

2016 IBM
56

CSV
Spreadsheet
Example

DISK Costs in Gigabytes


Date,GB,UnitPrice,Price
. . .
2016-08-01,750.00,0.50,376.00
2016-08-02,900.50,0.50,450.25
2016-08-03,1121.00,0.50,560.50

Copyright IBM Corporation 2011

28

October 24, 2016

Are you keeping up to date?

2016 IBM
57

mr_nmon on twitter
Only used to POWER / AIX
technical content, hints, tips and links

131 techie hands-on videos on YouTube at


http://www.youtube.com/nigelargriffiths
AIXpert Blog
Lots of mini articles & thoughts
http://tinyurl.com/AIXpert

Also:
http://tinyurl.com/ibmAIXVUG
http://tinyurl.com/ibmPowerVUG

Copyright IBM Corporation 2011

29

You might also like