LOCK PROFILE (Lock a profile)
Use this command on a configuration manager to temporarily lock a profile so that configuration information is not distributed to subscribing managed servers.
You can use this command when you are making multiple updates to your configuration and do not want to distribute this information until the changes are completed.
Privilege class
To issue this command, you must have system privilege.
Parameters
- profile_name (Required)
- Specifies the profile to lock. You can use wildcard characters to indicate multiple names.
- minutes
- Specifies the time, in minutes, before IBM Spectrum Protect™ unlocks the configuration profile. Specify an integer from 0 to 10000. The default is 60 minutes. If you specify 0, the configuration profile will not unlock automatically. Use the UNLOCK PROFILE command to unlock the profile before the time period elapses, or to unlock it if you have specified a value of 0. This parameter is optional.
Example: Lock a profile for a specific amount of time
Lock a profile named DELTA for 30 minutes.lock profile delta 30
Related commands
| Command | Description |
|---|---|
| COPY PROFILE | Creates a copy of a profile. |
| DEFINE PROFASSOCIATION | Associates objects with a profile. |
| DEFINE PROFILE | Defines a profile for distributing information to managed servers. |
| DELETE PROFASSOCIATION | Deletes the association of an object with a profile. |
| DELETE PROFILE | Deletes a profile from a configuration manager. |
| QUERY PROFILE | Displays information about configuration profiles. |
| SET CONFIGMANAGER | Specifies whether a server is a configuration manager. |
| UNLOCK PROFILE | Enables a locked profile to be distributed to managed servers. |
| UPDATE PROFILE | Changes the description of a profile. |
