Appdynamics / Appdynamics/HA-toolkit

Refactor explicit huge page support into its own init script

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
13
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Explicit huge page support is currently rolled into the appdcontroller-db init script.

It should be refactored into its own init script that runs before MySQL starts.

When it starts, it should add the large pages config lines to domain.xml and db.cnf. When it stops, it should remove those lines.

When stop() is called, it should stop the app server and mysql before completing its own stop functions.

It should use /etc/default or /etc/sysconfig for its settings.

Operations to enable or disable the large pages init script should be abstracted into their own shell scripts since not all distributions honor the LSB init script header. Support for these functions will also be required in the setuid and pbrun wrappers.

Add large pages status to appdcontroller init script's status() function

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.