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

Create a Contributor's/Maintainer's Guide #535

Open
7 of 22 tasks
jprestop opened this issue May 21, 2024 · 0 comments
Open
7 of 22 tasks

Create a Contributor's/Maintainer's Guide #535

jprestop opened this issue May 21, 2024 · 0 comments
Assignees
Labels
alert: NEED ACCOUNT KEY Need to assign an account key to this issue alert: NEED CYCLE ASSIGNMENT Need to assign to a release development cycle alert: NEED MORE DEFINITION Not yet actionable, additional definition required component: documentation Documentation issue priority: medium Medium Priority requestor: METplus Team METplus Development Team type: task An actionable item of work

Comments

@jprestop
Copy link
Contributor

Describe the Task

Create a Contributor's or a Maintainer's Guide. Include information like how to load a database and instructions on restarting Tomcat when the METviewer application is unresponsive.

The NCAR production instance of METviewer hosted on the machine named "mohawk" is accessible here:
https://dtcenter.ucar.edu/met/metviewer/metviewer1.jsp

The development instance of METviewer hosted on the machine named "dakota" is accessible here:
http://dakota.rap.ucar.edu:8080/metviewer_dev/metviewer1.jsp

METviewer runs through tomcat. After "mohawk" or "dakota" are rebooted or when the METviewer application is unresponsive, tomcat needs to be restarted. This detail is included in the instructions for RAL-IT to do after rebooting these machines, but sometimes our team needs to do this task.

Here's how you restart Tomcat:

  1. Log on to the machine (i.e. mohawk or dakota) as the 'vxwww' user.
    ssh -Y [email protected]
  2. Find Tomcat in /opt/vxwww/tomcat:
    cd /opt/vxwww/tomcat
  3. Run the shutdown script:
    bin/shutdown.sh
  4. See if its still running:
    ps -ef | grep java | grep '/opt/vxwww/tomcat'
  5. If so, manually kill it (e.g. kill -9 PID, where PID is the process-id found above).
  6. Run 'ps -ef' command to confirm it's gone.
  7. Restart tomcat:
    bin/startup.sh

Time Estimate

TBD

Sub-Issues

Consider breaking the task down into sub-issues.

  • Add a checkbox for each sub-issue here.

Relevant Deadlines

None

Funding Source

TBD

Define the Metadata

Assignee

  • Select engineer(s) or no engineer required
  • Select scientist(s) or no scientist required

Labels

  • Review default alert labels
  • Select component(s)
  • Select priority
  • Select requestor(s)

Milestone and Projects

  • Select Milestone as a METviewer-X.Y.Z version, Consider for Next Release, or Backlog of Development Ideas
  • For a METviewer-X.Y.Z version, select the METviewer-X.Y.Z Development project

Define Related Issue(s)

Consider the impact to the other METplus components.

Task Checklist

See the METplus Workflow for details.

  • Complete the issue definition above, including the Time Estimate and Funding Source.
  • Fork this repository or create a branch of develop.
    Branch name: feature_<Issue Number>_<Description>
  • Complete the development and test your changes.
  • Add/update log messages for easier debugging.
  • Add/update unit tests.
  • Add/update documentation.
  • Push local changes to GitHub.
  • Submit a pull request to merge into develop.
    Pull request: feature <Issue Number> <Description>
  • Define the pull request metadata, as permissions allow.
    Select: Reviewer(s) and Development issue
    Select: Milestone as the next official version
    Select: METviewer-X.Y.Z Development project for development toward the next official release
  • Iterate until the reviewer(s) accept and merge your changes.
  • Delete your fork or branch.
  • Close this issue.
@jprestop jprestop added type: task An actionable item of work priority: medium Medium Priority component: documentation Documentation issue alert: NEED ACCOUNT KEY Need to assign an account key to this issue alert: NEED MORE DEFINITION Not yet actionable, additional definition required alert: NEED CYCLE ASSIGNMENT Need to assign to a release development cycle requestor: METplus Team METplus Development Team labels May 21, 2024
@jprestop jprestop added this to the METviewer-6.0.0 milestone May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alert: NEED ACCOUNT KEY Need to assign an account key to this issue alert: NEED CYCLE ASSIGNMENT Need to assign to a release development cycle alert: NEED MORE DEFINITION Not yet actionable, additional definition required component: documentation Documentation issue priority: medium Medium Priority requestor: METplus Team METplus Development Team type: task An actionable item of work
Projects
Status: No status
Development

No branches or pull requests

3 participants