Configure the
win_app_runner application and Windows Desktop Connection for the Windows
LSF server host to run remote applications.
Before you begin
Prerequisites:
- Ensure the Windows host from which you want to launch applications from is part of the LSF cluster and an LSF server host. Install a mixed Windows and Linux cluster to achieve this.
- Ensure the application you want to launch from within IBM Spectrum LSF Application Center is installed on the LSF server host.
- Get the VNC Server package to install on your Windows LSF host. Supported VNC Server: RealVNC.
- User accounts:
- Ensure all user accounts for users who are going to be using IBM Spectrum LSF Application Center are local user accounts, not domain accounts. For example, this user account works for remote
applications:
.\user1
, but this user account does not:
.\domainA\user1. This is because IBM Spectrum LSF Application Center does not currently support Windows domain accounts.
- Ensure all user passwords are no longer than 13 characters. This is required for everything to
work properly.
Procedure
-
Log on to the IBM Spectrum LSF Application Center server host as root, and copy the following file to a shared location accessible by the Windows
LSF server host: $GUI_CONFDIR/conf/application/win_app_runner.xml.
For example:
cp $GUI_CONFDIR/conf/application/win_app_runner.xml /share
-
Log on to your Windows LSF server host and copy the file
win_app_runner.xml to your Windows host.
-
Edit the file win_app_runner.xml and check that the LSF version is
correct.
For example, if your LSF version is 10.1:
<Actions Context="Author">
<Exec>
<Command>C:\LSF_10.1\tmp\script\win_app_runner.bat</Command>
</Exec>
</Actions>
Note: The winapp_runner.bat file does not exist. IBM Spectrum LSF Application Center will automatically copy it to the specified directory when running the application.
-
Add the win_app_runner task to Windows Task Scheduler.
-
Select , select Task Scheduler Library, click Import Task
..., and select the win_app_runner.xml file to import.
-
Configure the Remote Desktop Connection.
-
Select , right-click and select Properties.
-
Select Remote Settings.
The System Properties dialog is displayed.
-
Under Remote Desktop, select Allow connections from computers
running any version of Remote Desktop (less secure).
-
Add the Windows users who will run the remote application into the user group Remote
Desktop Users.
-
Select , select Local Users and Groups, select
Groups, Remote Desktop Users, right-click, and select
Properties.
-
Click Add and add all users who will run the remote application from
IBM Spectrum LSF Application Center into the group.
Note: All users must be local user accounts(for example: .\Administrator) and the user password
cannot exceed more than 13 characters.
-
Configure the VNC Server.
-
Select to display the Services Control Panel.
-
Select VNC Server and set it to Startup Type:
Disabled. This is because the VNC Server will be automatically started when the remote
application runs in user mode.
-
Start the VNC Server in user mode.
-
Set the VNC Server Options to Authentication: Windows
password, and Encryption: always on.
-
Shut down the VNC Server.
-
Log off the Administrator user to release the Windows Remote Desktop session.