DgraphCluster has an object’s applyIndex() method from the default “DistributeIndexAndApply” scrpit to create a new script within your Deployment Template. You can see this script in AppConfig.xml for your application. The applyIndex() method will stop the dgraph, archived the log files, then restarted the dgraph.
<script id="RestartDgraphAndArchiveLogs">
<bean-shell-script>
[![CDATA[DgraphCluster.applyIndex();]]>
</bean-shell-script>
</script>
For running this script, we can execute below command from location where your application is installed. For example if application installed at “C:\Endeca\Apps\DemoApp\” then go to location “C:\Endeca\Apps\DemoApp\control\” then run below command
"runcommand.bat/sh RestartDgraphAndArchiveLogs"
Menu to Food Tour: 5 AI Agents That Turn Any Restaurant Menu Into a Culinary Adventure
What if you could point your phone at a restaurant menu in…CCAT Chapter 1: Introduction to Claude Code Agent Teams
Learning Objectives By the end of this chapter, you will: What is…Orchestrating Claude Code Agent Teams CCAT
Learn AI Using AI [LAUA] This comprehensive educational guide details the functionality…Connect kubernetes pod to a GCS bucket using JS
To connect from a Kubernetes pod to a Google Cloud Storage (GCS)…

