Skip to content

ditrit/OGrEE-Core

Repository files navigation

NetBox logo

A smart datacenter digital twin

Quality Gate Status API Coverage CLI Coverage ⚙️ Build - Publish

OGrEE exists so managing a datacenter can be easier. It aggregates data from different datacenter tools to create a digital twin easily accessible from your computer, smartphone or even VR/AR glasses. Its analysis capabilities helps identify issues faster, better prepare for maintenance and migrations, minimize risks and errors.

Why OGrEE | OGrEE-Core | OGrEE-3D | Quickstart | Demo | Get Involved

ogree-schema

Why OGrEE

Different professionals work together in a datacenter with its different tools, OGrEE is here to integrate them. Here are some use cases and questions OGrEE may help with:

  • An AR/VR headset connected to OGrEE can give an administrator or expert live access to help an in-place technician. AR/VR view can also guide a technician to find the exact server and disk that needs to be replaced.
  • OGrEE's 3D view from OGrEE can help the datacenter team organize space and prepare new installations.
  • Data analysis in the 2D view can let you know that those docker containers that are not performing as they should are all running in servers from the same rack that is warmer than it should. A port in the switch needs to be unplugged? A power pnale needs maintenance? OGrEE can tell you what may be impacted, from racks and servers to even software components.
  • Migrating to cloud? Have a complete view of your datacenter and mitigate impacts with OGrEE.

OGrEE has an offline mode, working just with dumps and logs extracted from other tools to avoiding floating the network with constant requests.

OGrEE-Core

OGrEE-Core assembles 3 essential components of OGrEE:

  • API: an API developed in Go with a MongoDB to store all the datacenter information (sites, buildings, devices, applications; etc.) and provide secure access to it.
  • APP: APP is a Flutter application that can run as a native app (iOS, Android, Windows, Linux, Mac) or webapp (all main browsers) and its Go backend to view and interact with the datacenter data, providing reports and analysis.
  • CLI: command line client to interact with the data from the API and to pilot the 3D view from OGrEE-3D.

Together, these components form an OGrEE Tenant, a deployment instance of OGrEE.

ogree-schema

OGrEE-3D

This is OGrEE's 3D client, a 3D datacenter viewer based on Unity game engine to display and interact with an OGrEE Tenant. You can access to the OGrEE-3D repo here.

Quickstart

A few options are avaiable to help deploy your first OGrEE Tenant:

Option 1: SuperAdmin APP

The APP has a SuperAdmin version to create and manage OGrEE Tenants with a pretty UI. To quickly deploy it, just execute the launch script appropriate to your OS from the deploy/app folder.

cd deploy/app

# Windows (use PowerShell)
.\launch.ps1
# Linux 
./launch.sh
# MacOS 
./launch.sh -m

This will use docker to compile APP and BACK (a Go backend for SuperAdmin), then run a docker container for the SuperAdmin webapp and locally run the compiled binary of BACK. For more launch options, check the documentation under deploy.

Check the SuperAdmin user guide on how to create and manage a tenant as well as download a CLi and 3D client from it.

Option 2: Docker compose

Don't want a pretty UI to manage a tenant? Just run docker compose to create a new tenant:

docker compose --project-name <your-project> --profile web -f deploy/docker/docker-compose.yml up

This will create a docker deployment with an API, a DB and a WebAPP

The config can be updated beforehand in deploy/docker/.env

Option 3: Windows Installer (Windows only)

We have a Windows Installer to quickly install SuperAdmin with a CLI and a 3D client. Download the latest from here and it will guide through the installation. Then, check the SuperAdmin user guide on how to create and manage a tenant

OGrEE-Tools

OGrEE-Tools is a collection of tools help populate OGrEE with data. They can help extract and parse data from multiple logs, create 3D models of servers using Machine Learning and much more. Check out its repo here.

Demo

Check out our Live Demo! 👉 https://app.demo.kube.ogree.ditrit.io/
Login with user john@ogreecore.com and password password.

demo-screeenshot

You can also see a quick demo video of a datacenter being created on OGrEE:

video1.mp4

Our website ogree.ditrit.io also has some others videos and photos of OGrEE.

Get Involved

New contributors are more than welcome!