Creating RWE - padogrid/padogrid GitHub Wiki
◀️ Workspace Lifecycle Management :link: Creating Workspace and Starting Cluster ▶️
When you installed PadoGrid for the first time, you have created an RWE along with a workspace and cluster in it. You can also create additional RWEs by running the create_rwe
command, which also includes a workspace and cluster. This command is by default interactive and requires you to specify the default product and the new RWE name. You can also run it non-interactively by specifying the -quiet
option.
Interactively Creating RWE
The following example interactively creates the new RWE named myrwe2
with the default values for all the prompts, i.e., myws
for workspace, mygeode
for cluster, etc. To take default values shown in square brackets, simply hit the 'Enter' key without entering any text.
create_rwe
Enter the default product home path. The supported products are
[geode gemfire hazelcast snappydata coherence redis spark kafka hadoop]
/Users/dpark/Padogrid/products/hazelcast-enterprise-4.1.1
/Users/dpark/Padogrid/products/hazelcast-jet-enterprise-4.4
/Users/dpark/Padogrid/products/apache-geode-1.13.2
/Users/dpark/Padogrid/products/pivotal-gemfire-9.10.5
/Users/dpark/Padogrid/products/Oracle/coherence
/Users/dpark/Padogrid/products/redis-7.0.2
/Users/dpark/Padogrid/products/snappydata-1.2.0-bin
/Users/dpark/Padogrid/products/spark-3.1.1-bin-hadoop3.2
[/Users/dpark/Padogrid/products/apache-geode-1.13.2]:
Product selected: geode
Enter an RWE home path where your RWEs will be stored.
[/Users/dpark/Padogrid/workspaces]:
The following RWEs already exists in the specified RWE home path.
myrwe
Enter a new RWE name []: myrwe2
Enter Java home path.
[/Library/Java/JavaVirtualMachines/jdk1.8.0_261.jdk/Contents/Home]:
Enter Geode IMDG home directory path.
[/Users/dpark/Padogrid/products/apache-geode-1.13.2]:
Enter default workspace name [myws]:
Enter default cluster name [mygeode]:
Enable VM? Enter 'true' or 'false' [false]:
Creating an RWE as follows...
RWE Home: /Users/dpark/Padogrid/workspaces
RWE Name: myrwe2
JAVA_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_261.jdk/Contents/Home
Product Home: /Users/dpark/Padogrid/products/apache-geode-1.13.2
Default Workspace: myws
Default Cluster: mygeode
VM Enabled: false
Enter 'c' to continue, 'r' to re-enter, 'q' to quit: c
Non-interactively Creating RWE with Default Values
The following example non-interactively creates the same RWE as above. It creates the myrwe2
RWE with the default values.
create_rwe -quiet -rwe myrwe2
Non-interactively Creating RWE with Specific Values
You can also specify each prompt value as shown below. This example also creates the same myrwe2
RWE as above.
create_rwe -quiet \
-rwe myrwe2 \
-path /Users/dpark/Padogrid/workspaces \
-product /Users/dpark/Padogrid/products/apache-geode-1.13.2 \
-java /Library/Java/JavaVirtualMachines/jdk1.8.0_261.jdk/Contents/Home \
-workspace myws \
-cluster mygeode
◀️ Workspace Lifecycle Management :link: Creating Workspace and Starting Cluster ▶️