#!/bin/bash
#
PRIMARYURL=http://192.168.251.15:30100  #填写主区域地址
REGISTERCODE=
REGIONNAME=ChongQing
REGIONURL=http://192.168.11.185
INTRANETADDRESS=192.168.11.185

curl "${PRIMARYURL}/WebCore?module=RegionManager&fun=InitRegionServerInfo" \
-X POST \
-d "registerCode=${REGISTERCODE}&regionName=${REGIONNAME}&regionServer=${REGIONURL}&intranetAddress=${INTRANETADDRESS}" \
-w "\n"
