Preparing the Windows LSF server host to run remote applications
Configure the win_app_runner application and Windows Desktop Connection for the Windows LSF server host to run remote applications.
Before you begin
- 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
.\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.
- 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:
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.
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
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 Task Scheduler Library, click Import Task
..., and select the win_app_runner.xml file to import.
- Select Task Scheduler Library, click Import Task ..., and select the win_app_runner.xml file to import. , select
Configure the Remote Desktop Connection.
- Select Properties. , right-click and select
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
- Select Local Users and Groups, select Groups, Remote Desktop Users, right-click, and select Properties. , select
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.
Configuring the Windows application as a resource in LSF