Creating a new template to define Windows application settings
Create a new template to define Windows application.
Before you begin
- Get the following information about the application. You will need this information for configuration.
- Location of the application on the host
- Command to display/open a file
- File extensions associated with this application
Procedure
- In IBM Spectrum LSF Application Center, select the Workload tab, Definitions > Templates.
-
Select New > Template
The Create New Template dialog is displayed.
- In Template Name, enter the name of the template so that you can recognize it later.
- Select This Template: Launches an application.
- Select Based on Template: GEDIT.
- In Application, enter the name of your application to identify it. You will need this name in further configurations.
-
Click Create.
The Modify Template window is displayed.
-
Configure your template in the Modify Template window.
- In General Settings, enter the required fields that have an
asterisk(*) next to them.
- Application Description: Enter a description for the application. This decription is visible to users as a tooltip in the Applications tab in IBM Spectrum LSF Application Center Desktop Client.
- File Types: Specify the file extensions associated with your application. The correct extension types are important as the application will only be displayed as an option to Open with for files that have the specified extensions.
- Running on: Select Windows.
- Display Group: Used to categorize applications in IBM Spectrum LSF Application Center Desktop Client, Applications tab. Applications with the same category will be displayed together under that category name. Select the field and click Edit to add additional categories or change existing categories.
-
In Windows Settings, enter information about your application in all
fields.
- Windows Console: Select to indicate to use a Windows console to display the application. If you are using Windows Remote Desktop Connection instead, ensure you also configure the maximum number of connections per user in $GUI_CONFDIR/host_session.conf .
- Application Command: Specify the command to start your application with additional required parameters.
- Application Command to open an input file: Specify the command to open a file. Ensure you specify @FILE@ in the right place in your command. @FILE@ will be replaced with the actual file name when a file is selected.
- Shared Disk: Specify the UNC path from the Windows host on which the application is installed to access users' home directories. Use @USER@ so that user names are automatically replaced in the path. For example: \\MYSERVER\@USER@.
- Click Save.
- Click Publish to publish your application.
- In General Settings, enter the required fields that have an
asterisk(*) next to them.
-
Allow users to access the new application.
- Select System & Settings > Settings > User Roles & Permissions.
- Select the Role Definition view
- In Permissions for, select Application Templates.
-
Find your application on the list and select the View & Control
permission for that user role and click Apply.
Users with that assigned role now have access to the application from:
- The Data section of submission forms and can select the application from the Open menu to open input files for data processing before a job is submitted.
- The Job details pane, in the Open with application menu.
- The Workload tab, Data page, in the Open with application menu.