Skip to main content
Skip table of contents

Get Weinfo

What is Get Weinfo

Get Weinfo is an automation job that retrieves the results of Weinfo command.

Why would Get Weinfo be used?

This job provides basic information about the particular environment that is being queried. This information is often times the pre-requisites to the parameters that need to be inputted to run other automation jobs.

For example, line 3 displays the app server of dtercmb01 which is a parameter asked to run other jobs including appusers and code_deploy.

Line 3: App Server

Line 4: Code Version

Line 5: Last Code Deploy

Line 7: SQL Server

Lines 9 - 14: Software Version that can also be found in the application under Support / Software Version

CODE
Environment:  Terra Dev
URL:          terraep-dev.wenergysoftware.com
Host Name:    dtercmb01.we.aws
Status:       Deploy of 8.3.2.terra
              performed 2023-03-22
              for story #None
Database:     terra_dev on ntersql01.we.aws

Versions:
  ra          8.3.2.terra 18edf277c0038567c6974a5ff61959713df7ff64
  valuation   8.3.2.terra d398226004b6f5ae747ed1bf749bff80cdc0c8d0
  redeye                  831b5067358bcffb64dffade7f33890bc74b5754
  etl                     56a98282cfb44eaf5f1fd0d34166ec9190f02ae8
  gora                    4c1e6237820ed558180ec74bd7524cadac2e6cb4

How to Run Get Weinfo

  1. Authenticate into Jenkins Automation.

  2. Select the Support folder.

  3. Select Get Weinfo.

  4. Select Build with Parameters.

  5. Input the account, environment, and app server for the environment you are querying. The jira_ticket number is optional.

  6. Select Build.

  7. Click on the job that was executed.

  8. Select Console Output.

  9. Wait for the job to complete and the results will be at the bottom of the screen.

📘 If there are multiple ways to do this setup list each one out

Some of the information that Get Weinfo provides can also be retrieved in another application called Datadog.

  1. Authenticate into Datadog.

  2. Navigate to the Dashboards sidebar.

  3. Select Environments.

  4. Type in the client name under the search bar.

  5. There is only one line item that says sql for the role, thus paecsql01 is the sql server for all of the non-prod and prod environments for this client.

  6. The line item that has prod for the environment and combo for the role is the app server thus paeccmb01 is the app server.

How does this concept impact/feed other areas in the application?

Get Weinfo provides the required parameters that are used as inputs for other Automation jobs such as restart_services and Run_Ruby_Script.

Outside of Automation jobs, Get Weinfo provides the application URL, software version, code version and last code deploy to the environment.

Other items worth noting that would impact the process.

Changes coming soon

Known issues with the process

Frequently Asked Client Questions

Links provided are from W Energy Software Support Confluence Space @a user

https://wenergysoftware.atlassian.net/l/cp/YnLQS0dD

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.