XAP

Deploy and Undeploy Services in Ops Manager

Ops Manager can be used to deploy and undeploy a service.

Deploy Command in Ops Manager

With the deploy command, a business user can introduce new services to the grid. These can be either stateful services including a Space and data, or stateless services with business logic.

On the Services screen, click on the deploy option (plus sign) to introduce a new service to the grid.

The Deploy Service menu will display.


Each option is explained below.

Deploy Space Service — Basic Options

  • Service name — the name of the new service that will be introduced to the grid
  • TopologyCluster schema:Partitioned — a Space with one or more partitions
  • TopologyCluster schema:Single Space — a Space with only one instance
  • TopologyCluster schema:Sync replicated — a data operation is not considered complete by the client until all replicate Spaces have been updated
  • TopologyCluster schema:Async replicated — a data operation is considered complete by the client when the primary Space is updated. Changes are performed asynchronously at the replicated Spaces.
  • Number of partitions — the number of primary partitions for the space
  • Image repository and Image tag — Identifying information to access the external image file
  • Bind Port — the port which the gateway server will bind to in the host. The user should allocated a port, typically 5432, and bind it to a routable IP address, in case there are several IPs for a specific host.
  • Load Balancer and Load Balancer Port (Kubernetes only) — Externally available IP address for the service
  • High availability — Provide a backup partition for each primary partition.

Deploy Space Service — MemoryXtend — Off-heap

  • TopologyCluster schema:Sync replicated — a data operation is not considered complete by the client until all replicate Spaces have been updated
  • TopologyCluster schema:Async replicated — a data operation is considered complete by the client when the primary Space is updated. Changes are performed asynchronously at the replicated Spaces.
  • Image repository and Image tag — Identifying information to access the external image file
  • Bind Port — the port which the gateway server will bind to in the host. The user should allocated a port, typically 5432, and bind it to a routable IP address, in case there are several IPs for a specific host.
  • Load Balancer and Load Balancer Port (Kubernetes only) — Externally available IP address for the service
  • MemoryXtend — Memory threshold: The amount of used memory that triggers an exception when a write, update or initial load operation is attempted— see MemoryXtend for Off-Heap RAM
  • MemoryXtend — Off-heap options:

Deploy Space Service — MemoryXtend — SSD

  • TopologyCluster schema:Sync replicated — a data operation is not considered complete by the client until all replicate Spaces have been updated
  • TopologyCluster schema:Async replicated — a data operation is considered complete by the client when the primary Space is updated. Changes are performed asynchronously at the replicated Spaces.
  • Image repository and Image tag — Identifying information to access the external image file
  • Bind Port — the port which the gateway server will bind to in the host. The user should allocated a port, typically 5432, and bind it to a routable IP address, in case there are several IPs for a specific host.
  • Load Balancer and Load Balancer Port (Kubernetes only) — Externally available IP address for the service
  • MemoryXtend — SSD options:

Deploy Stateful Service — Basic Options

  • Service name — the name of the new service that will be introduced to the grid
  • Resource — location of the Java war file for the service. Can be in a local file, or point to a URL
  • TopologyCluster schema:Partitioned — a Space with one or more partitions
  • TopologyCluster schema:Single Space — a Space with only one instance
  • TopologyCluster schema:Sync replicated — a data operation is not considered complete by the client until all replicate Spaces have been updated
  • TopologyCluster schema:Async replicated — a data operation is considered complete by the client when the primary Space is updated. Changes are performed asynchronously at the replicated Spaces.
  • Number of partitions — the number of primary partitions for the space
  • Image repository and Image tag — Identifying information to access the external image file
  • Bind Port — the port which the gateway server will bind to in the host. The user should allocated a port, typically 5432, and bind it to a routable IP address, in case there are several IPs for a specific host.
  • Load Balancer and Load Balancer Port (Kubernetes only) — Externally available IP address for the service
  • High availability — Provide a backup partition for each primary partition.
  • Enable scale in/out — Provide horizontal scaling capability.
  • Anti affinity — Ensure that primary and backup partitions are allocated on different nodes.

Deploy Stateful Service — Advanced Options

  • TopologyCluster schema:Sync replicated — a data operation is not considered complete by the client until all replicate Spaces have been updated
  • TopologyCluster schema:Async replicated — a data operation is considered complete by the client when the primary Space is updated. Changes are performed asynchronously at the replicated Spaces.
  • Image repository and Image tag — Identifying information to access the external image file
  • Bind Port — the port which the gateway server will bind to in the host. The user should allocated a port, typically 5432, and bind it to a routable IP address, in case there are several IPs for a specific host.
  • Load Balancer and Load Balancer Port (Kubernetes only) — Externally available IP address for the service
  • Advanced — Context Properties — Name and value pairs for additional properties. Click on + to add a property and value, delete to remove.
    The defined properties and their values are used as part of the deploy process for various configuration purposes.

Deploy Stateless Service — Basic Properties

  • Service name — the name of the new service that will be introduced to the grid
  • Resource — location of the Java war file for the service. Can be in a local file, or point to a URL
  • TopologyCluster schema:Sync replicated — a data operation is not considered complete by the client until all replicate Spaces have been updated
  • TopologyCluster schema:Async replicated — a data operation is considered complete by the client when the primary Space is updated. Changes are performed asynchronously at the replicated Spaces.
  • Image repository and Image tag — Identifying information to access the external image file
  • Number of instances — the number of instances for the service
  • Bind Port — the port which the gateway server will bind to in the host. The user should allocated a port, typically 5432, and bind it to a routable IP address, in case there are several IPs for a specific host.
  • Load Balancer and Load Balancer Port (Kubernetes only) — Externally available IP address for the service

 

Deploy Stateless Service — Advanced Properties

 

  • TopologyCluster schema:Sync replicated — a data operation is not considered complete by the client until all replicate Spaces have been updated
  • TopologyCluster schema:Async replicated — a data operation is considered complete by the client when the primary Space is updated. Changes are performed asynchronously at the replicated Spaces.
  • Image repository and Image tag — Identifying information to access the external image file
  • Bind Port — the port which the gateway server will bind to in the host. The user should allocated a port, typically 5432, and bind it to a routable IP address, in case there are several IPs for a specific host.
  • Load Balancer and Load Balancer Port (Kubernetes only) — Externally available IP address for the service
  • Advanced — Context Properties — Name and value pairs for additional properties. Click on + to add a property and value, delete to remove.
    The defined properties and their values are used as part of the deploy process for various configuration purposes.

Deploy Web App Service — Basic Properties

 

  • Service name — the name of the new service that will be introduced to the grid
  • Resource — location of the Java war file for the service. Can be in a local file, or point to a URL
  • TopologyCluster schema:Sync replicated — a data operation is not considered complete by the client until all replicate Spaces have been updated
  • TopologyCluster schema:Async replicated — a data operation is considered complete by the client when the primary Space is updated. Changes are performed asynchronously at the replicated Spaces.
  • Image repository and Image tag — Identifying information to access the external image file
  • Number of instances — the number of instances for the service
  • Bind Port — the port which the gateway server will bind to in the host. The user should allocated a port, typically 5432, and bind it to a routable IP address, in case there are several IPs for a specific host.
  • Load Balancer and Load Balancer Port (Kubernetes only) — Externally available IP address for the service

Deploy Web App Service — Advanced Properties

 

 

  • TopologyCluster schema:Sync replicated — a data operation is not considered complete by the client until all replicate Spaces have been updated
  • TopologyCluster schema:Async replicated — a data operation is considered complete by the client when the primary Space is updated. Changes are performed asynchronously at the replicated Spaces.
  • Image repository and Image tag — Identifying information to access the external image file
  • Bind Port — the port which the gateway server will bind to in the host. The user should allocated a port, typically 5432, and bind it to a routable IP address, in case there are several IPs for a specific host.
  • Load Balancer and Load Balancer Port (Kubernetes only) — Externally available IP address for the service
  • Advanced — Context Properties — Name and value pairs for additional properties. Click on + to add a property and value, delete to remove.
    The defined properties and their values are used as part of the deploy process for various configuration purposes.

View Service Deployment

After you click Apply, a message appears in the screen banner, indicating that the service deployment is in progress:

 

When the service deployment is completed, a message indicating this fact appears in the screen banner.

Undeploy Command in Ops Manager

On the Service screen for the service you wish to undeploy, Overview screen, click on Undeploy service to undeploy the service.

After you click on Undeploy, the system will ask for confirmation, then it will undeploy the service.