QUERY MACHINE (Query machine information)
Use this command to display information for one or more machines. You can use this information to recover IBM Spectrum® Protect client machines in case of a disaster.
Attention: IBM Spectrum Protect does
not use the information in any way. It is available only to help you plan
for the disaster recovery of client machines.
IBM Spectrum Protect displays
information for multiple machines in the following order:
- According to the priority specified.
- Within a priority, according to the specified location and machine name.
Privilege class
Any administrator can issue this command.
Syntax
Parameters
- machine_name
- Specifies the name of one or more machines to be queried. You can use wildcard characters to specify this name. This parameter is optional. The default is all machines that meet the specified criteria.
- BUilding
- Specifies the name or number of the building that the machines are in. This parameter is optional. Enclose the text in quotation marks if it contains any blank characters.
- FLoor
- Specifies the name or number of the floor that the machines are on. This parameter is optional. Enclose the text in quotation marks if it contains any blank characters.
- ROom
- Specifies the name or number of the room that the machines are in. This parameter is optional. The text can be up to 16 characters. Enclose the text in quotation marks if it contains any blank characters.
- PRIority
- Specifies the priority number of the machines. This parameter is optional.
- ADSMServer
- Specifies if the machine contains an IBM Spectrum Protect
server. This parameter is optional. The default is to display any machines that meet the other
criteria. Possible values are:
- Yes
- The machine contains an IBM Spectrum Protect server.
- No
- The machines do not contain an IBM Spectrum Protect server.
- Format
- Specifies how the information is displayed. This parameter is optional.
The default value is STANDARD. Possible values are:
- Standard
- Displays partial information for the machines.
- Detailed
- Displays all information for the machines.
- RECOVERYInstructions
- Displays only machine recovery instructions. This option is valid only when querying a specific machine.
- CHaracteristics
- Displays only machine characteristics. This option is valid only when querying a specific machine.
Example: Display information for a specific machine
Display information for a machine named MACH1. See Field descriptions for field descriptions.query machine MACH1Machine Machine Building Floor Room Node Name Recovery
Name Priority Media Name
------- -------- -------- ----- ----- --------- ----------
MACH1 1 21 2 2929 VIRGINIA RECMED1
Example: Display detailed information for priority 1 machines
Display detailed information for all priority 1 machines on the second floor of building 21. See Field descriptions for field descriptions.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
Field descriptions
- Machine Name
- The name of the machine.
- Machine Priority
- The recovery priority of the machine.
- Building
- The building in which the machine is located.
- Floor
- The floor on which the machine is located.
- Room
- The room in which the machine is located.
- Server?
- Whether the machine contains an IBM Spectrum Protect server.
- Description
- A description of the machine.
- Node Name
- The IBM Spectrum Protect client nodes associated with this machine.
- Recovery Media Name
- The recovery media associated with this machine.
- Characteristics?
- Whether the characteristics text of the machine is stored in the database.
- Recovery Instructions?
- Specifies whether recovery instructions text for a machine is stored in the IBM Spectrum Protect database.
Related commands
| Command | Description |
|---|---|
| DEFINE MACHINE | Defines a machine for DRM. |
| DEFINE MACHNODEASSOCIATION | Associates an IBM Spectrum Protect node with a machine. |
| DEFINE RECMEDMACHASSOCIATION | Associates recovery media with a machine. |
| DELETE MACHINE | Deletes a machine. |
| INSERT MACHINE | Inserts machine characteristics or recovery instructions into the IBM Spectrum Protect database. |
| UPDATE MACHINE | Changes the information for a machine. |
