none
Job Templates Include Node Preparation Task RRS feed

  • Question

  • I'm looking for a way to perform a Node prep task for any job that hits the system, preferably one that uses a specific job template.  I'm trying to set a registry key value for HFSS in order to prevent license issues from coming up, but its in the HKCU hive and doesn't have a system-level key.  What would be the best way to get these values set, cluster-wide, for every user?  I'm a long-time Linux cluster admin and this is my first foray into Windows HPC-land, so be gentle :)  Also, I have to say, that Win HPC 2008 is hot stuff.  Very easy to manage... so far.

    Thanks!

    Friday, January 6, 2012 12:07 AM

All replies

  • Better way to solve the problem:

    Create default users hive with the keys I want and export to a shared file, \\master\files\keys.hiv

    Script (\\master\files\regfix.cmd):

     

    @ECHO off
    mkdir C:\temp
    copy \\master\files\keys.hiv C:\temp\
    reg load HKU\def_user_template c:\temp\keys.hiv
    reg load HKU\def_user_local C:\Users\Default\NTUSER.DAT
    reg copy HKU\def_user_template HKU\def_user_local /s /f
    reg unload HKU\def_user_template
    reg unload HKU\def_user_local
    del /f C:\temp\test.hiv

    Command:

    clusrun /all \\master\files\regfix.cmd

    Now all new accounts get the keys needed.  Since all my users are new, this works.

     

    Friday, January 6, 2012 4:30 AM