OMEnvironment defines the specifications to create an Sterling Order Management System Software environment including database configurations, custom properties, server configurations, and
more.
Procedure
- Create an OMEnvironment yaml file by configuring the required parameters.
For more information about the parameters, see OMEnvironment custom resource parameters.
Only one instance of OMEnvironment can be created in a namespace. If you need to
create multiple environments for development, QA, staging, production, and more, you need to create
the respective namespaces in your cluster and create an environment against the specific
namespace.
- To get started, see the sample manifest that is provided. For more information, see OMEnvironment custom resource manifest.
- Run the following command to create a namespace where the OMEnvironment
resource is to be created.
- Run the following command to create or update the OMEnvironment in the
cluster.
oc apply -f <om-environment-yaml-file> -n <namespace>
- Monitor the status of the custom resources to ensure that the installation is successful.
For more information, see Operator status details.
- To delete the OMEnvironment, run the following command.
oc delete omenvironment <name-of-cr> -n <namespace>