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
  • Number of partitions — the number of primary partitions for the space
  • High availability — Provide a backup partition for each primary partition.

Deploy Space Service — MemoryXtend — Off-heap

  • MemoryXtend — Memory threshold: The amount of used memory that triggers an exception when a write, update or initial load operation is attempted— see Defining the Memory Threshold
  • MemoryXtend — Off-heap options:
    • Avg. object size — an estimate of the average object size in the memory cache — see Caching in MemoryXtend
    • Cache entries percentage — the amount of RAM in the the heap that is used for caching — see Default Cache - LRU

Deploy Space Service — MemoryXtend — SSD

  • MemoryXtend — SSD options:
    • Persistent — determines if the Space will load persisted data when loaded. See configuration options.
    • Volume Claim Template configurationStorage size and Storage class name — (both items are Kubernetes only) — see Kubernetes documentation
    • Avg. object size — an estimate of the average object size in the memory cache — see Caching in MemoryXtend
    • Cache entries percentage — the amount of RAM in the the heap that is used for caching — see Default Cache - LRU
    • Fsync — See fsync

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
  • Number of partitions — the number of primary partitions for the space
  • 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

  • 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
  • Number of instances — the number of instances for the service

 

Deploy Stateless Service — Advanced Properties

 

  • 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
  • Number of instances — the number of instances for the service

Deploy Web App Service — Advanced Properties

 

 

  • 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.