rmsyslogserver

The rmsyslogserver command removes a Syslog server.

Note: A warning is displayed when the server to be deleted is active.

For parameter -hmc, the default value all specifies the primary HMC on a single HMC system, and specifies both the primary and secondary HMCs on a dual HMC system. If any of HMCs fails, an error is returned and rollback is done on both HMCs.

Read syntax diagramSkip visual syntax diagram rmsyslogserver  -hmc 1 2 all -quiet  server_name |  -

Parameters

-hmc 1 | 2 | all
(Optional) The HMC on which you want to delete a server.
  • -hmc 1 specifies the primary HMC
  • -hmc 2 specifies the secondary HMC.
  • The default value all specifies the primary HMC on a single HMC system, and specifies both the primary and secondary HMCs on a dual HMC system.
-quiet
(Optional) Turns off the confirmation prompt for this command.
server_name| -
(Required) The Syslog server. Alternatively, the command accepts input from stdin when the dash (-) is specified.

Example: Removing a Syslog server

dscli> rmsyslogserver syslog_1
Output
Date/Time: Sun Aug 11 02:23:49 PST 2004 IBM DSCLI Version: 5.0.0.0 
DS: IBM.2107-75FA950 Syslog server syslog_1 successfully removed.