HLServer: Application Config
From Headus Docs
Revision as of 06:32, 15 January 2007 (edit) Headus (Talk | contribs) ← Previous diff |
Revision as of 06:36, 15 January 2007 (edit) (undo) Headus (Talk | contribs) Next diff → |
||
Line 1: | Line 1: | ||
- | {{:HLServer: Menu}} Applications using floating licenses are installed as they normally | + | {{:HLServer: Menu}} Applications using floating licenses are installed as they normally would be on the hosts that you wish to run the applications. Its perfectly OK to use NFS or some similar network file system to share files. |
- | would be on the hosts that you wish to run the applications. Its | + | |
- | perfectly OK to use NFS or some similar network file system to share | + | |
- | files. | + | |
When an application is run, and if no local key is found, the license | When an application is run, and if no local key is found, the license | ||
Line 21: | Line 18: | ||
== Windows NT/2K/XP == | == Windows NT/2K/XP == | ||
+ | [[Image:HLServer-prop.jpg|right|thumb|Figure 4. Windows Application Config]] | ||
Each user should open up the | Each user should open up the | ||
'''Systems Properties''' | '''Systems Properties''' | ||
Line 41: | Line 39: | ||
'''Apply''' | '''Apply''' | ||
(see | (see | ||
- | Figure 48). | + | Figure 4). |
- | [[Image:HLServer-prop.jpg|right|thumb|Figure 48. Windows Application Config]] | + | |
== Application Restore == | == Application Restore == | ||
Line 58: | Line 56: | ||
# '''HLServer boot'''. A user with hlmanager access has "booted" the license. | # '''HLServer boot'''. A user with hlmanager access has "booted" the license. | ||
+ | [[Image:HLServer-restore.jpg|right|thumb|Figure 5. Setting Restore Directory]] | ||
The restore function allows users to define a directory where all | The restore function allows users to define a directory where all | ||
current work is saved when a license is lost, and the application can | current work is saved when a license is lost, and the application can | ||
Line 64: | Line 63: | ||
Currently only CySlice and its options (.i.e PlyEdit, CySize, UV | Currently only CySlice and its options (.i.e PlyEdit, CySize, UV | ||
Layout) support the restore function. | Layout) support the restore function. | ||
- | [[Image:HLServer-restore.jpg|right|thumb|Figure 49. Setting Restore Directory]] | + | |
To set the restore directory, each user needs to | To set the restore directory, each user needs to | ||
Line 71: | Line 70: | ||
'''Common Preferences''' | '''Common Preferences''' | ||
button (see | button (see | ||
- | Figure 49). | + | Figure 5). |
A directory name can then be entered into the | A directory name can then be entered into the | ||
'''Restore Dir''' | '''Restore Dir''' | ||
Line 84: | Line 83: | ||
temporary areas that are cleaned out on reboot shouldn't be used. | temporary areas that are cleaned out on reboot shouldn't be used. | ||
+ | [[Image:HLServer-lost.jpg|right|thumb|Figure 6. Application Restore Window]] | ||
Once the restore directory has been defined, applications run from | Once the restore directory has been defined, applications run from | ||
then on are protected by the restore function. If a license is | then on are protected by the restore function. If a license is | ||
lost, the application dies as per usual, but a restore window | lost, the application dies as per usual, but a restore window | ||
will then appear (see | will then appear (see | ||
- | Figure 50). | + | Figure 6). |
- | [[Image:HLServer-lost.jpg|right|thumb|Figure 50. Application Restore Window]] | + | |
If a user sees this window, they should first talk to a systems | If a user sees this window, they should first talk to a systems |
Revision as of 06:36, 15 January 2007
|
Applications using floating licenses are installed as they normally would be on the hosts that you wish to run the applications. Its perfectly OK to use NFS or some similar network file system to share files.
When an application is run, and if no local key is found, the license server is contacted. If no floating licenses are available, the application will not start. IRIX/LinuxIn the user login scripts, where HEADUS_HOME is already defined, add this (where host is the name of your license server): setenv HEADUS_HLSERVER host:11668 Windows NT/2K/XPError creating thumbnail: convert: unable to open image `/home/headus/headus.com/doc/images/6/6f/HLServer-prop.jpg': No such file or directory @ error/blob.c/OpenBlob/2924. convert: no images defined `/home/headus/headus.com/doc/images/thumb/6/6f/HLServer-prop.jpg/180px-HLServer-prop.jpg' @ error/convert.c/ConvertImageCommand/3229. Figure 4. Windows Application Config Each user should open up the Systems Properties window, click on the Environment tab, then enter HEADUS_HLSERVER into the Variable field, and host:11668 into the Value field (where host is the name of your license server), then click on Set, then Apply (see Figure 4).
Application RestoreThe link between the license server and applications is via connected TCP/IP sockets. This means that a connection has to be maintained at all times during the life of an application. If the connection is dropped, then the application loses its license, and the default action is for it to exit without warning. Possible reasons for a broken connection are:
Error creating thumbnail: convert: unable to open image `/home/headus/headus.com/doc/images/6/67/HLServer-restore.jpg': No such file or directory @ error/blob.c/OpenBlob/2924. convert: no images defined `/home/headus/headus.com/doc/images/thumb/6/67/HLServer-restore.jpg/180px-HLServer-restore.jpg' @ error/convert.c/ConvertImageCommand/3229. Figure 5. Setting Restore Directory The restore function allows users to define a directory where all current work is saved when a license is lost, and the application can be restarted from this save point. Note: Currently only CySlice and its options (.i.e PlyEdit, CySize, UV Layout) support the restore function.
The restore directory should be on a local drive, not a networked drive/share, in case the loss of license is through a network problem or server reboot. The selected directory should also be one that's maintained through a reboot of the local system; RAM drives and temporary areas that are cleaned out on reboot shouldn't be used. Error creating thumbnail: convert: unable to open image `/home/headus/headus.com/doc/images/b/b6/HLServer-lost.jpg': No such file or directory @ error/blob.c/OpenBlob/2924. convert: no images defined `/home/headus/headus.com/doc/images/thumb/b/b6/HLServer-lost.jpg/180px-HLServer-lost.jpg' @ error/convert.c/ConvertImageCommand/3229. Figure 6. Application Restore Window Once the restore directory has been defined, applications run from then on are protected by the restore function. If a license is lost, the application dies as per usual, but a restore window will then appear (see Figure 6).
When all services have been restored, the user can click on the Restore button; the application they were running will be restarted, and all saved work is reloaded. Once all that is up and running, the restore files can be removed with the Delete Files button. If for some reason the restore window is killed before the user is able restore the application, they still have one more chance to recover all their work. Open up the most recent restore*.txt file in the assigned restore directory, and look for the "Can restore with ..." line; follow the instructions to manually run the restore function. And if that fails for any reason, the data files themselves will also still be in the restore directory; the application can be started as it normally is, and these file manually loaded to recover the lost work. |