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

Refactoring oraswgi-install #82

Merged
merged 6 commits into from
Oct 13, 2021
Merged

Conversation

Rendanic
Copy link
Member

@Rendanic Rendanic commented Oct 10, 2021

This PR includes a huge rework in oraswgi-install.
The following points are changed:

  • Removed parameter -ignorePrereq during GridSetup.sh
    Ignoring the check for system requirements is not a good idea by default. That created a lot of extra work after or during execution of root.sh with failures during execution.
    The old behavior could be reenabled with: gi_ignoreprereq: true

  • added asmoper to oracle user in orahost
    This is a requirement in Grid-Infrastructure 19c.

  • Parameter oracle_asm_disk_string could be set when asmlib is used
    This is needed when Grid-Infrastrucuture is installed, because the default 'ORCL:*' could create problems during requirements check in GridSetup.sh.
    The '*' could be added at end of oracle_asm_disk_string. That was forbidden before this change and only works with 19c or 21c.

  • added execution of runcluvfy.sh before GridSetup.sh
    This creates a much easier readable report for wrong system settings.

  • refactoring the includes for 19c and 21c
    The includes have largly refactored to remove odd noqa exceptions from ansible-lint.

  • new way installing cvuqdisk.rpm in Grid-Infrastructure
    The rpm is downloaded to the ansible master and copy to all cluster nodes instead of unarchive the installation media and remove it after the RPM installation. GridSetup will fail, if the archive is remove from other nodes. The new strategy is much faster then the old way...

  • added extra debug tasks with '"msg": "install-home-gi | Start ..' before long running tasks
    This makes the output during role execution much easier to understand when display_skipped_hosts = false has been set in ansible.cfg.

All changes have been tested with Oracle 19c and 21c only. There are no plans to backport them to previous releases of Grid-Infrastructure.

@Rendanic Rendanic self-assigned this Oct 10, 2021
@Rendanic Rendanic added bug Something isn't working enhancement New feature or request labels Oct 10, 2021
@Rendanic Rendanic marked this pull request as ready for review October 10, 2021 19:29
@Rendanic Rendanic merged commit c2224ce into opitzconsulting:oc Oct 13, 2021
@Rendanic Rendanic deleted the prrefactorgi branch July 4, 2022 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant