6.5 HP StoreAll OS CLI Reference Guide
Table Of Contents
- HP StoreAll OS CLI Reference Guide
- Contents
- 1 General CLI information
- 2 StoreAll commands
- ibrix_activedirectory
- ibrix_archiving
- ibrix_audit_reports
- ibrix_auth
- ibrix_av
- ibrix_avconfig
- ibrix_avquarantine
- ibrix_avscan
- ibrix_caseinsensitive
- ibrix_certificate
- ibrix_chassis
- ibrix_cifs
- ibrix_cifsconfig
- ibrix_cifsmonitor
- ibrix_cifsperms
- ibrix_client
- ibrix_cluster
- ibrix_clusterconfig
- ibrix_collect
- ibrix_crr
- ibrix_crreq
- ibrix_crr_export
- ibrix_crrhealth
- ibrix_crr_nic
- ibrix_datavalidation
- ibrix_dbck
- ibrix_df
- ibrix_edquota
- ibrix_evacuate
- ibrix_event
- ibrix_exportfs
- ibrix_fm
- ibrix_fm_tune
- ibrix_fs
- Description
- Synopsis
- Create a file system
- View information about file systems
- Extend a file system
- Audit log expiration policy
- Archiving/auditing synchronizer (Retention Expiration and Autocommit)
- Delete a file system
- Migrate segment ownership
- Enable or disable quotas
- Enable, disable, or display Express Query and auditing settings
- Mark a bad segment
- Enable or disable Export Control
- Assign or delete a standby server for the specified segments
- Options
- See also
- ibrix_fs_ops
- ibrix_fs_tune
- ibrix_fsck
- ibrix_ftpconfig
- ibrix_ftpshare
- ibrix_haconfig
- ibrix_hba
- ibrix_health
- ibrix_healthconfig
- ibrix_host_tune
- ibrix_hostgroup
- ibrix_hostpower
- ibrix_httpconfig
- ibrix_httpshare
- ibrix_httpvhost
- ibrix_idmapping
- ibrix_ldapconfig
- ibrix_ldapidmapping
- ibrix_license
- ibrix_localgroups
- ibrix_localusers
- ibrix_lookup
- ibrix_lv
- ibrix_lwhost
- ibrix_lwmount
- ibrix_lwumount
- ibrix_migrator
- ibrix_mount
- ibrix_mountpoint
- ibrix_ndmpconfig
- ibrix_ndmpsession
- ibrix_nic
- ibrix_objectstore
- ibrix_objectstoreadmin
- ibrix_objectstoremonitor
- ibrix_onlinequotacheck
- ibrix_phonehome
- ibrix_powersrc
- ibrix_profile
- ibrix_pv
- ibrix_rebalance
- ibrix_reports
- ibrix_reten_adm
- ibrix_server
- ibrix_snap
- ibrix_snapreclamation
- ibrix_snmpagent
- ibrix_snmpgroup
- ibrix_snmptrap
- ibrix_snmpuser
- ibrix_snmpview
- ibrix_stats
- ibrix_tape
- ibrix_task
- ibrix_tier
- ibrix_top
- ibrix_umount
- ibrix_usernamemapping
- ibrix_version
- ibrix_vg
- ibrix_vs
- ibrix_vs_snap
- ibrix_vs_snap_strategy
- MDexport
- MDimport
- upgrade60.sh
- verify_client_update
- 3 Support and other resources
- 4 Documentation feedback
- Glossary
- Index
ibrix_audit_reports
Generates audit reports.
Description
The ibrix_audit_reports command generates reports for events stored in an Express Query
database’s audit log tables for a given file system. You can select the types of events you want to
include in the report, and you can specify a start and end date for the report.
NOTE: Although you can start several audit report tasks at the same time, the tasks are queued.
Only one task can be in the RUNNING state at a time.
Synopsis
Generate an audit report:
ibrix_audit_reports -t SORT_ORDER -f FILESYSTEM [-p PATH] [-b BEGIN_DATE]
[-e END_DATE] [-o class1[,class2,...]]
Generates an audit report in CSV (comma-separated) format with a header row. Audit reports are
placed in the following file:
<file_system_mountpoint>/.archiving/reports/<TASK_ID>, where TASK_ID is
displayed when you generate the audit report.
The -t option specifies the sort order of the report, where SORT_ORDER is one of the following:
• time — lists all events ordered by timestamp
• path — lists all file events ordered by pathname
• unordered — lists events in no particular order
The -o option specifies the classes of events to be included in the report. (See “Audit events,” later
in this section, for the supported events.) Enter all to include all events.
The following example provides a chronological event history of the ibrixfs1 file system. The
event list includes all events from 01/17/2011 (because no time is supplied, the report starts at
00:00:00) to 01/17/2011 at 10:30.
ibrix_audit_reports -t time -f ibrixfs1 -o all -b "01/17/2011" -e
"01/17/2011 10:30"
The next example provides a chronological event history of the file /logs/secret.txt in the
ibrixfs1 file system. The event list includes only the file_created and report_ended
events.
ibrix_audit_reports -t path -f ibrixfs1 -p /logs/secret.txt -o
file_created,report_ended
Set the expiration policy for audit reports on a file system:
ibrix_audit_reports -s POLICY -f FILESYSTEM
The POLICY is one of the following:
• 45d -- By default, audit reports are kept for 45 days.
• xxD — audit reports are kept for the specified number of days (for example, 90D specifies
that reports should be kept for 90 days)
• xxM — audit reports are kept for the specified number of months
• xxY — audit reports are kept for the specified number of years
14 StoreAll commands