Table Of Contents
Managing Logs, Events and Faults
Working With Management Logs
Setting Severity Levels and Log Size
Resetting the Management Log Levels
Saving Management Log Parameters
Displaying Management Logs
Acknowledging Faults
Displaying Audit Logs
Displaying Events
Displaying Faults
Managing Logs, Events and Faults
This chapter provides procedures for managing VNMC management logging.
This chapter includes the following sections:
•Working With Management Logs
•Acknowledging Faults
•Displaying Audit Logs
•Displaying Events
•Displaying Faults
Working With Management Logs
This section includes the following topics:
•Setting Severity Levels and Log Size
•Resetting the Management Log Levels
•Saving Management Log Parameters
•Displaying Management Logs
Setting Severity Levels and Log Size
You can set the severity level and log size.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
Policy manager
Resource manager
Service registry
Virtual machine manager
SUMMARY STEPS
1. (Optional) connect {policy-mgr | resource-mgr | service-reg | vm-mgr}
Note Step 1 is optional. You can also perform the set command in the management controller CLI.
2. scope monitoring
3. scope sysdebug
4. scope mgmt-logging
5. set {all | file | module}
EXAMPLES
This example shows how to assign a critical severity level to all logging files in the resource manager CLI:
vnmc# connect resource-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc(resource-mgr)# scope monitoring
vnmc(resource-mgr) /monitoring # scope sysdebug
vnmc(resource-mgr) /monitoring/sysdebug # scope mgmt-logging
vnmc(resource-mgr) /monitoring/sysdebug/mgmt-logging # set all crit
vnmc(resource-mgr) /monitoring/sysdebug/mgmt-logging #
Resetting the Management Log Levels
You can reset the management log levels.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
Policy manager
Resource manager
Service registry
Virtual machine manager
SUMMARY STEPS
1. (Optional) connect {policy-mgr | resource-mgr | service-reg | vm-mgr}
Note Step 1 is optional. You can also perform the reset command in the management controller CLI.
2. scope monitoring
3. scope sysdebug
4. scope mgmt-logging
5. reset
EXAMPLES
This example shows how to reset in the resource manager CLI:
vnmc# connect resource-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc(resource-mgr)# scope monitoring
vnmc(resource-mgr) /monitoring # scope sysdebug
vnmc(resource-mgr) /monitoring/sysdebug # scope mgmt-logging
vnmc(resource-mgr) /monitoring/sysdebug/mgmt-logging # reset
vnmc(resource-mgr) /monitoring/sysdebug/mgmt-logging #
Saving Management Log Parameters
You can save the management log parameters.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
Policy manager
Resource manager
Service registry
Virtual machine manager
SUMMARY STEPS
1. (Optional) connect {policy-mgr | resource-mgr | service-reg | vm-mgr}
Note Step 1 is optional. You can also perform the save command in the management controller CLI.
2. scope monitoring
3. scope sysdebug
4. scope mgmt-logging
5. save
EXAMPLES
This example shows how to save in the resource manager CLI:
vnmc# connect resource-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc(resource-mgr)# scope monitoring
vnmc(resource-mgr) /monitoring # scope sysdebug
vnmc(resource-mgr) /monitoring/sysdebug # scope mgmt-logging
vnmc(resource-mgr) /monitoring/sysdebug/mgmt-logging # save
vnmc(resource-mgr) /monitoring/sysdebug/mgmt-logging #
Displaying Management Logs
You can display management logs.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
Policy manager
Resource manager
Service registry
Virtual machine manager
SUMMARY STEPS
1. (Optional) connect {policy-mgr | resource-mgr | service-reg | vm-mgr}
Note Step 1 is optional. You can perform the show command in the management controller CLI.
2. scope monitoring
3. scope sysdebug
4. scope mgmt-logging
5. show
EXAMPLES
This example shows how to display all log files in the resorce manager CLI:
vnmc# connect resource-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc(resource-mgr)# scope monitoring
vnmc(resource-mgr) /monitoring # scope sysdebug
vnmc(resource-mgr) /monitoring/sysdebug # scope mgmt-logging
vnmc(resource-mgr) /monitoring/sysdebug/mgmt-logging # show
Log File Size Limit: 10000000
--------------------- ------ -------------
app_sam_ucsmAG Crit Debug1
app_unittest_testsvc Crit Debug1
core_transactor Crit Debug1
event_channel Crit Debug1
exception_handling Crit Debug1
sam_extXMLApi_ Crit Debug1
sam_sessionmgrAG Crit Debug1
vnmc(resource-mgr) /monitoring/sysdebug/mgmt-logging #
Acknowledging Faults
You can acknowledge faults.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
Policy manager
Resource manager
Service registry
Virtual machine manager
SUMMARY STEPS
1. (Optional) connect {policy-mgr | resource-mgr | service-reg | vm-mgr}
Note Step 1 is optional. You can perform the acknowledge command in the management controller CLI.
1. scope monitoring
2. acknowledge fault
3. commit-buffer
EXAMPLES
This example shows how to acknowledge a fault in the management controller CLI:
vnmc /monitoring # acknowledge fault 10194
vnmc /monitoring* # commit-buffer
Displaying Audit Logs
You can display a list of audit logs.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
Policy manager
Resource manager
Service registry
Virtual machine manager
SUMMARY STEPS
1. (Optional) connect {policy-mgr | resource-mgr | service-reg | vm-mgr}
Note Step 1 is optional. You can perform this show command in the management controller CLI.
2. scope monitoring
3. show audit-logs
EXAMPLES
This example shows how to display a list of audit logs in the policy manager CLI:
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc(resource-mgr)# scope monitoring
vnmc(policy-mgr) /monitoring # show audit-logs
Creation Time User ID Action Description
-------------------- ---------- -------- ---------------- -----------
admin 10615 Modification sysdebug mgmt log
admin 10616 Modification sysdebug mgmt log
admin 10617 Modification sysdebug mgmt log
admin 10607 Modification sysdebug mgmt log
admin 10608 Modification sysdebug mgmt log
admin 10609 Modification sysdebug mgmt log
admin 10610 Modification sysdebug mgmt log
admin 10611 Modification sysdebug mgmt log
admin 10612 Modification sysdebug mgmt log
admin 10613 Modification sysdebug mgmt log
admin 10614 Modification sysdebug mgmt log
vnmc(policy-mgr) /monitoring #
Displaying Events
You can display a list of events.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
Policy manager
Resource manager
Service registry
Virtual machine manager
SUMMARY STEPS
1. (Optional) connect {policy-mgr | resource-mgr | service-reg | vm-mgr}
Note Step 1 is optional. You can perform this show command in the management controller CLI.
2. scope monitoring
3. show events
EXAMPLES
This example shows how to display a list of events in the policy manager CLI:
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc(resource-mgr)# scope monitoring
vnmc(policy-mgr) /monitoring # show event
Creation Time ID Code Description
------------------------ -------- -------- -----------
2010-11-22T12:09:26.369 10161 E4194467 [FSM:END]: Resolve Mgmt Controller Fs
m(FSM:sam:dme:ObserveObservedResolveControllerFsm)
2010-11-22T12:09:26.368 10160 E4194465 [FSM:STAGE:END]: Resolve Mgmt Control
ler FSM Execute(FSM-STAGE:sam:dme:ObserveObservedResolveControllerFsm:Execute)
2010-11-22T12:09:26.367 10158 E4194465 [FSM:STAGE:STALE-SUCCESS]: Resolve Mg
mt Controller FSM Execute(FSM-STAGE:sam:dme:ObserveObservedResolveControllerFsm:
2010-11-22T12:09:26.018 10156 E4194465 [FSM:STAGE:ASYNC]: Resolve Mgmt Contr
oller FSM Execute(FSM-STAGE:sam:dme:ObserveObservedResolveControllerFsm:Execute)
2010-11-22T12:09:26.017 10153 E4194447 [FSM:END]: Service Registration Fsm(F
SM:sam:dme:ExtpolEpRegisterFsm)
2010-11-22T12:09:26.017 10154 E4194464 [FSM:BEGIN]: Resolve Mgmt Controller
Fsm(FSM:sam:dme:ObserveObservedResolveControllerFsm)
2010-11-22T12:09:26.017 10155 E4194464 [FSM:STAGE:END]: (FSM-STAGE:sam:dme:O
bserveObservedResolveControllerFsm:begin)
2010-11-22T12:09:26.014 10148 E4194445 [FSM:STAGE:END]: Register FSM Execute
(FSM-STAGE:sam:dme:ExtpolEpRegisterFsm:Execute)
2010-11-22T12:09:25.991 10144 E4194445 [FSM:STAGE:STALE-SUCCESS]: Register F
SM Execute(FSM-STAGE:sam:dme:ExtpolEpRegisterFsm:Execute)
2010-11-22T12:09:25.558 10143 E4194445 [FSM:STAGE:ASYNC]: Register FSM Execu
te(FSM-STAGE:sam:dme:ExtpolEpRegisterFsm:Execute)
2010-11-22T12:09:25.557 10141 E4194444 [FSM:BEGIN]: Service Registration Fsm
(FSM:sam:dme:ExtpolEpRegisterFsm)
2010-11-22T12:09:25.557 10142 E4194444 [FSM:STAGE:END]: (FSM-STAGE:sam:dme:E
xtpolEpRegisterFsm:begin)
vnmc(policy-mgr) /monitoring #
Displaying Faults
You can display a list of faults.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
Policy manager
Resource manager
Service registry
Virtual machine manager
SUMMARY STEPS
1. (Optional) connect {policy-mgr | resource-mgr | service-reg | vm-mgr}
Note Step 1 is optional. You can perform the show command in the management controller CLI.
2. scope monitoring
3. show fault
EXAMPLES
This example shows how to display a list of faults:
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
vnmc /monitoring # show fault
Severity Code Last Transition Time ID Description
--------- -------- ------------------------ -------- -----------
Critical F999556 2010-11-24T18:38:17.345 20133 [FSM:FAILED]: internal system
backup(FSM:sam:dme:MgmtBackupBackup)
Warning F16516 2010-11-24T18:38:17.344 20131 [FSM:STAGE:FAILED]: internal system
backup(FSM-STAGE:sam:dme:MgmtBackupBackup:upload)
Warning F77956 2010-11-24T18:38:17.344 20129 [FSM:STAGE:REMOTE-ERROR]: Result:
end-point-failed Code: unspecified Message: Permission denied
(sam:dme:MgmtBackupBackup:upload)