Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

2.2. pcs 用法帮助显示

可使用 pcs-h 选项显示 pcs 命令的参数及那些参数的描述。例如:以下命令显示 pcs resource 命令参数,这只是输出结果的一部分。
# pcs resource -h
Usage: pcs resource [commands]...
Manage pacemaker resources
    show [resource id] [--all]
        Show all currently configured resources or if a resource is specified
        show the options for the configured resource.  If --all is specified
        resource options will be displayed

    start <resource id>
        Start resource specified by resource_id