23.10.2014 Views

Advanced POWER Virtualization on IBM System p5 - Previous ...

Advanced POWER Virtualization on IBM System p5 - Previous ...

Advanced POWER Virtualization on IBM System p5 - Previous ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.5.7 M<strong>on</strong>itoring with PLM<br />

The Partiti<strong>on</strong> Load Manager (PLM) can be used in either m<strong>on</strong>itoring or managing<br />

mode. In both modes, PLM provides summary informati<strong>on</strong> of the partiti<strong>on</strong>s that it<br />

is managing. The PLM command for m<strong>on</strong>itoring partiti<strong>on</strong> state is xlpstat; an<br />

example of its output is shown in Example 5-46. The syntax of the command is:<br />

xlpstat [ -r ] { -p | -f } filename [ interval ] [ count ]<br />

The comm<strong>on</strong> form is shown in Example 5-46; the -p switch specifies that the list<br />

of managed partiti<strong>on</strong>s will be retrieved from the given policy file; you usually use<br />

the policy file used when starting the PLM server. Alternatively you can provide a<br />

list of managed partiti<strong>on</strong>s in a text file, <strong>on</strong>e partiti<strong>on</strong> per line, and use the -f flag to<br />

specify this file. The xlpstat command will query the status of the listed<br />

partiti<strong>on</strong>s. The output of this command does not distinguish between those<br />

partiti<strong>on</strong>s actively managed by PLM and those that are not.<br />

The -r switch prints the output in raw mode, which is easier to parse by scripting<br />

languages.<br />

Example 5-46 xlpstat command<br />

# xlpstat -p 2_groups<br />

CPU<br />

MEM<br />

------------------------ ------------------<br />

STAT TYP CUR PCT LOAD CUR PCT PGSTL HOST<br />

group2:<br />

up S 0.5 4.00 0.10 512 75.17 0 plmserver<br />

up S 0.50 85.45 0.44 512 99.17 129 vio_client2<br />

group1:<br />

up D 1.00 95.09 0.19 512 99.23 129 app_server<br />

up D 1.00 0.39 0.09 512 74.73 0 db_server<br />

The display shows the state of each managed partiti<strong>on</strong> <strong>on</strong> a separate line; the<br />

partiti<strong>on</strong>s are grouped into PLM groups. In the above example, there are two<br />

groups.<br />

The STAT column indicates whether the partiti<strong>on</strong> is up or down. In the above<br />

example, all partiti<strong>on</strong>s are up.<br />

The TYP column shows whether the partiti<strong>on</strong> uses shared processor (S),<br />

dedicated processors (D), or if xlpstat cannot query the partiti<strong>on</strong> and the state is<br />

unknown (this column is shown as U; this is usually a sign of c<strong>on</strong>necti<strong>on</strong><br />

problems). In Example 5-46, the partiti<strong>on</strong>s in group 2 are shared and those in<br />

group 1 are dedicated.<br />

348 <str<strong>on</strong>g>Advanced</str<strong>on</strong>g> <str<strong>on</strong>g>POWER</str<strong>on</strong>g> <str<strong>on</strong>g>Virtualizati<strong>on</strong></str<strong>on</strong>g> <strong>on</strong> <strong>IBM</strong> <strong>System</strong> <strong>p5</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!