How to Monitor Tunesys Progress on a 3PAR

 Tunesys runs through 3 separate stages in order to rebalance the system these are:

Phase 1 – Analyzes and rebalances virtual volume capacity imbalance between nodes (inter-node tuning).
Phase 2 – Analyzes and rebalances space usage between disks associated with each node (intra-node tuning).
Phase 3 – LD re-layout tunes. LDs where the current characteristics differ from the associated


To see how things are progressing leverage the showtask command and the GUI. A standard showtask –active will list all active tasks and give you an overall view of the tunesys progress. If you make a note of the task ID when you launch tunesys you can add that to the showtask command with the –d switch to get a detailed output of the task progress.
here is an example

3PAR01 cli% showtask -active
Id Type               Name                 Status Phase     Step -------StartTime------- -FinishTime- -Priority- -User-
14376 system_tuning      tunesys              active   2/3      3/4 2015-05-14 18:13:21 BST -            n/a        ab
14377 background_command tunenodech           active   2/2 61/12562 2015-05-14 18:14:56 BST -            n/a        ab
14407 background_command tunenodech           active   2/2  0/12254 2015-05-14 19:14:56 BST -            n/a        ab
14409 background_command tuneld               active   1/1      0/1 2015-05-14 19:14:59 BST -            n/a        ab
14411 move_regions       tuneld: tp-8-sd-0.17 active   1/1    4/168 2015-05-14 19:15:02 BST -            n/a        ab
14412 background_command tuneld               active   1/1      0/1 2015-05-14 19:15:15 BST -            n/a        ab
14413 move_regions       tuneld: tp-8-sa-0.1  active   1/1    2/125 2015-05-14 19:15:18 BST -            n/a        ab



3PAR01 cli% showtask -d 14376
Id Type          Name    Status Phase Step -------StartTime------- -FinishTime- -Priority- -User-
14376 system_tuning tunesys active   2/3  3/4 2015-05-14 18:13:21 BST -            n/a        ab
Detailed status:
2015-05-14 18:13:21 BST Created     task.
2015-05-14 18:13:21 BST Updated     2015-05-14 18:13:21.24 BST {383} Executing "tunesys" as 1:383
2015-05-14 18:13:23 BST Updated     *
2015-05-14 18:13:23 BST Updated     *********************************************************
2015-05-14 18:13:23 BST Updated     ** Storage system tuning started
2015-05-14 18:13:23 BST Updated     *********************************************************



The 2/3 show what stage it is on and the 3/4 shows what task in the stage it is running. 

When the tunesys is finished it does not show any indication that it is completed the task just shows as not longer running.

Labels: , , ,