|
Yes, I did look at using an Array, I just need a way of populating the array automatcially, which I haven't worked on yet, whereas populating a variable was easy (ReadProfilestring) from a file called ServerList.ini
The end result is as thus
Each Published Application has live and contingent servers allocated to it. Because there are multiple servers for each published application there is in built redundency, but should the worst happen, the DR Servers would need to replace the existing servers. For this to happen Each Published Application has a ServerList.ini File with the following Sections
[RemoveServers] Server1 = UK0034 Server2 = UK0098 Server3 = "" Server4 = "" etc up to Server10
[AddServers] Server1 = DR_SC0022 Server2 = DR_SC9625 Server3 = "" Server4 = "" etc up to Server10
I was reading in these lines into my Variable, can a bulk read happen to populate the the array ???
Cheers for the assistance T
|