docs-site icon indicating copy to clipboard operation
docs-site copied to clipboard

Create a key concepts chapter

Open nannanli opened this issue 4 years ago • 6 comments

Is your request for enhancement related to a problem? Please describe.

A user might get confused about the various terminologies and concepts in Zowe. Those are scattered in different chapters so there is no way to get acquainted with them systematically before getting started with Zowe.

Describe the solution you'd like

Document some key concepts that will help users to understand how Zowe works and how to use it effectively. Some candidates:

For install:

  • runtime
  • instance
  • USS

For Zowe components: (can link to overview)

  • APIML
  • Zowe CLI
  • Zowe Explorer
  • ZSS
  • microservice
  • API Gateway

etc...

Related doc pages

Can be placed under Overview or getting started.

Additional context

nannanli avatar Jul 20 '20 09:07 nannanli

Zowe terminology

Instance

An instance is a set of configuration values that enable Zowe to run its server and child processes. An instance is defined in an instance directory, referred to as INSTANCE_DIR. The INSTANCE_DIR contains an environment file instance.env, which specifies the configuration values for the instance. These values include the unique set of ports to be used, parameters to control product behaviour, the unique server name prefix to be used, and the name of the zowe runtime directory where the zowe product files to be run are installed.

The instance is created and configured by the installing user when Zowe is being installed. You can edit the instance files at any time, but these changes will not be applied until you restart the instance.

Runtime

This is the set of product files to be run. It is stored in a runtime directory, referred to as ROOT_DIR. ROOT_DIR is created when Zowe is installed, either from a convenience build or an SMP/E build. When you upgrade zowe, the installer mechanism replaces all of the old code in ROOT_DIR with the new code. Apart from the installer, ROOT_DIR and its contents are read-only, in order to preserve product integrity.

Interrelationships

The purpose of an instance is to separate the user configuration settings from the runtime executable code, so that you can preserve the user settings when the runtime is upgraded, allow users who want different settings to share the same runtime code, or switch an instance to use a different version of the runtime code (if, unusually, you have separate runtimes installed at the same time).

Instance files and runtime files are separate, and you cannot have an INSTANCE_DIR inside a ROOT_DIR or vice-versa. You can have many instances, and each instance can refer to any single runtime. You should start and stop the execution of a runtime by using the zowe-start.sh and zowe-stop.sh scripts in the INSTANCE_DIR. This starts and stops the instance with the server name prefix specified in instance.env. You must avoid using the same server name prefix in different instances. Once started, an instance provides services to all users who accesses its endpoints.

You can run more than one instance (with different server names) at a time, subject to the capacity of your system.

John-A-Davies avatar Jul 20 '20 11:07 John-A-Davies

@Joe-Winchester Please comment on this content. @nannanli Please indicate the names you suggest for any new .md files that might be required.

John-A-Davies avatar Jul 20 '20 12:07 John-A-Davies

This is now tracked as part of #2252

nannanli avatar Aug 04 '22 12:08 nannanli

I'd like to re-open this issue as the PR hasn't been merged, so if we just track issues, depending on the dashboard, things could slip through the cracks

DivergentEuropeans avatar Jul 18 '23 18:07 DivergentEuropeans

Lmk everyone if that's not how the Doc squad operates

DivergentEuropeans avatar Jul 18 '23 18:07 DivergentEuropeans