Question. In my scripts I want to check the state of the callcenter in an XML file. I've done a test in a test env with a file State.xml, placed it in the WFAVVID folder and pointed to it in my script via File[sdvbqsvlkjb]. This works like a charm!
Now in our production system, it being HA, I also want to do the same but of course I want the standby server to also be able to look for this file. I guess this would be stored in the repository? I've already uploaded the xml file in the documents (via appadmin) but no luck...
In my script, I also want to modify this state.xml file so it needs to be updated on both servers...
Am I missing something?
Jonathan is correct and I agree with him regarding the replication and using the DOC variable in your scripts to point to XML files in the Document repository. Also, did you properly install Cisco MSSQL on each server before rebooting after installing CCX? MSSQL is required in an HA solution to provide the replication feature across the cluster so data is accessible from either server in case one fails. I typically by default copy the file onto each server (old habit) and always use DOC in my scripts and point to the XML document in the repository.
no, HA is not about having one repository. That won't work for sure.
That absolutely is incorrect. The repository resides within the SQL database and is replicated to the local disk of both nodes at runtime for the MIVR subsystem to access faster.
I've done a test in a test env with a file State.xml, placed it in the WFAVVID folder and pointed to it in my script via File[sdvbqsvlkjb].
You need to change your variable from File to DOC. An easy way to ensure you have this right is to use the Browse Repository button on the Document tab of the Expression Editor dialog within the Script Editor. Selecting a file in the repository will include the appropriate syntax and path for you.