Running Operation Awareness

From ZeXtras Suite Wiki

Jump to: navigation, search
Language: English  • español • português
Zextras logo box.png
Latest Version: 2.10.2
Released on: November 26th, 2018
Compatibility List
Changelog
License Management

ZeXtras Suite "Running Operation Awareness"

Being strictly bound to the mailboxd Zimbra service, the ZeXtras Core cannot be functional when aforementioned service is not running, and thus a restart of said service will interrupt any running operation and flush the operation queue.

In order to mitigate the impact of service restarts or crashes, ZeXtras Suite 1.8.15 added a new "Running Operation Awareness" feature that allows to keep track of all queued and started ZeXtras Backup, ZeXtras Powerstore and ZeXtras Admin operations.

Should an operation be interrupted by a mailboxd crash or restart, a Notification will be sent to the appropriate recipients and displayed in the "Notifications" tab of the ZeXtras Administration Zimlet allowing a Global Administrator to manually restart the interrupted operation.

Warning.png Warning!

In case of an "Operation Interrupted" notification always check the cause of the mailboxd restart/crash before running the interrupted operation again.

The ZeXtras Operation Log

A log of all ZxBackup and ZxPowerstore operations is stored in json format in the /opt/zimbra/config/zextras/oplog file, and thereby contained informations can be retrieved in a human readable format via the zxsuite core getOperationLog ZeXtras CLI command.

zimbra@test:~$ zxsuite core getOperationLog | less

        operationList                           

                module                                                      ZxPowerstore
                name                                                        MoveBlobs
                operationId                                                 8c21ced0-d482-452d-9fff-501d276a180e
                parameters                              
                    origin                                                          Cron
                    OpStartTime                                                     1400011200049
                startTime                                                   1400011200049
                requestedBy                                                 zimbra
                humanStartTime                                              13/05/2014 22:00:00
                type                                                        Finished

                module                                                      ZxPowerstore
                name                                                        MoveBlobs
                operationId                                                 8c21ced0-d482-452d-9fff-501d276a180e
                parameters                              
                    origin                                                          Cron
                    OpStartTime                                                     1400011200031
                startTime                                                   1400011200031
                requestedBy                                                 zimbra
                humanStartTime                                              13/05/2014 22:00:00
                type                                                        Started

                module                                                      ZxBackup
                name                                                        SmartScan
                operationId                                                 6ac31370-75dc-438f-aba4-c9e2983a3011
                parameters                              
                    origin                                                          Cron
                    dataPath                                                        /opt/zimbra/backup/zextras/
                    OpStartTime                                                     1400000460989
                startTime                                                   1400000460989
                requestedBy                                                 zimbra
                humanStartTime                                              13/05/2014 19:01:00
                type                                                        Finished

                module                                                      ZxBackup
                name                                                        SmartScan
                operationId                                                 6ac31370-75dc-438f-aba4-c9e2983a3011
                parameters                              
                    origin                                                          Cron
                    dataPath                                                        /opt/zimbra/backup/zextras/
                    OpStartTime                                                     1400000460942
                startTime                                                   1400000460942
                requestedBy                                                 zimbra
                humanStartTime                                              13/05/2014 19:01:00
                type                                                        Started

                module                                                      ZxAdmin
                name                                                        DoMonthlyReportOperation
                operationId                                                 d9955d0b-5ce9-4957-a86b-dd058bcd82d8
                parameters                              
                    origin                                                          Cron
                    OpStartTime                                                     1399953607826
                startTime                                                   1399953607826
                requestedBy                                                 zimbra
                humanStartTime                                              13/05/2014 06:00:07
                type                                                        Finished

                module                                                      ZxAdmin
                name                                                        DoMonthlyReportOperation
                operationId                                                 d9955d0b-5ce9-4957-a86b-dd058bcd82d8
                parameters                              
                    origin                                                          Cron
                    OpStartTime                                                     1399953607812
                startTime                                                   1399953607812
                requestedBy                                                 zimbra
                humanStartTime                                              13/05/2014 06:00:07
                type                                                        Started

                module                                                      ZxPowerstore
                name                                                        MoveBlobs
                operationId                                                 bb0f1a99-0aaa-44f1-8dde-4065a7d69435
                parameters                              
                    origin                                                          Cron
                    OpStartTime                                                     1399924800100
                startTime                                                   1399924800100
                requestedBy                                                 zimbra
                humanStartTime                                              12/05/2014 22:00:00
                type                                                        Finished

                module                                                      ZxPowerstore
                name                                                        MoveBlobs
                operationId                                                 bb0f1a99-0aaa-44f1-8dde-4065a7d69435
                parameters                              
                    origin                                                          Cron
                    OpStartTime                                                     1399924800091
                startTime                                                   1399924800091
                requestedBy                                                 zimbra
                humanStartTime                                              12/05/2014 22:00:00
                type                                                        Started

Each block contains information about a single operation, including a timestamp, the operation status, the operation type and ID, effectively providing an history of all ran operations. Operations are displayed last-to-first, so the block at the top of the log is always the most recent message.

In order to see all "unfinished" (interrupted) operations, the zxsuite core getUnfinishedOperationLog command is available.

Personal tools