Domino Clustering

I am planning to cluster my organisation’s application server with new server, but I have found there are several applications in which the server name is hard-coded. I am purely in administration and don’t know much about programing, but here is small part of code which is accessing file system of the server (hard-coded)

Set profDoc = db.GetProfileDocument(“ProfileDb”)

StateNetPath = "\NOTES01\FTP" 'profDoc.StateNetArea(0)

GovtRelPath = "\NOTES01\E$\Program Files\Lotus\Domino\Data\GovtRel" 'profDoc.GovtRelArea(0)

' copy file from StateNetArea to GovtRelArea

Call BuildZipList

Any idea to solve this problem in the clustered environment will be highly appreciated.

Subject: Domino Clustering

db.server will return the current server name. you may want to look at the openwithfailover method too