Cisco Virtual Network Management Center CLI Configuration Guide, Release 2.0
Managing Logging
Downloads: This chapterpdf (PDF - 150.0KB) The complete bookPDF (PDF - 4.7MB) | Feedback

Managing Logs, Events and Faults

Table Of Contents

Managing Logs, Events and Faults

Working With Management Logs

Setting Log 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 Log Severity Levels and Log Size

Resetting the Management Log Levels

Saving Management Log Parameters

Displaying Management Logs

Setting Log Severity Levels and Log Size

You can set the log severity level and log size.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands 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. Each CLI allows you to control a different set of logs.


2. scope monitoring

3. scope sysdebug

4. scope mgmt-logging

5. set [ all { crit | debug0 | debug1 |debug2 | debug3 | debug4 | info | major | minor | warn } | file size <size> | module <Name> { crit | debug0 | debug1 |debug2 | debug3 | debug4 | info | major | minor | warn } ]

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 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. Each CLI allows you to control a different set of logs.


2. scope monitoring

3. scope sysdebug

4. scope mgmt-logging

5. reset

EXAMPLES

This example shows how to reset the management logging levels 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 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. Each CLI allows you to control a different set of logs.


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 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. Each CLI allows you to control a different set of logs.


2. scope monitoring

3. scope sysdebug

4. scope mgmt-logging

5. show

EXAMPLES

This example shows how to display all log 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-2012, 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
 
   
    Name                  Level  Default Level
    --------------------- ------ -------------
    agdriver              Info   Info
    ape                   Info   Info
    app_sam_cim           Info   Info
    app_sam_dme           Info   Info
    app_sam_ucsmAG        Info   Info
    app_unittest_testsvc  Info   Info
    auth                  Info   Info
    autocond              Info   Info
    bio_stream            Info   Info
    callhome              Info   Info
    catalog               Info   Info
    char_stream           Info   Info
    core_transactor       Info   Info
    core_utils            Info   Info
    doer                  Info   Info
    event_                Info   Info
    event_channel         Info   Info
    exception_handling    Info   Info
    fault                 Info   Info
    filter                Info   Info
    fsm                   Info   Info
    fw                    Info   Info
    http_client           Info   Info
    log                   Info   Info
    logical               Info   Info
    meta                  Info   Info
    method                Info   Info
    mgmt                  Info   Info
    mgmtif                Info   Info
    mit_init              Info   Info
    mo                    Info   Info
    mo_qualifier          Info   Info
    mod_nuova             Info   Info
    net                   Info   Info
    org                   Info   Info
    os                    Info   Info
    pam_proxy             Info   Info
    pool                  Info   Info
    proc_app              Info   Info
    prt                   Info   Info
    sam_extXMLApi_        Info   Info
    sam_sec               Info   Info
    sam_sessionmgrAG      Info   Info
    sam_ucssh             Info   Info
    smbios                Info   Info
    snmp                  Info   Info
    solprot               Info   Info
    stats                 Info   Info
    sysdebug              Info   Info
    top                   Info   Info
    tx                    Info   Info
    xml_parser            Info   Info
   vnmc(resource-mgr) /monitoring/sysdebug/mgmt-logging # 

Acknowledging Faults

You can acknowledge faults.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands 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 fault command in the management controller CLI. Each CLI allows you to acknowledge a different set of faults.


1. scope monitoring

2. acknowledge fault <fault-id>

3. commit-buffer

EXAMPLES

This example shows how to acknowledge a fault in the management controller CLI:

vnmc# scope monitoring
vnmc /monitoring # acknowledge fault 10194
vnmc /monitoring* # commit-buffer
vnmc /monitoring # 

Displaying Audit Logs

You can display a list of audit logs.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands 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 audit logs command in the management controller CLI. Each CLI allows you to display different set of audit logs.


2. scope monitoring

3. show audit-logs

EXAMPLES

This example shows how to display a list of audit logs in the management controller CLI:

vnmc# scope monitoring
vnmc /monitoring # show audit-logs
 
   
Audit trail logs:
    Creation Time        User       ID       Action           Description
    -------------------- ---------- -------- ---------------- -----------
    2010-11-29T14:56:29.195
                         admin         10615 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.195
                         admin         10616 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.195
                         admin         10617 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.194
                         admin         10607 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.194
                         admin         10608 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.194
                         admin         10609 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.194
                         admin         10610 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.194
                         admin         10611 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.194
                         admin         10612 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.194
                         admin         10613 Modification     sysdebug mgmt log 
control module
    2010-11-29T14:56:29.194
                         admin         10614 Modification     sysdebug mgmt log 
vnmc /monitoring #

Displaying Events

You can display a list of events.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands 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 event command in the management controller CLI. Each CLI allows you to display a different set of events.


1. scope monitoring

2. show event

EXAMPLES

This example shows how to display a list of events in the policy manager CLI:

vnmc# connect policy-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(policy-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:
Execute)
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 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 fault command in the management controller CLI. Each CLI allows you to display a different set of faults.


2. scope monitoring

3. show fault

EXAMPLES

This example shows how to display a list of faults in the management controller CLI:

vnmc# scope monitoring
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)
vnmc /monitoring #