Hi,
 
I have a question.

If users would like to extend a standalone IoTDB to cluster, is it a good idea 
that
separate standalone and datanode to different directories?

Best,
Haonan Hou

> On Jul 12, 2022, at 9:19 AM, SpriCoder <[email protected]> wrote:
> 
> Finally, From my perspective, one possible structure like below:
> 
> 
> .
> ├── LICENSE
> ├── NOTICE
> ├── README.md
> ├── README_ZH.md
> ├── RELEASE_NOTES.md
> ├── sbin
> │&nbsp; &nbsp;├── start-cli.bat
> │&nbsp; &nbsp;└── start-cli.sh
> 
> ├── confignode
> │&nbsp; &nbsp;├── conf
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── confignode-env.bat
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── confignode-env.sh
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── iotdb-confignode.properties
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── iotdb-metric.yml
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── jmx.access
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── jmx.password
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── logback-tool.xml
> │&nbsp; &nbsp;│&nbsp; &nbsp;└── logback.xml
> │&nbsp; &nbsp;└── sbin
> │&nbsp; &nbsp; &nbsp; &nbsp;├── remove-confignode.sh
> │&nbsp; &nbsp; &nbsp; &nbsp;├── start-confignode.bat
> │&nbsp; &nbsp; &nbsp; &nbsp;├── start-confignode.sh
> │&nbsp; &nbsp; &nbsp; &nbsp;├── stop-confignode.bat
> │&nbsp; &nbsp; &nbsp; &nbsp;└── stop-confignode.sh
> ├── datanode
> │&nbsp; &nbsp;├── conf
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── datanode-env.bat
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── datanode-env.sh
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── iotdb-datanode.properties
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── iotdb-metric.yml
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── iotdb-rest.properties
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── jmx.access
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── jmx.password
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── logback-tool.xml
> │&nbsp; &nbsp;│&nbsp; &nbsp;└── logback.xml
> │&nbsp; &nbsp;└── sbin
> │&nbsp; &nbsp; &nbsp; &nbsp;├── remove-datanode.bat
> │&nbsp; &nbsp; &nbsp; &nbsp;├── remove-datanode.sh
> │&nbsp; &nbsp; &nbsp; &nbsp;├── start-datanode.bat
> │&nbsp; &nbsp; &nbsp; &nbsp;├── start-datanode.sh
> │&nbsp; &nbsp; &nbsp; &nbsp;├── stop-datanode.bat
> │&nbsp; &nbsp; &nbsp; &nbsp;└── stop-datanode.sh
> ├── standalone
> │&nbsp; &nbsp;├── conf
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── datanode-env.bat
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── datanode-env.sh
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── iotdb-datanode.properties
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── iotdb-metric.yml
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── iotdb-rest.properties
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── jmx.access
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── jmx.password
> │&nbsp; &nbsp;│&nbsp; &nbsp;├── logback-tool.xml
> │&nbsp; &nbsp;│&nbsp; &nbsp;└── logback.xml
> │&nbsp; &nbsp;└── sbin
> │&nbsp; &nbsp; &nbsp; &nbsp;├── start-new-server.bat
> │&nbsp; &nbsp; &nbsp; &nbsp;├── start-new-server.sh
> │&nbsp; &nbsp; &nbsp; &nbsp;├── start-server.bat
> │&nbsp; &nbsp; &nbsp; &nbsp;├── start-server.sh
> │&nbsp; &nbsp; &nbsp; &nbsp;├── stop-server.bat
> │&nbsp; &nbsp; &nbsp; &nbsp;└── stop-server.sh
> 
> ├── docs
> ├── grafana-metrics-example
> ├── lib
> ├── licenses
> └── tools
> 
> 
> 
> 
> 
> 
> 
> ------------------&nbsp;Original&nbsp;------------------
> From:                                                                         
>                                                "SpriCoder"                    
>                                                                 
> <[email protected]&gt;;
> Date:&nbsp;Tue, Jul 5, 2022 05:54 PM
> To:&nbsp;"dev"<[email protected]&gt;;
> 
> Subject:&nbsp;The structure of distribution
> 
> 
> 
> Hi all,
> 
> Currently, we have confignode and datanode folder in the distribution. Which 
> has conf, sbin, and will store the default folder of data and system. And 
> there is a need to refactor distribution structure.
> 
> I think there are two choices:
> 
> 1. remove the confignode and datanode folder, and combine their script and 
> configuration files into the conf and sbin under the root. In this way all 
> folder generated by confignode will be put into config folder, and all folder 
> generated by confignode will be put into data folder.
> 
> 2. use confignode and datanode folder to manage their script and 
> configuration files, like: confignode/sbin, confignode/conf, datanode/sbin, 
> datanode/conf, etc. In this way all folder generated by confignode will be 
> put into confignode folder and all folder generated by datanode will be put 
> into datanode folder.
> 
> 
> 
> 
> What's your opinion? Looking forward to your reply.
> 
> 
> Best,
> 
> ---------------------------------------------------------------
> 
> Hongyin Zhang

Reply via email to