07-12-2023 09:51 AM
Hello,
we add to our batch script this line
\powershell.exe -psconsolefile "C:\Program Files (x86)\Enterprise Vault\evshell.psc1" -command "& {New-EvIndexsnapshot -EVServerName evclustername.domain.cz -confirm:$false}"
In history - we call this script on version 12.x where we have backup mode for stores and index and after upgrade of EV14.2 we added snapshot of new elastic search, see .
So, the script is located on node1 in C:\script. If this node is active, all is working. If this node is passive, two lines with e backup mode for stores and backup mode for index works. But call EVindexsnapshot is not working.
Is needed configure Set-EVIndexSnapshotLocation on both nodes to the same path ?
Is needed call the script on active node ?
Many thanks
07-18-2023 05:06 AM
Based on the information provided, it seems that you have a batch script that includes a PowerShell command to create a new EVindexsnapshot in Enterprise Vault. However, you're experiencing issues when running the script on the passive node.
Regarding your questions:
Yes, in an active-passive cluster configuration, it's important to ensure that both nodes are configured with the same EVIndexSnapshotLocation path. This ensures that the snapshot files are accessible and consistent across both nodes.
When running the script in an active-passive cluster configuration, it's generally recommended to execute it on the active node. This ensures that the necessary resources and dependencies are available for the script to run successfully. Running the script on the passive node might lead to issues if the required resources or dependencies are not present on that node.
To summarize, make sure that:
If you're still facing issues after following these steps, it might be helpful to check the logs or error messages to determine the specific cause of the problem.