Tools - Advanced Options
where -u is a permanent parameter and $user_name$ is a variable parameter. Variable parameters are defined using the $ character which prompts the user to enter the required value during the execution of the application. The image below shows a parameter prompt example for the Remote Desktop application.
You can provide a tokenized parameter to skip the parameter prompt during the execution of an application or workflow. Tokens are automatically replaced by the SnapProtect software with the correct value.
The following table lists the tokens you can use:
|%CLIENT_INSTALL_DIR%||Retrieves the installation directory of the SnapProtect software.|
|%CLIENT_NET_HOSTNAME%||Retrieves the hostname of the CommServe, MediaAgent or client computer you are trying to access. For example, you can use this token when configuring the Remote Desktop connection option.|
|%CLIENT_NAME%||Retrieves the name of the MediaAgent or client computer you are trying to access. For example, you can use this token when configuring an application option to display all agents installed on a client (using the qlist dataagent command)|
Some application tools require user accounts with sufficient permissions to access mapped/shared network drives or directories in the client computer they are running. This configuration is necessary for applications whose executables are located in restricted drives or directories.
Use the following steps when configuring a tool that requires a user with sufficient privileges:
- On the CommCell Console ribbon, click the Home tab, and then click Control Panel.
- Under the Others section, click Quick Access Tools.
- In the Quick Access Tools dialog box, click Add.
- In the Create Tool dialog box, provide the application tool details such as name, parameter, associations and the computer where it is run.
- To specify the credentials of the user with sufficient privileges to execute the application, click User Name/Password and do the following in the Change User Account dialog box:
- Select the Use This Account check box.
- In the User Name box, type the name of the user account with the required permissions.
- In the Password and Confirm Password boxes, type the password.
- Click OK.
- Select the Show Output on CommCell Console check box.
- Click OK.
By default, tools are only visible to the user that created them. You can configure a tool to be available for all users in the CommCell or for selected group of users.
- Right-click the client associated with the tool and click Tools > Customize Tools.
- In the Quick Access Tools dialog box, click the tool that you want to configure and then click Edit.
- In the Edit Tool dialog box, click the Security tab.
- Select Public.
By default all user groups are associated with the application tool. If you do not want all groups to be selected, select the user groups you want to remove and click the left arrow <.
- Click OK.
Use the following steps to allow execution of tools on specific computers by restricting others:
- From the CommCell Browser, right-click the <CommServe> node and then click Properties.
- Click the Additional Settings tab.
- Click Add.
- In the Name box, type allowToolsToExecuteOnServerOrClient. The Category and Type details will be automatically populated.
Alternatively, you can click Lookup and search for the additional setting using the Find box.
- In the Value box, type the number that represents the computer where the tool should run:
- 1 = CommCell Console computer.
- 2 = CommServe computer.
- 3 = CommCell Console and CommServe computer.
- 4 = client computer.
- 5 = CommCell Console and client computer.
- 6 = CommServe and client computer.
- 7 = CommCell Console, CommServe, and client computer.
- Click OK to save the additional setting configuration.
- Click OK.