Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

th_manage(1m) [opensolaris man page]

th_manage(1M)						  System Administration Commands					     th_manage(1M)

NAME
th_manage - manage the fault injection test harness SYNOPSIS
th_manage name instance command th_manage path command DESCRIPTION
th_manage applies the action specified by command to the instance specified by instance of the driver specified by name (or the driver instance specified by path). The driver instance must be running fault injection specifications (errdefs) defined by th_define(1M). th_manage supports several commands that operate on the driver instance specified by name and instance (or path). The commands are: broadcast Awaken all th_define processes, causing them to display their current status and exit if the errdef is now defunct (that is, if count, failcount , and acc_chk are all zero). clear_acc_chk Awaken all th_define processes. If count and failcount are already zero, then set acc_chk to zero, so that th_define exits once it has displayed its status. clear_errdefs Awaken all th_define processes. count, failcount and acc_chk are all set to zero so that all th_define commands exit once they have displayed their status. clear_errors Awaken all th_define processes. If count is already zero, set failcount and acc_chk to zero, so that th_define exits once it has displayed its status. get_handles List all the access handles. start Begin or resume execution of all errdefs. stop Suspend all errdefs for this name and instance (or path). EXAMPLES
Example 1 Useful Commands To begin the tests, enter: # th_manage foo 0 start To check the status of the errdefs, enter: # th_manage foo 0 broadcast This causes each th_define process to print out its current status. If the driver has reported a fatal error, you can take the driver offline using libdevice, clear the error condition by entering: # th_manage foo 0 clear_acc_chk or # th_manage foo 0 clear_errors and bring the driver online again using libdevice. To terminate testing, enter: # th_manage foo 0 clear_errdefs SEE ALSO
th_define(1M) SunOS 5.11 4 Jan 2001 th_manage(1M)

Check Out this Related Man Page

scsimgr_fcd(7)						 Miscellaneous Information Manual					    scsimgr_fcd(7)

NAME
scsimgr_fcd - Fibre Channel interface driver fcd plug-in for scsimgr DESCRIPTION
The Fibre Channel interface driver plug-in for implements management operations specific to fibre channel HBA controllers bound to driver is the native HP-UX Fibre Channel interface driver that manages fibre channel devices. The plug-in handles the following operations for driver o Get, set and save per driver instance attributes. Commands The user can explicitly send the following commands to the driver plug-in by specifying the instance#> HBA controller hardware path> instance#> option: Displays information on attributes. Saves value of attributes in a persistent store. Sets values of attributes. Refer to scsimgr(1M) for the syntax of these commands. automatically invokes the plug-in to perform the driver specific part of the operation when the operation applies to per driver instances. Attributes The following table lists driver specific attributes. For details on the concept of attributes refer to scsimgr(1M). Note: The following conventions are used: o RO is Read Only. o RW is Read Write. o string is an array of characters. --------------------------------------------------------------------- Object Attribute Name RO/RW Type Description --------------------------------------------------------------------- Controller sym_port_name RW string Symbolic Port Name for fibre channel HBA con- troller Default: <host- name>_fcd<instance#> --------------------------------------------------------------------- sym_node_name RW string Symbolic Node Name for fibre channel HBA con- troller Default: <hostname>_HP- UX_<os release version> --------------------------------------------------------------------- EXAMPLES
Display all attributes for HBA controller with DSF /dev/fcd1: Get HBA controller symbolic port name for DSF /dev/fcd1: Get HBA controller symbolic node name for hardware path 0/2/1/0: Set HBA controller symbolic port name for DSF /dev/fcd1 to fcd1_port: Set HBA controller symbolic node name for class fc and instance 8 to fcd1_node: Save HBA controller symbolic port name for DSF /dev/fcd1 as fcd1_port: Save HBA controller symbolic node name for hardware path 0/2/1/0 as fcd1_node: AUTHOR
Fibre Channel interface driver plug-in for was developed by HP. SEE ALSO
scsimgr(1M), intro(7). scsimgr_fcd(7)
Man Page