[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] Advertising a Windows machine's DSNs



I want to advertise the DSNs that are available on my Windows execute nodes. One approach is to advertise a distinct ClassAd for each DSN. Since it is possible for these machines to have up to ~2,000 DSNs installed, this seems unwieldy. Another approach is to define a single ClassAd whose value is a delimited list of the installed DSNs.

    DSN_LIST = "MYDBSRV1|MYDBSRV2|MYDBSRV3|..."
    
Then a job could include in its requirements expression something like this:

    stringListMember("MYDBSRV2", DSN_LIST, "|")
    
Is either approach preferable from a performance standpoint? With the second approach, are there any issues with the choice of "|" for a delimiter?

Thanks,
m.