Steps to generate boot.properties and startup.properties for AdminServer

If we start the AdminServer( which has never been started before using script ) from NodeManager, boot.properties and startup.properties file don’t get created by default and AdminServer fails to start.

To create the boot.properties and startup.properties file we need to follow the steps below.

 

sed -i “s/StartScriptEnabled=true/StartScriptEnabled=false/g” nodemanager.properties
connect(‘user’,’pwd!’,’t3://host:port’)
nmGenBootStartupProps(‘AdminServer’)

 

 

Leave a Reply