4

68621 - Gather information and check for common issues on a SAS® Viya® 2020.x de...

 2 years ago
source link: http://support.sas.com/kb/68/621.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Sample 68621: Gather information and check for common issues on a SAS® Viya® 2020.x deployment using a script

The script on the Full Code tab performs a series of checks on a SAS Viya 2020.x deployment, generates a report, and gathers commonly requested output for Technical Support.

The script performs the following checks:

  • Checks the version of the kubectl command against the version of the Kubernetes cluster
  • Checks the version of Kustomize
  • Checks that each Kubernetes node is in a Ready state and is running the same version
  • Captures the output of kubectl describe nodes to a file
  • Checks that a default storage class is defined
  • Checks the version of cert-manager that is installed
  • Checks the version of NGINX ingress that is installed
  • Checks the health of the SAS® Deployment Operator pod, if present
  • If SAS Viya is deployed, it also does the following:
    • Attempts to pull the order number, cadence, and release
    • Checks that the PVCs are all bound and any problem storage classes
    • If an internal Postgres is in use, it checks its health
    • Checks the health of the stateful services: consul, cache locator, cache server, and RabbitMQ
    • Checks the saslogon pod's health
    • Checks all pods for any in an unhealthy state, and pulls their logs if found
    • Checks that the defined SAS_SERVICES_URL is accessible
    • Checks that the certificate that is returned validates against the trusted CA file from the pods
    • Pulls the kubectl get output for resources (deployments, stateful sets, PVCs, and so on) into a file
    • If run from the $deploy directory, pulls the assets used into a TAR file

After performing these checks, a TGZ file called assets-##########.tgz is created that can be sent to Technical Support for review.

To access the sample program, click the Full Code tab.


These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK