Which command creates templates to be used for package setup?
-
cmquerycl
-
cmgetconf
-
cmmakepkg
-
cmrunpkg
In HP Serviceguard, cmmakepkg creates template files for package configuration. The other commands serve different purposes: cmquerycl queries cluster status, cmgetconf retrieves existing configurations, and cmrunpkg executes packages. Only cmmakepkg is designed for initial package setup template generation.
In HP Serviceguard, cmmakepkg generates a template ASCII configuration file for a package, which the administrator then edits to define package parameters (name, nodes, run/halt scripts, etc.) before applying it with cmapplyconf. cmquerycl is used to gather cluster configuration information from nodes (for building a cluster config template, not package templates specifically in this sense), cmgetconf retrieves/exports the current cluster or package configuration already in place (not a fresh template), and cmrunpkg starts a package rather than creating any configuration file. Only cmmakepkg is the documented command for generating package setup templates.