- Set up infrastructure components for deploying Agile PLM
- Download the Terraform Modules and Set the Variables
Download the Terraform Modules and Set the Variables
Download the Terraform Modules
The Terraform modules for this solution is available on GitHub. You can find the path to the code in this document.
- In the navigation pane on the left, click Download Code.
- Click Git Repo.
- Clone or download the repository to your local computer.
Set Tenancy Variables
Specify the parameters required for Terraform to connect to the Oracle Cloud Infrastructure tenancy.
- Navigate to the Examplesfolder and select eitherSingle_instanceorMultiple_instancedepending on the type of your architecture.
- Create a copy of terraform.tfvars.templateand rename that file toterraform.tfvars.
- Open terraform.tfvarsin a plain-text editor, and set values for the variables in it as follows:Variable Description tenancy_idThe ID of the tenancy.You can find your tenancy's ID in the Oracle Cloud Infrastructure web console. Select Administration from the services menu, and then click Tenancy Details. user_idThe ID of the user that you want Terraform to use to authenticate with Oracle Cloud Infrastructure. To find the user's ID, select Identity from the services menu, and then select Users. Locate your user name in the list, and copy its ID. fingerprintThe fingerprint of the public API signing key that you uploaded. private_key_pathThe full path and name of the file that contains your private API signing key. regionThe region where you want to create the resources. db_admin_passwordEnter a password for the database admin user. 
Set Infrastructure Variables
- Navigate to the same folder as your terraform.tfvarsfile and openagile-plm-complex.auto.tfvars.
- Set values for the variables in
                        agile-plm-complex.auto.tfvars. The following table contains all the variables that are required for either simple or complex architecture:Sections Variable Description Common configuration default_compartment_idThe OCID of the compartment in which you want to create the resources. To find a compartment's OCID, select Identity from the services menu, and then select Compartments. Locate the compartment that you need in the list, and copy its OCID. default_ssh_auth_keyThe full path and name of the file containing the SSH public key for the private compute instances in the topology. ssh_private_key_pathThe full path and name of the file containing the SSH private key for the private compute instances in the topology. default_img_idThe OCID of the Agile PLM custom image. This is the ID of your custom image and not the one that is available from the marketplace. If you do not have a custom image, you can set the value to null.default_img_nameThe name of the Agile PLM custom image. If you do not have a custom image, you can set the value to null.default_mkp_image_nameDefault Oracle Cloud Marketplace image name for Agile PLM. default_mkp_image_versionVersion of the Agile PLM Oracle Cloud Marketplace image. Database configuration provision_dbWhether or not to provision Database Classic Cloud Service. dbcs_db_editionName of the Database Classic Cloud Service edition. dbcs_instance_shapeDefine the shape for your Database Classic Cloud Service instance. Load balancers configuration provision_pub_lbWhether or not to provision a public load balancer. provision_priv_lbWhether or not to provision a private load balancer. lb_portListening port for the load balancer. lb_ca_certificateThe path to the load balancer root certificate. lb_private_keyThe path to the load balancer private certificate root key. lb_public_certificateThe path to the load balancer public certificate. rule_setsProvide a unit of execution for rules. Bastion host configuration create_bastionWhether or not to create bastion and all of its resources (subnet/NSG/compute instance). bastion_image_nameName of the Bastion host. Application servers configuration as_num_instNumber of application server instances. as_instances_shapeThe shape of the application server instance, which specifies the number of CPUs and the allocation of memory. as_instances_boot_vol_sizeBoot volume size for your application server instance. as_aditional_block_volume_sizeAdditional block volume size. as_aditional_block_volume_mount_pointLocation where the application server block volume is mounted. as_volumes_backup_policyPolicy for volume backup, it can be generic service levels such as gold, silver, and bronze. as_prod_portThe listen port for the first managed server on each host, which is 8001 by default. as_admin_portThe HTTP listen port for the WebLogic administration server, which is 9001 by default. File Manager servers configuration fm_num_instNumber of file manager instances. fm_instances_shapeThe shape of the file manager instance, which specifies the number of CPUs and the allocation of memory. fm_instances_boot_vol_sizeBoot volume size for your file manager instance. fm_aditional_block_volume_sizeAdditional block volume size. fm_aditional_block_volume_mount_pointLocation where the file manager block volume is mounted. fm_volumes_backup_policyPolicy for volume backup, it can be generic service levels such as gold, silver, and bronze. fm_prod_portThe listen port for the first managed server on each host, which is 8001 by default. Ansible server configuration in case if you decide to install. create_ansibleWhether or not to create a framework for Ansible now so that you can install it at a later time. DNS servers configuration create_dnsThe on premise or external DNS service that receives request for the Agile PLM application.