Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

created server_type_onr_db.yml for successful execution of disks role #551

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 98 additions & 0 deletions ansible/group_vars/server_type_onr_db.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
---
#ansible_python_interpreter: /usr/bin/python3.9

users_and_groups_system:
- name: oracle
group: oinstall
groups:
- dba
- wheel

roles_list:
- users-and-groups
- sudoers
- get-ec2-facts
- set-ec2-hostname
- ssh-host-keys
- domain-search
- disable-ipv6
- disable-firewall
- time
- packages
- message-of-the-day
- amazon-ssm-agent
- amazon-cli
- ansible-script
- epel
# - hugepages has issues
- disks
- azure-cli
- azcopy
- oracle-19c
# - oracle-db-standby-setup # manually run on a standby
- oracle-secure-backup
- oracle-db-backup
- collectd
- amazon-cloudwatch-agent
- amazon-cloudwatch-agent-collectd
- collectd-service-metrics
- collectd-connectivity-test
- collectd-oracle-db-connected
- collectd-textfile-monitoring

packages_yum_install:
- zip-3.0-23.el8
- git
- tar

# Storage: volumes, partitioning and mounting
disks_partition:
- ebs_device_name: /dev/sde
oracle_group: data
oracle_label: DATA01
#- ebs_device_name: /dev/sdf
# oracle_group: data
# oracle_label: DATA02
# - ebs_device_name: /dev/sdg
# oracle_group: data
# oracle_label: DATA03
# - ebs_device_name: /dev/sdh
# oracle_group: data
# oracle_label: DATA04
# - ebs_device_name: /dev/sdi
# oracle_group: data
# oracle_label: DATA05
- ebs_device_name: /dev/sdj
oracle_group: flash
oracle_label: FLASH01
# - ebs_device_name: /dev/sdk
# oracle_group: flash
# oracle_label: FLASH02

disks_mount:
- ebs_device_name: /dev/sdb
dir: /u01
fstype: xfs
- ebs_device_name: /dev/sdc
dir: /u02
fstype: xfs
- ebs_device_name: /dev/sds
dir: swap
fstype: swap

# Oracle common variables
oracle_install_user: oracle
oracle_install_group: oinstall
oracle_inventory: /u01/app/oraInventory
database_home: /u01/app/oracle/product/19c/db_1
grid_home: /u01/app/oracle/product/19c/gridhome_1

assume_ec2_role_name_prefix: ec2-database-role

collectd_monitored_services_servertype:
- metric_name: service_status_os
metric_dimension: chronyd
shell_cmd: "systemctl is-active chronyd"
- metric_name: service_status_app
metric_dimension: oracle-ohasd
shell_cmd: "systemctl is-active oracle-ohasd"
Loading