Skip to content

Commit 824bed5

Browse files
authored
Merge pull request #9 from majguo/master
[MVP release] Deploy a tWAS cluster on Azure VMs
2 parents 17174b5 + 651f807 commit 824bed5

36 files changed

+772
-2437
lines changed

README.md

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,38 @@
1-
# Deploy RHEL 7.4 VMs on Azure with IBM WebSphere Application Server ND Traditional V9.0.5.1 cluster pre-installed
2-
- [Create cluster with specified number of nodes](https://github.com/majguo/arm-rhel-was-nd-cluster/tree/master/arm-rhel-was-nd-cluster)
3-
- [Add additional nodes to the exsiting cluster](https://github.com/majguo/arm-rhel-was-nd-cluster/tree/master/add-nodes)
1+
# Deploy RHEL 8.3 VMs on Azure with IBM WebSphere Application Server ND Traditional V9.0.5 cluster pre-installed
42

3+
## Prerequisites
4+
5+
1. Register an [Azure subscription](https://azure.microsoft.com/).
6+
1. The virtual machine offer which includes the image of RHEL8.3 with IBM WebSphere and JDK pre-installed is used as image reference to deploy virtual machine on Azure. Before the offer goes live in Azure Marketplace, your Azure subscription needs to be added into white list to successfully deploy VM using ARM template of this repo.
7+
1. Install [Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest).
8+
1. Install [PowerShell Core](https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-7.1).
9+
1. Install [Maven](https://maven.apache.org/download.cgi).
10+
1. Install [`jq`](https://stedolan.github.io/jq/download/).
11+
12+
## Steps of deployment
13+
14+
1. Checkout [azure-javaee-iaas](https://github.com/Azure/azure-javaee-iaas)
15+
1. Change to directory hosting the repo project & run `mvn clean install`
16+
1. Checkout [arm-ttk](https://github.com/Azure/arm-ttk) under the specified parent directory
17+
1. Checkout this repo under the same parent directory and change to directory hosting the repo project
18+
1. Build the project by replacing all placeholder `${<place_holder>}` with valid values
19+
20+
```bash
21+
mvn -Dgit.repo=<repo_user> -Dgit.tag=<repo_tag> -DibmUserId=<ibmUserId> -DibmUserPwd=<ibmUserPwd> -Ddynamic=<true|false> -DnumberOfNodes=<numberOfNodes> -DvmSize=<vmSize> -DdmgrVMPrefix=<dmgrVMPrefix> -DmanagedVMPrefix=<managedVMPrefix> -DdnsLabelPrefix=<dnsLabelPrefix> -DadminUsername=<adminUsername> -DadminPasswordOrKey=<adminPassword|adminSSHPublicKey> -DauthenticationType=<password|sshPublicKey> -DwasUsername=<wasUsername> -DwasPassword=<wasPassword> -Dtest.args="-Test All" -Ptemplate-validation-tests clean install
22+
```
23+
24+
1. Change to `./target/arm` directory
25+
1. Using `deploy.azcli` to deploy
26+
27+
```bash
28+
./deploy.azcli -n <deploymentName> -i <subscriptionId> -g <resourceGroupName> -l <resourceGroupLocation>
29+
```
30+
31+
## After deployment
32+
33+
1. If you check the resource group in [azure portal](https://portal.azure.com/), you will see multiple VMs and related resources specified for the cluster created
34+
1. To open IBM WebSphere Integrated Solutions Console in browser for further administration:
35+
1. Login to Azure Portal
36+
1. Open the resource group you specified to deploy WebSphere Cluster
37+
1. Navigate to "Deployments > specified_deployment_name > Outputs"
38+
1. Copy value of property `adminSecuredConsole` and browse it with credentials you specified in cluster creation

add-nodes/README.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

add-nodes/pom.xml

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)