Code Monkey home page Code Monkey logo

gts_cluster_checks's Introduction

cluster_checks

Python scripts to test the clusters after they have been deployed

Usage

Running the python3 script use a file cluster.txt that needs to hold three variables. The file has the same settings as in the cluster.txt file we use for the stage_workshop mass deploy
The file needs to look like: IPADDRESS|<ADMIN_PASSWORD>|EMAILADDRESS example: 10.10.10.37|techTest!@#|[email protected]

The easiest way is to use the file that is being used for the staging of the clusters in HPOC.

manipulate_cluster.py

If the file is not in the correct format you can use the python3 manipulate_cluster.py. it will add the needed information to the list of IP addresses. Make sure the cluster.txt file has the ip addresses and the script will add |password|emailaddress to each line at the end. This file can then be used for the deployment of the clusters.

PRISM Elements

Use python3 cluster_pe.py to check the settings for the PE environment:
a) Eula
b) Pulse
c) Network

  1. Right networks?
  2. Right VLANs?

d) is AD configured
e) DNS servers
f) NTP servers

PRISM Central

Use python3 cluster_pc.py to check for the PC environment:
a) DNS servers
b) is AD integrated
c) is Calm enabled
d) is Karbon enabled
e) is Objects enabled
f) has LCM run adn updated the components
g) has Flow been enabled
h) do we have the blueprints? We check:

1) CICD
2) Citrix
3) Era deployment
4) KarbonClusterDeployment

i) Are the apps running?
j) Do we have the images uploaded? If not which are missing?

Apps check

Use python3 cluster_bp.py to check for the PC environment:
a) Are the apps running? We check:

1) Citrix Infra
2) Era Server
3) KarbonClusterDeployment

Force Karbon image download

Sometimes the Karbon BP isn't able to download the Karbon Image. To force the Karbon image to download use this script. It uses the information from the cluster.txt file. Run using python3 karbon_download.py. This will check for the image to be available. If not it tells Karbon to download the image if the Karbon version is 2.x. If it is not this version it throws an error message and continues to the next cluster.

gts_cluster_checks's People

Contributors

wessenstam avatar

Watchers

James Cloos avatar  avatar

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.