This space documents the BMC Server Automation command line interface (BLCLI).

For more introductory information about the BLCLI, see BLCLI reference.

BLCLI updates in BMC Server Automation 8.9 and later

The following tables lists the new BLCLI commands that support developments and enhancements in BMC BladeLogic Server Automation 8.9.00 and later:


BLCLI commands added or updated in version 8.9.03.001

Namespace Command Description
ProxyServer

addProxyServer

(New) Adds a proxy server and returns true after successful execution.

RoutingPolicy

createNetworkRoutingRule

(New) Creates new instance of network routing rule and saves in database. Returns the fully qualified property instance class object.
RoutingPolicy

addProxyToNetworkRoutingRule

(New) Sets target for routing rule and returns the fully qualified property instance class object.
RoutingPolicy

setDescriptionToNetworkRoutingRule

(New) Sets description for routing rule and returns the fully qualified property instance class object.
PatchingJob PatchingJob - createAixPatchingJobWithTargetServer_4

(New) Creates a Patching Job that is run against an individual server, using an existing AIX catalog.

BLCLI commands added or updated in version 8.9.02

Namespace Command Description
Delete cleanupHistoricalData OldVersionComponent  (New) Deletes older version of components that have no association in Snapshot, Audit, or Compliance modules. 
Delete cleanupHistoricalData OldVersionJob  (New) Deletes older version of jobs that have no runs associated with that version.
AgentInstallerJob  setAgentInstallerJobInstallVCRuntime  (New) Update the MSVC option (Install Microsoft Visual C++ 2015 Redistributable (Windows Only)) for the new Agent Installer Job.
PatchingJob createRedhatPatchingJobWithTargetServer_2 (New) Creates a Patching Job that is run against an individual server, using an existing Red Hat catalog.
PatchingJob createRedhatPatchingJobWithTargetServer (Updated) Creates a Patching Job that is run against an individual server, using an existing Red hat catalog.
JobRun getJobRunIdByScheduleId (New) Returns the Job Run ID for a given Schedule ID.
JobRun

getJobRunKeyByScheduleId

(New) Returns the Job Run Key for a given Schedule ID.
NSHScript getNSHScriptParamValuesString (New) Retrieves the parameters for the NSH Script Job as a string where each entry is shown as name::valuepairs
BlPackage createEmptyPackageReturnDBKey (New)This command creates an empty BLPackage and returns handle to it.

BLCLI commands added or updated in version 8.9.01

Namespace Command Description
 BlAclTemplate listAllAclTemplates  (Updated) Provides a list of ACL templates without further details.
  listAllAclTemplatesWithDetails (New) Provides a list of ACL templates that includes details of template properties.
ComponentException createComponentExceptionWithOneRuleWithExpirationDate

(New) Creates a compliance exception with one rule, reference number, and expiration date and sets it on a component.

Delete cleanupFileServerWithEmptyDirectoryScan (New) Cleans all the unused files from the file server and runs the empty directory scan.

BLCLI commands added in version 8.9.00

Namespace Command Description
DeployJob setPauseOnWindowTimeout Sets a pause on the timeout of a Maintenance Window or Exclusion Window for a Deploy Job.
DeployJob setWindowTimoutTolerance Sets the amount of time (in minutes) before the timeout of a Maintenance Window or Exclusion Window at which a Deploy Job should pause.
ExclusionWindow

All commands in this new name space:

Management of exclusion windows.
FileDeployJob deleteJobByGroupAndName Deletes a File Deploy Job (specified by job name and path) and all of its dependents.
MaintenanceWindow

All commands in this new name space:

Management of maintenance windows.
Server exportExclusionAndMaintenanceWindowsByGroupId

Exports details in CSV format of all maintenance and exclusion windows associated with servers in a specified group (either smart group or static group).

Server exportExclusionAndMaintenanceWindowsForServers Exports details in CSV format of maintenance and exclusion windows associated with all enrolled servers.

  

Was this page helpful? Yes No Submitting... Thank you

Comments

  1. Joshua Skirde
    Namespace menu on left hand side is not appearing for v8.9. It works on v8.8
    Jun 08, 2017 09:27
    1. Matthew Ragland

      For me its hit & miss, sometimes it takes 30+ seconds for menu to appear

      Oct 30, 2017 10:08
      1. Edwin Lindeman

        this happens to me as well

        Feb 14, 2018 02:10
  2. Ranu Ganguly

    We have grouped the commands alphabetically to reduce the number of branches in the navigation panel. This should load it quicker. Please let us know if you still face issues.

    Sep 11, 2018 12:15