Release Notes

New Features

  • The agent now runs a daemon implementing heartbeats, scheduling, a remote OpenSVC actions listener and node/services/resources orchestration.
  • The agent now announce its "compat version" in the heartbeats, so as ensure proper communication with other cluster nodes. A lack of "compat version" alignment temporarily disable automated orchestration, until issue is fixed.
  • Add monitor states to svcmgr print status human-friendly and JSON outputs.
  • The frozen service instance status is not longer honored by the CRM, only by the orchestrator.
  • The node is freezeable. A thawed service instance on a frozen node is not orchestrated.
  • Service are created in frozen state by svcmgr create.
  • svcmon output is now cluster-wide and displays daemon information
  • Most commands have adopted a "forest" representation for their human-friendly output: nodemgr pushasset, nodemgr checks, nodemgr pushdisks, svcmgr print schedule, nodemgr print schedule, ...
  • Support JSON output in nodemgr pushdisks, nodemgr checks, nodemgr pushasset.
  • nodemgr unset --param <section>
  • svcmgr enable and svcmgr disable no longer reorder the service configuration file.
  • Near-synchronous service configuration file swapping amongst cluster nodes.
  • Cluster-wide service logs, and follow mode
  • Pervasive support for converters in keyword values and command line argument values: period (ex: 1h10s), size (10mib), speed (10mib/s), shlex, integer, boolean, list, set.
  • Add a size formatter and use it in most command outputs.
  • Use a denser streamlog format.
  • svcmgr -s now accepts service selection expressions
  • Cap the parallel running subprocesses on svcmgr --parallel commands. node.max_parallel node configuration keyword can be used to change the default value (10).
  • The optional resource flag is now used to dispatch resources into the "avail" and "optional" lists, instead of using hardcoded driver groups.
  • The provision local action now leaves the instance in standby state, instead of started.
  • Support different command for stop, start, check, info actions in a app resource.
  • The <svcname>.stonith and <svcname>.cluster symlinks are no longer necessary, and automatically deleted.
  • The DEFAULT.env parameter is now only used to check for service placement : a PRD node can only run PRD/PPRD services
  • Inter-services start dependencies, intra-cluster, using the DEFAULT.parents keyword.
  • Inter-services stop dependencies, intra-cluster, using the DEFAULT.children keyword.

Warning

nodemgr thaw, nodemgr freeze, svcmgr start, svcmgr stop, svcmgr freeze, svcmgr thaw, svcmgr provision and svcmgr unprovision commands operate cluster wide. svcmgr unprovision would thus delete all services and their data on all cluster nodes.

New Drivers

  • disk.lv (Linux)

New Commands

svcmgr ls
svcmgr abort
svcmgr clear
svcmgr giveback
svcmgr takeover
svcmgr start --upto <drvgrp>
svcmgr stop --downto <drvgrp>
svcmgr set --param <param> --add <member>
svcmgr set --param <param> --remove <member>
svcmgr set --kw <expr> [--kw <expr> ...]
svcmgr print devs
svcmgr print exposed devs
svcmgr print sub devs
svcmgr print base devs
nodemgr print devs
nodemgr daemon status
nodemgr daemon blacklist
nodemgr daemon join
nodemgr daemon leave
nodemgr daemon running
nodemgr daemon shutdown
nodemgr daemon start
nodemgr daemon stop
nodemgr daemon restart
nodemgr set --param <param> --add <member>
nodemgr set --param <param> --remove <member>

New References

{clusternodes}
{exposed_devs}
{exposed_devs}[<n>]
{sub_devs}
{sub_devs}[<n>]
{base_devs}
{base_devs}[<n>]

Deprecated

  • The agent no longer needs a crontrab entry. The package postinstall removes it if present.
  • The hb resource drivers are dropped. The heartbeats are now handled by the daemon and configured in node.conf.
  • The stonith resource drivers are dropped. The stonith configurations are moved to node.conf.
  • sync#i1 internal sync to drp nodes is dropped.
  • *.optional_on
  • *.monitor_on
  • *.enable_on
  • *.disable_on
  • *.always_on (maintained for backward compatibility)
  • sync[rsync].exclude
  • DEFAULT.service_env
  • DEFAULT.autostart_node
  • DEFAULT.mode
  • DEFAULT.cluster_type (renamed to DEFAULT.topology, maintained for backward compatibility)
  • svcmgr boot
  • svcmgr startip
  • svcmgr startdisk
  • svcmgr startfs
  • svcmgr startshare
  • svcmgr startcontainer
  • svcmgr startapp
  • svcmgr stopip
  • svcmgr stopdisk
  • svcmgr stopfs
  • svcmgr stopshare
  • svcmgr stopcontainer
  • svcmgr stopapp
  • svcmgr compliance attach moduleset
  • svcmgr compliance detach moduleset
  • svcmgr compliance attach ruleset
  • svcmgr compliance detach ruleset
  • nodemgr compliance attach moduleset
  • nodemgr compliance detach moduleset
  • nodemgr compliance attach ruleset
  • nodemgr compliance detach ruleset