This is a simple python script to help you manage Apache Ignite cluster on Windows system. Sometimes you don't want to use Docker, so it's rather dreary to run different bin/ scripts using command line.
To use this script you need:
-
Installed python3
-
IGNITE_HOME variable to your Apache Ignite (Example: C:\Users\Andrew\Desktop\NewIgnite\apache-ignite-2.15.0-bin)
You can use Powershell to set it in one line:
[System.Environment]::SetEnvironmentVariable('IGNITE_HOME','C:\Users\Andrew\Desktop\NewIgnite\apache-ignite-2.15.0-bin', 'Machine')
For auto startup:
- Win + R
- shell:startup
- Put link on your script inside this folder
Base script functionality. You can extend it if neccessary.
- Baseline
- Start cluster (default 2 nodes) + activate
- Start node + activate it
- Stop all -- kill all open ignite windows
- Hard reset -- clear all work logs, metadata, binary etc
- Exit. Just exit