2. Organization

2.1. Introduction

This document aims to explain Organizations in the Exastro system.

2.2. Organizations

Exastro IT Automation 2.0 introduced the Multitenant function. An Organization is 1 tenant.
It can be used to logically divide Organization spaces. Even one the same Exastro system, users can create an Organization and have it function as a private environment that will not share files with other Organizations.
The user will need to create an Organization in order to use the different Exastro applications.
Operation overview figure

2.3. Create Operation

This section explains how to create Organizations.

2.3.1. Goal

By creating an Organization, the user will also create an Organization administrator and can access an Endpoint URL for the Organization.
The following processes will also happen within the system.
  • Process

    1. Realm data for the Organization and Administrator user will be registered to Keycloak.

    2. The Organization data will be registered to the relational database (MariaDB, MySQL, etc).

    3. A directory for the Organization will be created to the Exastro IT Automation peristent volume.

    4. A user for the Organization will be registered to GitLab.

2.3.2. Pre-requisites

The workflow in this document requires the following conditions.
  • Conditions

    • After installing the system, the user must be able to log in to the Keycloak management console

    • The user must have the following information required by the System management.

      • Management console URL

      • System administrator User ID

      • System administrator Password

    • The following applications must be installed

      • curl

      • git

      • jq

2.3.3. Create Organization

There are 2 diferent ways of creating Organizations.
  • Features

Organizations can be created from the Web page.
  • Create

  1. From the menu, select Organization management.

    images/ja/manuals/platform/Organization/org_management.png
  2. This will display the Organization list. Press the Create button and create a new Organization.

    images/ja/manuals/platform/Organization/オーガナイゼーション一覧_作成.png
  3. Input information for the new Organization and press the Register button.

    images/ja/manuals/platform/Organization/オーガナイゼーション作成_登録.png
    表 2.33 Organization creation input items.

    Input area

    Item name

    Description

    Organization standard information settings

    Organization ID

    Specify an unique ID for the Organization.

    This ID specified will be used to link systems.

    Organization name

    Specify a name for the Organization.

    Resource plan

    Specify the Resource plan that will be linked to the Organization.

    If shortened, the default resource plans will be specified.

    For more information regarding Resource plans, see Resource plans.

    Organization administrator settings

    Username

    Specify a username for the Organization administrator.

    Password

    Specify an initial password for the Organization administrator.

    email

    Specify an E-mail address for the Organization administrator.

    Name

    Specify a name for the Organization administrator.

    Last name

    Specify a last name for the Organization administrator.

    Activate

    Specify whether the Organization function should be active or not.

    When creating, make sure this is set to Active.

    Exastro IT AutomationOption settings

    Install driver

    Specify which drivers to install.

    CI/CD for IaC

    For more information regarding the driver, see the following document.

    CI/CD for IaC

    Exastro OASE

    MongoDB is required in order to install Exastro OASE. The user must input configurations in order to connect to MongoDB.

    ・ Document Store : "mongodb" is fixed.

    ・ Automatic pay-out : Tick the checkbox if the user is using the MongoDB configured when installing the system If not, untick the checkbox and input a Python connection string.

    ・ Python connection string :Input the Python connection string for the MongoDB the user wants to use. The MongoDB account must have root role or similar permissions.

    Example: mongodb://username:password@hostname:27017/

    For more information regarding the driver, see the following document.

    OASE

    Terraform CLI driver

    For more information regarding the driver, see the following document.

    Terraform CLI driver

    Terraform Cloud/EP driver

    For more information regarding the driver, see the following document.

    Terraform Cloud/EP driver

2.3.4. Organization list

There are 2 methods for checking the Organization list.

Follow the steps below.

  1. From the menu, select Organization management.

    images/ja/manuals/platform/Organization/org_management.png
  2. This will display the Organization list where users can see all created Organizations.
    images/ja/manuals/platform/Organization/オーガナイゼーション一覧_選択.png
  3. The user can press any Organization to see more detailed information.
    images/ja/manuals/platform/Organization/オーガナイゼーション詳細_v2-4.png

2.3.5. Edit Organization

Follow the steps below to edit Organizations.
Users can change the name of Organizations and configure resource plans linked to the Organization.
  1. From the menu, select Organization management.

    images/ja/manuals/platform/Organization/org_management.png
  2. This will display the Organization list. Press the Edit button on the line with the desired Organization.
    images/ja/manuals/platform/Organization/オーガナイゼーション編集.png
  3. Users can edit the name of the Organization.
    images/ja/manuals/platform/Organization/orgname_edit_v2-5.png

    Tip

    The Organization ID cannot be changed.
  4. Switch the for desired drivers to ON in order to install them.
    Users can switch them to OFF to uninstall drivers.
    Check that there are no problems with the contents and press the Register button.
    ../../_images/org_edit_driver_v2-5.png
  5. If uninstalling any drivers, Input delete in the deletion confirmation page and press Yes, delete button.
    ../../_images/%E3%82%AA%E3%83%BC%E3%82%AC%E3%83%8A%E3%82%A4%E3%82%BC%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E7%B7%A8%E9%9B%86_%E3%83%89%E3%83%A9%E3%82%A4%E3%83%90%E5%89%8A%E9%99%A4.png

    警告

    Uninstalling a driver will also automatically delete all related data. Said data cannot be restored.
  6. Press the Resource plan settings button to link resource plans to the Organization.
    Select the desired Resource plan ID from the pulldown menu, specify a start date and press the Apply button.
    images/ja/manuals/platform/Organization/オーガナイゼーション編集_リソースプラン設定.png
  7. The Resource plan will be added to the Organization line.
    Check that there are no problems with the contents and press the Register button.
    images/ja/manuals/platform/Organization/オーガナイゼーション編集_登録_v2-5.png
  8. In order to remove resource plans from the Organization, press Release button to release it from the Organization.
    images/ja/manuals/platform/Organization/オーガナイゼーション編集_リソースプラン解除_v2-5.png
  9. In the release confirmation page, input the Resource plan ID and press the Yes, release button.
    images/ja/manuals/platform/Organization/オーガナイゼーション編集_解除確認.png
  10. Released resource plan lines will be greyed out.
    Check that there are no problems with the contents and press the Register button.
    images/ja/manuals/platform/Organization/オーガナイゼーション編集_リソースプラン解除登録_v2-5.png

Tip

Users can link and release resource plans at the same time by performing their respective steps and pressing the Register button.

2.3.6. Delete Organization

There are methods for deleting Organizations.
Follow the steps below.
  1. From the menu, select Organization management.

    images/ja/manuals/platform/Organization/org_management.png
  2. This will display the Organization list. Press the Delete button on the line of the desired Organization.
    images/ja/manuals/platform/Organization/オーガナイゼーション削除_一覧から選択.png
  3. A confirmation window will pop up asking if the user really wants to delete the Organization. If yes, input the platform/The ID of the Organization that will be deleted and press the Yes, delete button.
    images/ja/manuals/platform/Organization/オーガナイゼーション削除_実行確認.png

警告

Deleted organizations cannot be restored.

2.4. Access Organization

The Organization site can be displayed through the Web browser.
For the Helm chart version, access the EXTERNAL_URL_MNG configured in Service Public settings.
For the Docker Compose version, access the Exastro Management service URL configured in Preparation.
リスト 2.47 Format
http[s]://{Exastro Platform management URL}:{Exastro Platform management port}/{Organization ID}/platform/
リスト 2.48 Examples
# Helm chart version
http://exastro-suite-mng.example.local:30081/org001/platform/

# Docker Compose version (RHEL environment)
http://exastro-suite-mng.example.local:81/org001/platform/

# Docker Compose版 (Non-RHEL environment)
http://exastro-suite-mng.example.local:30081/org001/platform/

2.5. Other restrictions/Remarks

2.5.1. Organization ID reserved phrases

The Organization ID cannot contain words matching the following phrases.
  • master

  • platform

  • account

  • account-console

  • admin-cli

  • broker

  • realm-management

  • security-admin-console

  • *-workspaces

  • system-*-auth

2.5.2. Re-creating Organizations

If an Organization failed to be created, rerunning the Organization creation process will not work and display an error like this: "The specified Organization (xxx)has already been created".
If the user is unable to create an Organization with the same ID of an already failed Organization, add the --retry option to the command parameter.
./exastro-platform/tools/create-Organization.sh --retry
./exastro-platform/tools/create-Organization.sh ./exastro-platform/tools/create-Organization.sample.json