15.1.11 Settings for preventing scheduler services for which the user does not have access permission from appearing in JP1/AJS3 - View
You can prevent scheduler services for which the user does not have access permission from appearing in JP1/AJS3 - View (scheduler service reference restriction function).
The access permission for a scheduler service indicates the access permission of a JP1 user for the JP1 resource group of the root job group of the scheduler service. If the scheduler service reference restriction function is enabled, scheduler services do not appear if a JP1 user without access permission for the JP1 resource group of the root job group starts JP1/AJS3 - View.
The scheduler service reference restriction function is disabled by default. To use the function, enable the HIDEOTHERSERVICE environment setting parameter.
The following is the procedure for using the scheduler service reference restriction function.
- Organization of this subsection
(1) Definition procedure
-
Stop the JP1/AJS3 service.
Execute the following commands to confirm that all processes have stopped:
# /etc/opt/jp1ajs2/jajs_stop # /opt/jp1ajs2/bin/jajs_spmd_status
-
Execute the following command to set the environment setting parameter described in (2) below:
jajs_config -k "definition-key" "parameter-name"=value
-
Restart JP1/AJS3.
The new settings are applied to the configuration definition.
(2) Environment setting parameter
Definition key |
Environment setting parameter |
Explanation |
---|---|---|
[{JP1_DEFAULT|logical-host}\JP1AJSMANAGER]# |
"HIDEOTHERSERVICE"= |
Sets whether the scheduler service reference restriction function is to be used. |
- #:
-
The specification of the {JP1_DEFAULT|logical-host} part depends on whether the host is a physical host or a logical host. For a physical host, specify JP1_DEFAULT. For a logical host, specify the logical host name.
For details about the definition of this environment setting parameter, see 20.4.2(25) HIDEOTHERSERVICE.
(3) Notes
-
If you enable the scheduler service reference restriction function, define the JP1 resource groups of all the root job groups. If there is a root job group whose JP1 resource group is not defined, its scheduler service will not be displayed in JP1/AJS3 - View even if a JP1 user has access permission for all JP1 resource groups.
-
If you enable the scheduler service reference restriction function, specify a separate directory for each scheduler service as the backup information directory for that scheduler service. If a backup information directory is shared by multiple scheduler services, any user with access permission for any of the scheduler service can access all of the backup information stored in the common backup information directory.
Use the -b option of the jajs_setup command to specify a backup information directory for scheduler services.