-
Notifications
You must be signed in to change notification settings - Fork 249
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
add oracle_sysctl_file and oracle_hugepages_sysctl_file variables #432
Merged
Rendanic
merged 2 commits into
oravirt:master
from
bartowl:feature/custom-sysctl-file-names-v4
Apr 26, 2024
Merged
add oracle_sysctl_file and oracle_hugepages_sysctl_file variables #432
Rendanic
merged 2 commits into
oravirt:master
from
bartowl:feature/custom-sysctl-file-names-v4
Apr 26, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rendanic
added a commit
to Rendanic/ansible-oracle
that referenced
this pull request
Jul 22, 2024
v4.9.0 ====== Release Summary --------------- This is the 1st production release of ansible-oracle 4.x. The RAC support was the last missing option in 4.x compared to 3.12.0. A documentation for migration from 3.12.0 to 4.x is work in progress. Minor Changes ------------- - added option to disable transparent hugepages in grub (oravirt#460) - bugfix set custom environment for executables with oracle_script_env (oravirt#458) - global_handlers: Introduce a global handlers role (oravirt#455) - global_handlers: Reboot handler improvements, restart_on_requirement=false, ansible-lint (oravirt#457) - molecule: added MOLECULE_IMAGE for custom images and support for SuSE (oravirt#458) - oracle_opatch.py needs to support configurable temp directory (oravirt#462) - orahost: Add a list of additional hosts to /etc/hosts (oravirt#447) - orahost: add oracle_sysctl_file and oracle_hugepages_sysctl_file variables (oravirt#432) - orahost: set vm.hugetlb_shm_group to oracle user GID (oravirt#461) - orahost_logrotate: logrotate setup for oracle files should be optional (oravirt#449) - orahost_meta: Enable calculation of several kernel parameters (oravirt#451) - orahost_meta: added oracle_tmp_stage for hardened systems (oravirt#453) - oraswdb_manage_patches: make role compatible with oraswgi_manage_patches (oravirt#464) - oraswgi_install: Next refactoring of role for RAC (oravirt#464) - set custom environment for executables with oracle_script_env (oravirt#453) Breaking Changes / Porting Guide -------------------------------- - CV_ASSUME_DISTID: SLES15 when ansible_os_family == 'SuSE' (oravirt#458) - oraswgi_manage_patches: python-module xmltodict needed on ansible-controller (oravirt#464) Bugfixes -------- - Consider home was removed earlier, leaving REMOVED=T (oravirt#437) - bugfix: added apply_patches_gi to some tasks with patch_before_rootsh (oravirt#464) - default_gipass is not required if sysasmpassword and asmmonitorpassword are set (oravirt#433) - fixed jinja spacing warning (oravirt#463) - oracluvfy did not fail when error was detected (oravirt#464) - orasw_meta: grid_base != oracle_base only required if role_separation=true (oravirt#439) - oraswdb_install: Configure systemd only for Single Instance without GI/Restart (oravirt#431) - oraswgi_install: honour deploy_ocenv setting (oravirt#443)
Rendanic
added a commit
that referenced
this pull request
Aug 10, 2024
v4.9.0 ====== Release Summary --------------- This is the 1st production release of ansible-oracle 4.x. The RAC support was the last missing option in 4.x compared to 3.12.0. A documentation for migration from 3.12.0 to 4.x is work in progress. Minor Changes ------------- - added option to disable transparent hugepages in grub (#460) - bugfix set custom environment for executables with oracle_script_env (#458) - global_handlers: Introduce a global handlers role (#455) - global_handlers: Reboot handler improvements, restart_on_requirement=false, ansible-lint (#457) - molecule: added MOLECULE_IMAGE for custom images and support for SuSE (#458) - oracle_opatch.py needs to support configurable temp directory (#462) - orahost: Add a list of additional hosts to /etc/hosts (#447) - orahost: add oracle_sysctl_file and oracle_hugepages_sysctl_file variables (#432) - orahost: set vm.hugetlb_shm_group to oracle user GID (#461) - orahost_logrotate: logrotate setup for oracle files should be optional (#449) - orahost_meta: Enable calculation of several kernel parameters (#451) - orahost_meta: added oracle_tmp_stage for hardened systems (#453) - oraswdb_manage_patches: make role compatible with oraswgi_manage_patches (#464) - oraswgi_install: Next refactoring of role for RAC (#464) - set custom environment for executables with oracle_script_env (#453) Breaking Changes / Porting Guide -------------------------------- - CV_ASSUME_DISTID: SLES15 when ansible_os_family == 'SuSE' (#458) - oraswgi_manage_patches: python-module xmltodict needed on ansible-controller (#464) Bugfixes -------- - Consider home was removed earlier, leaving REMOVED=T (#437) - bugfix: added apply_patches_gi to some tasks with patch_before_rootsh (#464) - default_gipass is not required if sysasmpassword and asmmonitorpassword are set (#433) - fixed jinja spacing warning (#463) - oracluvfy did not fail when error was detected (#464) - orasw_meta: grid_base != oracle_base only required if role_separation=true (#439) - oraswdb_install: Configure systemd only for Single Instance without GI/Restart (#431) - oraswgi_install: honour deploy_ocenv setting (#443)
Rendanic
added a commit
to Rendanic/ansible-oracle
that referenced
this pull request
Aug 11, 2024
v4.9.0 ====== Release Summary --------------- This is the 1st production release of ansible-oracle 4.x. The RAC support was the last missing option in 4.x compared to 3.12.0. A documentation for migration from 3.12.0 to 4.x is work in progress. Minor Changes ------------- - added option to disable transparent hugepages in grub (oravirt#460) - bugfix set custom environment for executables with oracle_script_env (oravirt#458) - global_handlers: Introduce a global handlers role (oravirt#455) - global_handlers: Reboot handler improvements, restart_on_requirement=false, ansible-lint (oravirt#457) - molecule: added MOLECULE_IMAGE for custom images and support for SuSE (oravirt#458) - oracle_opatch.py needs to support configurable temp directory (oravirt#462) - orahost: Add a list of additional hosts to /etc/hosts (oravirt#447) - orahost: add oracle_sysctl_file and oracle_hugepages_sysctl_file variables (oravirt#432) - orahost: set vm.hugetlb_shm_group to oracle user GID (oravirt#461) - orahost_logrotate: logrotate setup for oracle files should be optional (oravirt#449) - orahost_meta: Enable calculation of several kernel parameters (oravirt#451) - orahost_meta: added oracle_tmp_stage for hardened systems (oravirt#453) - oraswdb_manage_patches: make role compatible with oraswgi_manage_patches (oravirt#464) - oraswgi_install: Next refactoring of role for RAC (oravirt#464) - set custom environment for executables with oracle_script_env (oravirt#453) Breaking Changes / Porting Guide -------------------------------- - CV_ASSUME_DISTID: SLES15 when ansible_os_family == 'SuSE' (oravirt#458) - oraswgi_manage_patches: python-module xmltodict needed on ansible-controller (oravirt#464) Bugfixes -------- - Consider home was removed earlier, leaving REMOVED=T (oravirt#437) - bugfix: added apply_patches_gi to some tasks with patch_before_rootsh (oravirt#464) - default_gipass is not required if sysasmpassword and asmmonitorpassword are set (oravirt#433) - fixed jinja spacing warning (oravirt#463) - oracluvfy did not fail when error was detected (oravirt#464) - orasw_meta: grid_base != oracle_base only required if role_separation=true (oravirt#439) - oraswdb_install: Configure systemd only for Single Instance without GI/Restart (oravirt#431) - oraswgi_install: honour deploy_ocenv setting (oravirt#443)
Rendanic
added a commit
to Rendanic/ansible-oracle
that referenced
this pull request
Aug 11, 2024
v4.9.0 ====== Release Summary --------------- This is the 1st production release of ansible-oracle 4.x. The RAC support was the last missing option in 4.x compared to 3.12.0. A documentation for migration from 3.12.0 to 4.x is work in progress. Minor Changes ------------- - added option to disable transparent hugepages in grub (oravirt#460) - bugfix set custom environment for executables with oracle_script_env (oravirt#458) - global_handlers: Introduce a global handlers role (oravirt#455) - global_handlers: Reboot handler improvements, restart_on_requirement=false, ansible-lint (oravirt#457) - molecule: added MOLECULE_IMAGE for custom images and support for SuSE (oravirt#458) - oracle_opatch.py needs to support configurable temp directory (oravirt#462) - orahost: Add a list of additional hosts to /etc/hosts (oravirt#447) - orahost: add oracle_sysctl_file and oracle_hugepages_sysctl_file variables (oravirt#432) - orahost: set vm.hugetlb_shm_group to oracle user GID (oravirt#461) - orahost_logrotate: logrotate setup for oracle files should be optional (oravirt#449) - orahost_meta: Enable calculation of several kernel parameters (oravirt#451) - orahost_meta: added oracle_tmp_stage for hardened systems (oravirt#453) - oraswdb_manage_patches: make role compatible with oraswgi_manage_patches (oravirt#464) - oraswgi_install: Next refactoring of role for RAC (oravirt#464) - set custom environment for executables with oracle_script_env (oravirt#453) Breaking Changes / Porting Guide -------------------------------- - CV_ASSUME_DISTID: SLES15 when ansible_os_family == 'SuSE' (oravirt#458) - oraswgi_manage_patches: python-module xmltodict needed on ansible-controller (oravirt#464) Bugfixes -------- - Consider home was removed earlier, leaving REMOVED=T (oravirt#437) - bugfix: added apply_patches_gi to some tasks with patch_before_rootsh (oravirt#464) - default_gipass is not required if sysasmpassword and asmmonitorpassword are set (oravirt#433) - fixed jinja spacing warning (oravirt#463) - oracluvfy did not fail when error was detected (oravirt#464) - orasw_meta: grid_base != oracle_base only required if role_separation=true (oravirt#439) - oraswdb_install: Configure systemd only for Single Instance without GI/Restart (oravirt#431) - oraswgi_install: honour deploy_ocenv setting (oravirt#443)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds 2 parameters which allow to change the sysctl file in which oracle will write its main and hugepages settings:
oracle_sysctl_file
oracle_hugepages_sysctl_file
It also allows to specify an override directly in
oracle_sysctl
/oracle_hugepages
by specifying one of those attributes:state
- defaults topresent
, but can also acceptabsent
in order to move settings from default to custom sysctl filesysctl_file
- allows to change the location on per-element basisThose additional attributes are not directly documentet as those 2 lists are considered internal and should not normally be tampered with. They are however needed should one want to move those settings from default
/etc/sysctl.conf
to for example a file under/etc/sysctl.d/...
. Especially thestate
.It is worth noting, that without additional variables in inventory this does not change the way this role operates in any way. It also allows to override default sysctl file location when such requirement is there.