448Using Storage Expert

Running Storage Expert

#vxse_dg1 -g mydg run

VxVM vxse:vxse_dg1 INFO V-5-1-5511 vxse_vxdg1 - RESULTS

----------------------------------------------------------

vxse_dg1 PASS:

Disk group (mydg) okay amount of disks in this disk group (4)

This indicates that the specified disk group (mydg) met the conditions specified in the rule.

See “Rule result types” on page 448.

You can set Storage Expert to run as a cron job to notify administrators, and to archive reports automatically.

Rule result types

Running a rule generates output that shows the status of the objects that have been examined against the rule:

INFO

Information about the specified object; for example “RAID-5

 

does not have a log.”

PASS

The object met the conditions of the rule.

VIOLATION

The object did not meet the conditions of the rule.

Setting rule attributes

You can set attributes in the following ways:

Enter an attribute on the command line, for example:

#vxse_drl2 -g mydg run large_mirror_size=30m

Create your own defaults file, and specify that file on the command line:

#vxse_drl2 -d mydefaultsfile run

Lines in this file contain attribute values definitions for a rule in this format:

rule_name,attribute=value

For example, the following entry defines a value of 20 gigabytes for the attribute large_mirror_size of the rule vxse_drl2:

vxse_drl2,large_mirror_size=20g

You can specify values that are to be ignored by inserting a # character at the start of the line, for example:

#vxse_drl2,large_mirror_size=20g

Edit the attribute values that are defined in the /etc/default/vxse file. If you do this, make a backup copy of the file in case you need to regress your changes.

Attributes are applied using the following order of precedence from highest to lowest: