Use this command to display information for one or more machines. You can use this information to recover TSM client machines in case of a disaster.
Note: | TSM does not use the information in any way. It is available only to help you plan for the disaster recovery of client machines. |
Privilege Class
Any administrator can issue this command.
Syntax
.-*-------------. >>-Query MACHine----+---------------+---------------------------> '-machine_name--' >-----+------------------------+---+------------------+---------> '-BUilding--=--building--' '-FLoor--=--floor--' >-----+----------------+---+------------------------+-----------> '-ROom--=--room--' '-PRIority--=--priority--' >-----+-------------------------+-------------------------------> '-ADSMServer--=--+-Yes-+--' '-No--' .-Format--=--Standard-----------------. >-----+-------------------------------------+------------------>< '-Format--=--+-Standard-------------+-' +-Detailed-------------+ +-RECOVERYInstructions-+ '-CHaracteristics------'
Parameters
Examples
Task 1
Display information for a machine named MACH1.
+--------------------------------------------------------------------------------+ |Machine Machine Building Floor Room Node Name Recovery | |Name Priority Media Name | |------- -------- -------- ----- ----- --------- ---------- | |MACH1 1 21 2 2929 VIRGINIA RECMED1 | +--------------------------------------------------------------------------------+
Task 2
Display detailed information for all priority 1 machines on the second floor of building 21.
query machine * building=21 floor=2 priority=1 format=detailed
+--------------------------------------------------------------------------------+ | Machine Name: MACH1 | | Machine Priority: 1 | | Building: 21 | | Floor: 2 | | Room: 2929 | | Server?: Yes | | Description: TSM server machine | | Node Name: VIRGINIA | | Recovery Media Name: RECMED1 | | Characteristics?: Yes | | Recovery Instructions?: Yes | +--------------------------------------------------------------------------------+
where:
Related Commands
Table 180. Commands Related to QUERY MACHINE
Command | Description |
---|---|
DEFINE MACHINE | Defines a machine for DRM. |
DEFINE MACHNODEASSOCIATION | Associates a TSM node with a machine. |
DEFINE RECMEDMACHASSOCIATION | Associates recovery media with a machine. |
DELETE MACHINE | Deletes an existing machine. |
INSERT MACHINE | Inserts machine characteristics or recovery instructions into the TSM database. |
UPDATE MACHINE | Changes the information of an existing machine. |