first commit
10
.idea/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
# Zeppelin ignored files
|
||||
/ZeppelinRemoteNotebooks/
|
||||
9
.idea/Weblogic Market Place OCI.iml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
17
.idea/aws.xml
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="accountSettings">
|
||||
<option name="activeProfile" value="profile:default" />
|
||||
<option name="activeRegion" value="us-east-2" />
|
||||
<option name="recentlyUsedProfiles">
|
||||
<list>
|
||||
<option value="profile:default" />
|
||||
</list>
|
||||
</option>
|
||||
<option name="recentlyUsedRegions">
|
||||
<list>
|
||||
<option value="us-east-2" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
||||
7
.idea/codeStyles/Project.xml
generated
Normal file
@@ -0,0 +1,7 @@
|
||||
<component name="ProjectCodeStyleConfiguration">
|
||||
<code_scheme name="Project" version="173">
|
||||
<ScalaCodeStyleSettings>
|
||||
<option name="MULTILINE_STRING_CLOSING_QUOTES_ON_NEW_LINE" value="true" />
|
||||
</ScalaCodeStyleSettings>
|
||||
</code_scheme>
|
||||
</component>
|
||||
5
.idea/codeStyles/codeStyleConfig.xml
generated
Normal file
@@ -0,0 +1,5 @@
|
||||
<component name="ProjectCodeStyleConfiguration">
|
||||
<state>
|
||||
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
|
||||
</state>
|
||||
</component>
|
||||
9
.idea/markdown.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="MarkdownSettings">
|
||||
<enabledExtensions>
|
||||
<entry key="MermaidLanguageExtension" value="true" />
|
||||
<entry key="PlantUMLLanguageExtension" value="true" />
|
||||
</enabledExtensions>
|
||||
</component>
|
||||
</project>
|
||||
6
.idea/misc.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
||||
8
.idea/modules.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/Weblogic Market Place OCI.iml" filepath="$PROJECT_DIR$/.idea/Weblogic Market Place OCI.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
6
.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
201
README.md
Normal file
@@ -0,0 +1,201 @@
|
||||
# Weblogic OCI Market Place
|
||||
|
||||
## Introduction
|
||||
|
||||
In this material, we will show how to create an Oracle Weblogic cluster on Oracle Cloud through Market Place. Oracle Cloud Market Place is a rich library of click-to-deploy Terraform stacks that provides complete, fully automated solutions for deploying third-party software on Oracle Cloud Infrastructure.
|
||||
|
||||
Through the Market Place, we will have a Weblogic cluster operating in high availability, scalable and integrated with OCI's VCN network. In addition, we will activate OCI Observability where it will be possible to monitor and track the operating metrics of the Weblogic cluster.
|
||||
|
||||
### Create an Object Storage to save your Terraform Script
|
||||
|
||||
First of all, we need to create a bucket to store the **Terraform** script generated automatically in the **OCI Market Place**. Go to the Main Menu and click on Storage and Bucket options
|
||||
|
||||

|
||||
|
||||
Select your compartment and click on **Create Bucket**. This bucket will be used to store the **Terraform** script.
|
||||
|
||||

|
||||
|
||||
Put a name for your Bucket. Put **Terraform_Scripts** as an example for this tutorial. Maintain the other options as is and click **Create** button.
|
||||
|
||||

|
||||
|
||||
### Create a Secret
|
||||
|
||||
Now we need to create 2 secrets in the **OCI Vault**. For security reasons, the **OCI Vault** is a very good way to store passwords and certificates and the **Weblogic Cluster** will use:
|
||||
|
||||
- A password for the Admin Console
|
||||
- A password to use and store the **auto-scaling functions** in the **OCI Container Registry** (Image repository in OCI)
|
||||
|
||||
Now, go to the Main Menu and click on **Identity & Security** and **Vault** options.
|
||||
|
||||

|
||||
|
||||
Select the compartment you want to store the secrets and click on **Create Vault** button
|
||||
|
||||

|
||||
|
||||
Put a name for your vault, confirm the compartment and click on **Create Vault** button
|
||||
|
||||

|
||||
|
||||
Confirm the vault creation and let's create a key. Click on **Create Key** button
|
||||
|
||||

|
||||
|
||||
Confirm the compartment and put a name for your key. For example, put **weblogickey** on Name and click on **Create Key** button
|
||||
|
||||

|
||||
|
||||
Confirm the key creation
|
||||
|
||||

|
||||
|
||||
Now, click on **Secrets** option and click on **Create Secret** button
|
||||
|
||||

|
||||
|
||||
We will create the **Weblogic Admin** password. Confirm the compartment, put a name for your first secret. Select **Manual secret generation** to include the password. Select **Plain-Text** option on **Secret Type Template** and write your password. Finally, click on **Create Secret** button.
|
||||
|
||||

|
||||
|
||||
>**Note:** The password must start with a letter, is between 8 and 30 characters long, contain at least one number, and, optionally, any number of the special characters ($ # _). **If you don't respect this rule, the Weblogic Instance cannot be created.**
|
||||
|
||||

|
||||
|
||||
Now we will create a new secret for your Image Repository (**OCI Container Registry**).
|
||||
|
||||
**Oracle Cloud Infrastructure Container Registry** is an open standards-based, Oracle-managed Docker registry service for securely storing and sharing container images. Engineers can easily push and pull Docker images with the familiar Docker Command Line Interface (CLI) and API. To support container lifecycles, Registry works with Container Engine for Kubernetes, Identity and Access Management (IAM), Visual Builder Studio, and third-party developer and DevOps tools
|
||||
|
||||
If you don't know about how to use the **OCI Repository**, please see this article [Push an Image to Oracle Cloud Infrastructure Registry](https://www.oracle.com/webfolder/technetwork/tutorials/obe/oci/registry/index.html), you will need to know your **token** access.
|
||||
|
||||
Again, click on **Create Secret** button and fill the **Secret Contents** with your **OCIR token**. Click on **Create Secret** button.
|
||||
|
||||

|
||||
|
||||
You can see the **Base 64** conversion value of your token by clicking the **Show Base64 conversion** toggle key.
|
||||
|
||||

|
||||
|
||||
Confirm if your 2 secrets were created
|
||||
|
||||

|
||||
|
||||
### Create the Weblogic Clustered Instance
|
||||
|
||||
Let's create your **Weblogic Cluster**. Go to the Main menu
|
||||
|
||||

|
||||
|
||||
Select **Marketplace** option
|
||||
|
||||

|
||||
|
||||
Now select the **All Applications**
|
||||
|
||||

|
||||
|
||||
Write on **Search** text box "webogic". The **Weblogic** options will appear on screen
|
||||
|
||||
For the **Weblogic H.A.** option, select for example the **Weblogic Enterprise** or **Weblogic Suite**.
|
||||
|
||||

|
||||
|
||||
Select the **Version** and compartment for your **Weblogic Cluster**, confirm the acceptance terms and click on **Launch Stack** button
|
||||
|
||||

|
||||
|
||||
Click on **Use custom Terraform providers** option to generate your Terraform scripts. Select the compartment of your bucket previously created and your bucket name.
|
||||
|
||||

|
||||
|
||||
You can put a name for your stack or leave the default name.
|
||||
|
||||

|
||||
|
||||
Click **Next** button. Put a prefix name for your **Weblogic** stack. All resources created in Terraform process will contain this prefix name
|
||||
|
||||

|
||||
|
||||
Generate a Public and Private key file. Put the public key here. This will be used to authenticate your bastion instance.
|
||||
|
||||

|
||||
|
||||
Maintain **OCI Policies** enabled.
|
||||
|
||||

|
||||
|
||||
|
||||
### Working with VCN, Subnets, Private/Public, Bastion
|
||||
|
||||
You can use a valid **VCN** inside the **OCI** or create a new one. If you don't have any **VCN** create, select **Create a Virtual Cloud Network** option.
|
||||
|
||||

|
||||
|
||||
### Working with Load Balancer
|
||||
|
||||
Your **Weblogic** instance will be created on a clustered environment. So, you can stablish the number of **Weblogic** instances and can balance the use of this servers through a **Load-Balancer**. Select **Provision Load Balancer** option.
|
||||
|
||||

|
||||
|
||||
You can customize the **CIDR** block and performance options for the **Load Balancer**
|
||||
|
||||

|
||||
|
||||
### Working with IDCS
|
||||
|
||||
**Oracle Identity Cloud Service (IDCS)** is an Identity-as-a-Service (IDaaS) solution available in Oracle Public Cloud (OPC). It is designed to extend enterprise controls by automating PaaS and SaaS account provisioning and deprovisioning, simplifying the user experience for accessing cloud applications by providing seamless integration with enterprise identity stores and authentication services, and facilitating compliance activities by clearly reporting on cloud application usage
|
||||
|
||||
You can integrate your **Weblogic Cluster** with IDCS. If you want to integrate with **IDCS**, click on **Enable Authentication Using Identity Cloud Service** option
|
||||
|
||||

|
||||
|
||||
### Observability
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
### Auto Scaling
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
### File System - H.A.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
### Configure a VCN
|
||||
|
||||

|
||||
|
||||
### Domain Configuration
|
||||
|
||||

|
||||
|
||||
### Configure Weblogic Instances
|
||||
|
||||

|
||||
|
||||
### Working with Bastion
|
||||
|
||||

|
||||
|
||||
## Confirm the Stack creation
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## Reference
|
||||
|
||||
- [Create a Non-JRF Instance Using Oracle WebLogic Server for OCI With New VCN](https://docs.oracle.com/en/cloud/paas/weblogic-cloud/wlcgs/index.html)
|
||||
- [Autoscaling Weblogic in OCI](https://blogs.oracle.com/weblogicserver/post/monitoring-and-autoscaling-oracle-weblogic-server-for-oci-stack-with-customized-domains)
|
||||
- [OCI APM Agent for Weblogic](https://docs.oracle.com/en-us/iaas/application-performance-monitoring/doc/deploy-apm-java-agent.html#GUID-081D2588-8A46-46CA-9297-3654002702D0)
|
||||
- [Install and Configure APM Java Agent On Oracle Weblogic Server](https://docs.oracle.com/en/cloud/paas/management-cloud/dmapm/install-and-configure-apm-java-agents-oracle-weblogic-server.html#GUID-05347698-5AED-4980-BBAC-0588BED98DDE)
|
||||
- [Push an Image to Oracle Cloud Infrastructure Registry](https://www.oracle.com/webfolder/technetwork/tutorials/obe/oci/registry/index.html)
|
||||
8
Weblogic Market Place OCI.iml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="GENERAL_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
BIN
img_10.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
img_11.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
img_12.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
img_13.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
img_14.png
Normal file
|
After Width: | Height: | Size: 71 KiB |
BIN
img_15.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
img_16.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
img_17.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
img_18.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
img_19.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
img_20.png
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
img_21.png
Normal file
|
After Width: | Height: | Size: 137 KiB |
BIN
img_22.png
Normal file
|
After Width: | Height: | Size: 129 KiB |
BIN
img_23.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
img_24.png
Normal file
|
After Width: | Height: | Size: 103 KiB |
BIN
img_25.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
img_26.png
Normal file
|
After Width: | Height: | Size: 250 KiB |
BIN
img_27.png
Normal file
|
After Width: | Height: | Size: 564 KiB |
BIN
img_28.png
Normal file
|
After Width: | Height: | Size: 94 KiB |
BIN
img_29.png
Normal file
|
After Width: | Height: | Size: 532 KiB |
BIN
img_30.png
Normal file
|
After Width: | Height: | Size: 94 KiB |
BIN
img_31.png
Normal file
|
After Width: | Height: | Size: 690 KiB |
BIN
img_32.png
Normal file
|
After Width: | Height: | Size: 134 KiB |
BIN
img_33.png
Normal file
|
After Width: | Height: | Size: 684 KiB |
BIN
img_34.png
Normal file
|
After Width: | Height: | Size: 84 KiB |
BIN
img_35.png
Normal file
|
After Width: | Height: | Size: 111 KiB |
BIN
img_36.png
Normal file
|
After Width: | Height: | Size: 138 KiB |
BIN
img_37.png
Normal file
|
After Width: | Height: | Size: 98 KiB |
BIN
img_38.png
Normal file
|
After Width: | Height: | Size: 147 KiB |
BIN
img_39.png
Normal file
|
After Width: | Height: | Size: 67 KiB |
BIN
img_40.png
Normal file
|
After Width: | Height: | Size: 136 KiB |
BIN
img_41.png
Normal file
|
After Width: | Height: | Size: 150 KiB |
BIN
img_42.png
Normal file
|
After Width: | Height: | Size: 110 KiB |
BIN
img_43.png
Normal file
|
After Width: | Height: | Size: 244 KiB |
BIN
img_44.png
Normal file
|
After Width: | Height: | Size: 758 KiB |
BIN
img_45.png
Normal file
|
After Width: | Height: | Size: 238 KiB |
BIN
img_46.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
img_47.png
Normal file
|
After Width: | Height: | Size: 130 KiB |