图数据构建脚本后台远程执行

 

Here’s the table of contents:

  1. execute-graph-data-build

execute-graph-data-build

从202机器后台执行CQL脚本,在173集群中构建图数据

#!/bin/bash
su - ongdb <<EOF
testlab%pro
echo "Build Graph Data..."
cat /home/ongdb/graph-sync-check-point/temp/public_fund_replenish.cql | /home/ongdb/ongdb-enterprise-3.5.22/bin/cypher-shell -a bolt+routing://10.20.12.173:7687 -u neo4j -p testlab%pro
EOF
# nohup ./execute-graph-data-build.sh > execute-graph-data-build.file 2>&1 &