-
Notifications
You must be signed in to change notification settings - Fork 1
Updating Products
PadoGrid maintains RWE and workspace configuration information in the setenv.sh
file located in their respective directory. The environement variables you set in the RWE setenv.sh
file apply to all of its workspaces. In each workspace, you can ovrride any of the environment variables in their setenv.sh
file.
You can change or add product paths in RWE as follows.
cd_rwe
vi setenv.sh
The RWE setenv.sh
has contents similar to the following. You can freely set the paths in this file. Note that the IN_POD
and PRODUCT_HOME
environment variables shown below are reserved. IN_POD
indicates whether the clusters are running inside or outside of a pod (Vagrant). Hence, the home paths set in the if
block below are for clusters running outside of pods, i.e., on your host OS.
❗ ThePRODUCT_HOME
environment variable must be set to one of the product home paths. It is used internally to identify the default product.
if [ "$IN_POD" != "true" ]; then
export PADOGRID_HOME="/home/dpark/Padogrid/products/padogrid_0.9.32"
export PADO_HOME=""
export JAVA_HOME="/etc/alternatives/java_sdk_1.8.0"
export COHERENCE_HOME=""
export GEMFIRE_HOME=""
export GEODE_HOME="/home/dpark/Padogrid/products/apache-geode-1.13.2"
export HAZELCAST_HOME="/home/dpark/Padogrid/products/hazelcast-5.3.6"
export HAZELCAST_MC_HOME="/home/dpark/Padogrid/products/hazelcast-management-center-5.3.3""
export JET_HOME="/home/dpark/Padogrid/products/hazelcast-jet-4.5-slim"
export JET_MC_HOME=""
export MOSQUITTO_HOME=""
export SNAPPYDATA_HOME=""
export SPARK_HOME="/home/dpark/Padogrid/products/spark-3.1.2"
export KAFKA_HOME="/Users/dpark/Padogrid/products/confluent-7.2.2"
export HADOOP_HOME="/home/dpark/Padogrid/products/hadoop-3.3.1"
export PRODUCT_HOME="$HAZELCAST_HOME"
fi
To change product paths specific to your workspace, you would set them in the workspace setenv.sh
file.
cd_workspace
vi setenv.sh
The workspace setenv.sh
file has contents similar to the following. You can freely set the paths in this file. The following example downgrades Hazelcast from 5.3.6 (see above) to 5.2.3. All others are left unchanged to use the default values set in the RWE setenv.sh
file.
if [ "$IN_POD" != "true" ]; then
#export PADOGRID_HOME=
#export PADO_HOME=
#export JAVA_HOME=
export HAZELCAST_HOME="/home/dpark/Padogrid/products/hazelcast-5.2.3"
export HAZELCAST_MC_HOME="$HAZELCAST_HOME/management-center"
#export JET_HOME=""
#export JET_MC_HOME=""
#export COHERENCE_HOME=""
#export GEMFIRE_HOME=""
#export GEODE_HOME=""
#export MOSQUITTO_HOME=""
#export SNAPPYDATA_HOME=""
#export SPARK_HOME=""
#export KAFKA_HOME=""
#export HADOOP_HOME=""
fi
The update_padogrid
command allows you to change products without manually editing the setenv.sh
files. This is an interactive command that lists products from which you can select the ones you want to apply to the current RWE, the current workspace, or all the workspaces in the current RWE.
update_padogrid
Example Output:
Products Directoy:
/Users/dpark/Padogrid/products
The following product versions are found in the products directory.
The current workspace versions are highlighted.
PadoGrid
[0] (none)
[1] 0.9.32
[2] 0.9.31
[3] 0.9.30
[4] 0.9.29
...
Enter a version to add [0]: 1
Selected: [1] 0.9.32
Pado
[0] (none)
Enter a version to add [0]:
Selected: [0] (none)
GemFire
[0] (none)
[1] 9.10.5
[2] 9.10.4
[3] 9.10.2
Enter a version to add [0]: 1
Selected: [1] 9.10.5
Geode
[0] (none)
[1] 1.13.2
[2] 1.13.1
[3] 1.13.0
[4] 1.12.0
Enter a version to add [0]:
...
You can also change a single product by specifying the -product
option. For example, the following changes the Hazelcast OSS product version.
update_padogrid -product hazelcast-oss
Output:
Products Directoy:
/Users/dpark/Padogrid/products
The following product versions are found in the products directory.
The current workspace versions are highlighted.
Hazelcast OSS
[0] (none)
[1] 5.3.6-slim
[2] 5.3.6
[3] 5.3.2-slim
[4] 5.3.2
[5] 4.2.5
[6] 4.2.1
[7] 3.12.12
[8] 3.8.1
Enter a version to add [0]:
Run the following to view the usage.
update_padogrid -?
PadoGrid Manual
Overview
- Home
- PadoGrid in 5 Minutes
- Quick Start
- Introduction
- Bundle Catalogs
- Building PadoGrid
- Supported Data Grid Products and Downloads
- PadoGrid Components
- Installing PadoGrid
- Root Workspaces Environments (RWEs)
- Initializing PadoGrid
- Bash Auto-Completion
- Viewing PadoGrid Summaries
- Updating Products
- Upgrading PadoGrid
- Migrating Workspaces
- PadoGrid Pods
- Kubernetes
- Docker
- Apps
- Software List
Operations
- Workspace Lifecycle Management
- Creating RWE
- Creating Workspace and Starting Cluster
- Managing Workspaces
- Understanding Workspaces
- Understanding Clusters
- Running Clusters
- Default Port Numbers
- Running Clusters Independent of PadoGrid
- Running Apps
- Understanding Groups
- Running Groups
- Understanding Bundles
- User Bundle Repos
- Using Bundle Templates
- Bundle Repo Guidelines
- User Bundle Catalogs
- Private Bundle Repos
- Gitea Repos
- Running Bundles in Container
- PadoGrid Addon Jars
- Understanding PadoGrid Pods
- Tested Vagrant Boxes
- VM-Enabled Pods
- Multitenancy
- Multitenancy Best Practices
- PadoGrid Configuration Files
Tools
Platforms
Clouds
Pado
Geode/GemFire
- Geode CLASSPATH
- Geode Kubernetes
- Geode Minikube
- Geode Minikube on WSL
- Geode Docker Compose
- Geode Grafana App
- Geode
perf_test
App - Geode WAN Example
- Geode Workspaces on VMs
- Geode on AWS EC2
- Reactivating Geode Workspaces on AWS EC2
Hazelcast/Jet
- Hazelcast CLASSPATH
- Creating Jet Workspace
- Configuring Hazelcast Addon
- HQL Query
- Hazelcast Kubernetes
- Hazelcast GKE
- Hazelcast Minikube
- Hazelcast Minikube on WSL
- Hazelcast Minishift/CDK
- Hazelcast OpenShift
- Hazelcast Docker Compose
- Hazelcast Desktop App
- Hazelcast Grafana App
- Hazelcast
jet_demo
App - Hazelcast
perf_test
App - Hazelcast WAN Example
- Hazelcast Workspaces on VMs
- Hazelcast on AWS EC2
- Reactivating Hazelcast Workspaces on AWS EC2
ComputeDB/SnappyData
Coherence
Hadoop
Kafka/Confluent
Mosquitto
- Mosquitto CLASSPATH
- Mosquitto Overview
- Installing/Building Mosquitto
- Clustering MQTT
- Cluster Archetypes
- Enabling Mosquitto SSL/TLS
- Mosquitto Docker Compose
- MQTT perf_test App
Redis
Spark