How to Start and Stop Endeca Dgraphs? - MDEX and Dgraphs

Here are two ways to do it:
1) Run Script on the Endeca box
/opt/app/endeca/apps/Discover/control>./runcommand.bat|sh DistributeIndexAndApply

[04.03.16 13:33:51] INFO: Checking definition from AppConfig.xml against existing
EAC provisioning.
[04.03.16 13:33:53] INFO: Updating provisioning for component 'WeeklyReportGenerator'.
[04.03.16 13:33:59] INFO: Updating definition for component 'WeeklyReportGenerator'.
[04.03.16 13:34:21] INFO: Definition updated.
[04.03.16 13:34:24] INFO: [AuthoringMDEXHost] Starting shell utility 'cleanDir_local-dgraph-input'.
[04.03.16 13:34:56] INFO: [AuthoringMDEXHost] Starting copy utility
'copy_index_to_host_AuthoringMDEXHost_AuthoringDgraph'.
[04.03.16 13:35:14] INFO: Applying index to dgraphs in restart group 'A'.
[04.03.16 13:35:14] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_dgraph-input-new'.
[04.03.16 13:35:33] INFO: [AuthoringMDEXHost] Starting copy utility
'copy_index_to_temp_new_dgraph_input_dir_for_AuthoringDgraph'.
[04.03.16 13:35:57] INFO: Stopping component 'AuthoringDgraph'. 

[04.03.16 13:36:20] INFO: [AuthoringMDEXHost] Starting shell utility
'move_dgraph-input_to_dgraph-input-old'.
[04.03.16 13:36:42] INFO: [AuthoringMDEXHost] Starting shell utility
'move_dgraph-input-new_to_dgraph-input'.
[04.03.16 13:37:01] INFO: [AuthoringMDEXHost] Starting backup utility
'backup_log_dir_for_component_AuthoringDgraph'.
[04.03.16 13:37:19] INFO: [AuthoringMDEXHost] Starting component 'AuthoringDgraph'.
[04.03.16 13:37:54] INFO: Publishing Workbench 'authoring' configuration to MDEX 'AuthoringDgraph'
[04.03.16 13:37:54] INFO: Pushing authoring content to dgraph: AuthoringDgraph
[04.03.16 13:38:06] INFO: Finished pushing content to dgraph.
[04.03.16 13:38:13] INFO: [AuthoringMDEXHost] Starting shell utility 'rmdir_dgraph-input-old'.
[04.03.16 13:38:35] INFO: [LiveMDEXHostA] Starting shell utility 'cleanDir_local-dgraph-input'.
[04.03.16 13:39:12] INFO: [LiveMDEXHostA] Starting copy utility
'copy_index_to_host_LiveMDEXHostA_DgraphA1'.
[04.03.16 13:39:30] INFO: Applying index to dgraphs in restart group '1'.
[04.03.16 13:39:30] INFO: [LiveMDEXHostA] Starting shell utility 'mkpath_dgraph-input-new'.
[04.03.16 13:39:55] INFO: [LiveMDEXHostA] Starting copy utility
'copy_index_to_temp_new_dgraph_input_dir_for_DgraphA1'.
[04.03.16 13:40:20] INFO: Stopping component 'DgraphA1'.
[04.03.16 13:40:41] INFO: [LiveMDEXHostA] Starting shell utility
'move_dgraph-input_to_dgraph-input-old'.
[04.03.16 13:41:06] INFO: [LiveMDEXHostA] Starting shell utility
'move_dgraph-input-new_to_dgraph-input'.
[04.03.16 13:41:31] INFO: [LiveMDEXHostA] Starting backup utility
'backup_log_dir_for_component_DgraphA1'.
[04.03.16 13:41:50] INFO: [LiveMDEXHostA] Starting component 'DgraphA1'.
[04.03.16 13:42:24] INFO: Publishing Workbench 'live' configuration to MDEX 'DgraphA1'
[04.03.16 13:42:24] INFO: Job #: update-dgraph-1459708944605 Sending update to server  -
file: C:\Users\rhonakamble\AppData\Local\Temp\soap-mdex4253393206289650693.xml
[04.03.16 13:42:25] INFO: The request to the Dgraph at localhost:15000 was successfully sent
The return code was : 200
[04.03.16 13:42:31] INFO: [LiveMDEXHostA] Starting shell utility 'rmdir_dgraph-input-old'.


2) Use Endeca Experience Manager EAC console to restart 
 

1 comment: