-
Notifications
You must be signed in to change notification settings - Fork 3
Examples
When you need to configure WSO2 Identity Server v5.7.0 pack with Postgres
by replacing the default shipped H2 Carbon database
-
Download and extract a fresh pack of
wso2is-5.7.0
-
Open a terminal and navigate to the root of the extracted WSO2 IS pack
-
Execute the following
# inside wso2is-5.7.0 hydrogen datasource:is --replace --datasource postgres --version 5.7
When you need to configure WSO2 Identity Server v5.7.0 pack with Postgres
by replacing the default shipped H2 Carbon database and also to generate a Docker container for Postgre with databases
NOTE: The latest release of hydrogen can pull Postgre Docker image from DockerHub if none exists.
-
Download and extract a fresh pack of
wso2is-5.7.0
-
Start the Docker service in your environment (if you don't have Docker installed, install Docker before executing the command to work without any errors)
-
Open a terminal and navigate to the root of the extracted WSO2 IS pack
-
Execute the following
# inside wso2is-5.7.0 hydrogen datasource:is --replace --datasource postgres --version 5.7 --container --generate
The above command will create a Postgres
Docker container with a random name (an animal name) including the databases and tables.
When you need to configure WSO2 API Manager v2.6.0 pack with Postgres
by replacing the default shipped H2 Carbon database (WSO2 AM DB)
-
Download and extract a fresh pack of
wso2am-2.6.0
-
Open a terminal and navigate to the root of the extracted WSO2 AM pack
-
Execute the following
#inside wso2am-2.6.0 hydrogen datasource:am --replace --datasource postgres --version 2.6
When you need to configure WSO2 API Manager v2.6.0 pack with Postgres
by replacing the default shipped H2 Carbon database (WSO2 AM DB) and also to generate a Docker container for Postgre with databases
-
Download and extract a fresh pack pf
wso2am-2.6.0
-
Start the Docker service in your environment (if you don't have Docker installed, install Docker before executing the command to work without any errors)
-
Open a terminal and navigate to the root of the extracted WSO2 AM pack
-
Execute the following
#inside wso2am-2.6.0 hydrogen datasource:am --replace --datasource postgres --version 2.6 --container --generate
The above command will create a Postgres
Docker container with a random name (an animal name) including the databases and tables for apimgt
, userdb
, and regdb
.
When you need to configure WSO2 API Manager v2.6.0 pack with Postgres
by replacing the default shipped H2 Carbon database (WSO2 AM DB) and setting up am
, um
, and reg
databases
-
Download and extract a fresh pack of
wso2am-2.6.0
-
Open a terminal and navigate to the root of the extracted WSO2 AM pack
-
Execute the following
#inside wso2am-2.6.0 hydrogen datasource:am --setup --datasource postgres --version 2.6
When you need to configure WSO2 API Manager v2.6.0 pack with Postgres
by replacing the default shipped H2 Carbon database (WSO2 AM DB) and also to generate a Docker container for Postgre with databases
-
Download and extract a fresh pack pf
wso2am-2.6.0
-
Start the Docker service in your environment (if you don't have Docker installed, install Docker before executing the command to work without any errors)
-
Open a terminal and navigate to the root of the extracted WSO2 AM pack
-
Execute the following
#inside wso2am-2.6.0 hydrogen datasource:am --setup --datasource postgres --version 2.6 --container --generate
The above command will create a Postgres
Docker container with a random name (an animal name) including the databases and tables for apimgt
, userdb
, and regdb
.
When you need to configure a 5 node distributed setup with WSO2 API Manager v2.6.0 pack and Postgres
datasource
-
Download and extract a fresh pack of
wso2am-2.6.0
inside a new directory (only the extracted WSO2 API Manager pack)- MyNewFolder |- wso2am-2.6.0
-
Open a terminal and navigate to the parent folder of the extracted WSO2 APIM pack
-
Execute the following
# inside MyNewFolder hydrogen distribute:am --distributed --version 2.6 --datasource postgres
The above command will create a new folder named distributed
and places all configured 5 nodes within it.
When you need to configure a 5 node distributed setup with WSO2 API Manager v2.6.0 pack and also to generate a Docker container for Postgres
datasource
-
Start the Docker service in your environment (if you don't have Docker installed, install Docker before exeucting the command to work without any errors)
-
Download and extract a fresh pack of
wso2am-2.6.0
inside a new directory (only the extracted WSO2 API Manager pack)- MyNewFolder |- wso2am-2.6.0
-
Open a terminal and navigate to the parent folder of the extracted WSO2 APIM pack
-
Execute the following
# inside MyNewFolder hydrogen distribute:am --distributed --version 2.6 --datasource postgres --container --generate
The above command will create a new folder named distributed
and places all configured 5 nodes within it and also generates a Docker container for the Postgres
datasource.
When you need to configure WSO2 API Manager v2.6.0 pack for Publish through Multiple-Gateway
setup.
-
Download and extract a fresh pack of
wso2am-2.6.0
inside a new directory (only the extracted WSO2 API Manager pack)- MyNewFolder |- wso2am-2.6.0
-
Open a terminal and navigate to the parent folder of the extracted WSO2 APIM pack
-
Execute the following
# inside MyNewFolder hydrogen distribute:am --multiple-gateway --version 2.6
The above command will create a new folder named distributed
and places all configured nodes within it.
When you need to configure WSO2 API Manager v2.6.0 with WSO2 IS-KM v5.7.0 and Postgres
datasource
-
Download and extract both
wso2am-2.6.0
andwso2is-km-5.7.0
inside a new directory (only the extracted WSO2 APIM pack & the IS-KM pack)- MyNewFolder |- wso2am-2.6.0 |- wso2is-km-5.7.0
-
Open a terminal and navigate to the parent folder of the extracted packs
-
Execute the following
# inside MyNewFolder hydrogen distribute:am --is-km --version 2.6 --datasource postgres
When you need to configure WSO2 API Manager v2.6.0 with WSO2 IS-KM v5.7.0 and also to generate a Docker container for Postgres
datasource
-
Start the Docker service in your environment (if you don't have Docker installed, install Docker before executing the command to work without any errors)
-
Download and extract both
wso2am-2.6.0
andwso2is-km-5.7.0
inside a new directory (only the extracted WSO2 APIM pack & the IS-KM pack)- MyNewFolder |- wso2am-2.6.0 |- wso2is-km-5.7.0
-
Open a terminal and navigate to the parent folder of the extracted packs
-
Execute the following
# inside MyNewFolder hydrogen distribute:am --is-km --version 2.6 --datasource postgres --container --generate
[ ✏️ Under Progress ]