[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]
Commands Reference, Volume 4
refrsrc Command
Purpose
Refreshes the resources within the specified resource class.
Syntax
refrsrc [-h] [-TV] resource_class
Description
The refrsrc command refreshes the resources within the specified
resource class. Use this command to force the Resource Monitoring and Control
(RMC) subsystem to detect new instances of resources in cases where the configuration
could be altered by operating system commands (mkfs, for example).
This command makes a request to the RMC subsystem to refresh the configuration
of the resources within a resource class. The request is actually performed
by the linked resource manager.
Any application that is monitoring resources in the specified resource
class may receive events as the configuration is refreshed.
Flags
- -h
- Writes the command's usage statement to standard output.
- -T
- Writes the command's trace messages to standard error. For your software-service
organization's use only.
- -V
- Writes the command's verbose messages to standard output.
Parameters
- resource_class
- Specifies the resource class name.
Security
The user needs read permission for the Resource_class specified
in refrsrc to run refrsrc. Permissions are specified in
the access control list (ACL) file on the contacted system. See the RSCT Guide and Reference for information about the ACL file and
how to modify it.
Exit Status
- 0
- Command has run successfully.
- 1
- Error occurred with RMC.
- 2
- Error occurred with CLI script.
- 3
- Incorrect flag on command line.
- 4
- Incorrect parameter on command line.
- 5
- Error occurred with RMC that was based on faulty command line input.
Environment Variables
- CT_CONTACT
- When the CT_CONTACT environment variable is set to a host name or IP
address, the command contacts the Resource Monitoring and Control (RMC) daemon
on the specified host. If the environment variable is not set, the command
contacts the RMC daemon on the local system where the command is being run.
The resource class or resources that are displayed or modified by the command
are located on the system to which the connection is established.
- CT_MANAGEMENT_SCOPE
- Determines the management scope that is used for the session with the
RMC daemon to monitor and control the resources and resource classes. The
management scope determines the set of possible target nodes where the resources
and resource classes can be monitored and controlled. The valid values are:
- 0
- Specifies local scope.
- 1
- Specifies local scope.
- 2
- Specifies peer domain scope.
- 3
- Specifies management domain scope.
If this environment variable is not set,
local scope is used.
Standard Output
When the -h flag is specified, this command's usage statement is written to standard
output.
The command output and all verbose messages are written to standard output.
Standard Error
All trace messages are written to standard error.
Examples
- To refresh the configuration of the resources in class IBM.FileSystem,
enter:
refrsrc IBM.FileSystem
Location
- /usr/sbin/rsct/bin/refrsrc
- Contains the refrsrc command
Related Information
Commands: lsrsrc, lsrsrcdef
Files: rmccli
Books: see the RSCT Guide and Reference for information about RMC operations
[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]