Giter Club home page Giter Club logo

mimergel / sap-hana-vm Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 24.0 1.14 MB

Deploy a SAP HANA DB VM + FS Setup + OS Preparations + DB Installation + Backup Setup + Azure Monitoring Extension for SAP + Performance Testing + Cleanup

Home Page: https://github.com/mimergel/sap-hana-vm

License: MIT License

Shell 6.21% Jinja 5.43% PowerShell 14.45% Bicep 73.91%
azure sap hana sap-hana diskconfig azure-pipeline azure-devops redhat suse ansible

sap-hana-vm's People

Contributors

mimergel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sap-hana-vm's Issues

Unsure what sap_swap does and how swap is decided

Hi,

I want to configure my swap per type of machine, and came upon a block of code I do not quite understand:

- include_tasks: swap.yml
  loop: "{{ sap_swap }}"
  when: item.tier == "HANA" or item.tier == "all"

I investigated sap_swap, which is an array with all/HANA, with 2 different swap sizes.

sap_swap:
  - { tier: 'all',  swap_size_mb: '20480' }
  - { tier: 'HANA', swap_size_mb: '2048' }

How does this script differentiate between machine "tiers"? Won't the linked swap.yml that is being looped always apply the last value of this array? I don't see a reference to tiers anywhere.

- name:         "Ensure swapfile size"
  lineinfile:
    state:      present
    dest:       /etc/waagent.conf
    regexp:     'ResourceDisk.SwapSizeMB='
    line:       'ResourceDisk.SwapSizeMB={{ item.swap_size_mb }}'

I am probably missing something, but where is tier coming from and how is a VM identified as having one tier or another?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.