HP Data Protector的几个常用命令


HP Data Protector Support(软件服务电话): 800-819-2140

 

 

以下是omni的常用命令
 
/opt/omni/sbin/omnisv -status
/opt/omni/sbin/omnisv -stop
/opt/omni/sbin/omnisv -start
/opt/omni/bin/omnihealthcheck

 

# omnidb -session
2010/10/08-11    Backup            Completed         root.root@tbsdp
2010/10/08-12    Backup            Completed         root.root@tbsdp
2010/10/08-13    Backup            Completed/Errors  root.root@tbsdp
2010/10/08-14    Backup            Completed         root.root@tbsdp
2010/10/08-15    Backup            Failed            root.root@tbsdp
2010/10/08-16    Backup            Completed         root.root@tbsdp
2010/10/08-17    Backup            Completed         oracle.dba@tbsdb
2010/10/08-18    Backup            Completed         sybafc.sybase@afc
2010/10/08-19    Backup            Completed         root.root@tbsdp
2010/10/08-20    Backup            Completed         root.root@tbsdp
2010/10/08-21    Backup            Completed         root.root@tbsdp
2010/10/08-22    Backup            Completed         root.root@tbsdp
2010/10/08-23    Backup            Completed         oracle.dba@tbsdb
2010/10/09-1     Backup            Completed         root.root@tbsdp
2010/10/09-2     Backup            Completed         oracle.dba@tbsdb
2010/10/09-3     Backup            Completed         oracle.dba@tbsdb
2010/10/09-4     Backup            Completed         oracle.dba@tbsdb
2010/10/09-5     Backup            Completed         oracle.dba@tbsdb
2010/10/09-6     Backup            Completed         oracle.dba@tbsdb
2010/10/09-7     Backup            Completed         oracle.dba@tbsdb
2010/10/09-8     Backup            Completed         oracle.dba@tbsdb
2010/10/09-9     Backup            Completed         oracle.dba@tbsdb
2010/10/09-10    Backup            Completed         root.root@tbsdp
2010/10/09-11    Backup            Completed         root.root@tbsdp
2010/10/09-12    Backup            Completed         root.root@tbsdp
2010/10/09-13    Backup            Completed         root.root@tbsdp
2010/10/09-14    Backup            Failed            root.root@tbsdp
2010/10/09-15    Backup            Completed         root.root@tbsdp
2010/10/09-16    Backup            Completed         oracle.dba@tbsdb
2010/10/09-17    Backup            Completed         sybafc.sybase@afc
2010/10/09-18    Backup            Completed         root.root@tbsdp
2010/10/09-19    Backup            Completed         root.root@tbsdp
2010/10/09-20    Backup            Completed         root.root@tbsdp

TBSDP:~ #
TBSDP:~ # omnidb -session 2010/10/19-11 -report
[Normal] From: BMA@h_tvmas1 "HP:Ultrium 4-SCSI_2"  Time: 10/19/10 19:02:23
        STARTING Media Agent "HP:Ultrium 4-SCSI_2"

[Normal] From: BMA@h_tvmas1 "HP:Ultrium 4-SCSI_2"  Time: 10/19/10 19:02:24
        By: UMA@tbsdb2@/dev/rchgr/autoch1
        Loading medium from slot 95 to device /dev/rtape/tape8_BESTn

[Normal] From: VBDA@tbstux2 "/tbs"  Time: 10/19/10 19:02:27
        STARTING Disk Agent for tbstux2:/tbs "/tbs".

[Minor] From: VBDA@tbstux2 "/tbs"  Time: 10/19/10 19:05:20
[81:76]         /tbs/glance.err
        Cannot perform stat(): ([2] No such file or directory) => not backed up.

[Normal] From: VBDA@tbstux2 "/tbs"  Time: 10/19/10 19:05:22
        COMPLETED Disk Agent for tbstux2:/tbs "/tbs".

[Normal] From: BMA@h_tvmas1 "HP:Ultrium 4-SCSI_2"  Time: 10/19/10 19:05:22
        /dev/rtape/tape8_BESTn
        Medium header verification completed, 0 errors found.

[Normal] From: BMA@h_tvmas1 "HP:Ultrium 4-SCSI_2"  Time: 10/19/10 19:05:22
        By: UMA@tbsdb2@/dev/rchgr/autoch1
        Unloading medium to slot 95 from device /dev/rtape/tape8_BESTn

[Normal] From: BMA@h_tvmas1 "HP:Ultrium 4-SCSI_2"  Time: 10/19/10 19:05:23
        COMPLETED Media Agent "HP:Ultrium 4-SCSI_2"

[Normal] From: BSM@tbsdp "FS_TBSTUX2"  Time: 10/19/10 19:03:02

        Backup Statistics:
         
                Session Queuing Time (hours)         0.00       
                -------------------------------------------     
                Completed Disk Agents ........          1         
                Failed Disk Agents ...........          0         
                Aborted Disk Agents ..........          0         
                -------------------------------------------     
                Disk Agents Total  ...........          1         
                ===========================================     
                Completed Media Agents .......          1         
                Failed Media Agents ..........          0         
                Aborted Media Agents .........          0         
                -------------------------------------------     
                Media Agents Total  ..........          1         
                ===========================================     
                Mbytes Total .................    7015 MB       
                Used Media Total .............          1         
                Disk Agent Errors Total ......          1   

TBSDP:~ #
TBSDP:~ #
TBSDP:~ # omnidb -session 2010/10/19-14 -report
[Warning] From: BSM@tbsdp "FS_TBSGETWAY1"  Time: 10/19/10 19:00:03
[61:11018]      Could not find related full backup of the object
        tbsgetway1:/ named "/".
        Backup mode is changed to full.

[Normal] From: BMA@h_tvmas1 "HP:Ultrium 4-SCSI_7"  Time: 10/19/10 19:02:24
        STARTING Media Agent "HP:Ultrium 4-SCSI_7"

[Normal] From: BMA@h_tvmas1 "HP:Ultrium 4-SCSI_7"  Time: 10/19/10 19:02:25
        By: UMA@tbsdb2@/dev/rchgr/autoch1
        Loading medium from slot 94 to device /dev/rtape/tape18_BESTn

[Major] From: BSM@tbsdp "FS_TBSGETWAY1"  Time: 10/19/10 19:00:06
[61:4006]       Could not connect to inet in order to start VBDA@tbsgetway1 "/ /".

[Warning] From: BSM@tbsdp "FS_TBSGETWAY1"  Time: 10/19/10 19:00:06
        The backup of this object will be retried at end of session.

[Major] From: BSM@tbsdp "FS_TBSGETWAY1"  Time: 10/19/10 19:00:06
[61:4006]       Could not connect to inet in order to start VBDA@tbsgetway1 "/ /".

[Normal] From: BMA@h_tvmas1 "HP:Ultrium 4-SCSI_7"  Time: 10/19/10 19:02:29
        /dev/rtape/tape18_BESTn
        Medium header verification completed, 0 errors found.

[Normal] From: BMA@h_tvmas1 "HP:Ultrium 4-SCSI_7"  Time: 10/19/10 19:02:29
        By: UMA@tbsdb2@/dev/rchgr/autoch1
        Unloading medium to slot 94 from device /dev/rtape/tape18_BESTn

[Normal] From: BMA@h_tvmas1 "HP:Ultrium 4-SCSI_7"  Time: 10/19/10 19:02:30
        COMPLETED Media Agent "HP:Ultrium 4-SCSI_7"

[Critical] From: BSM@tbsdp "FS_TBSGETWAY1"  Time: 10/19/10 19:00:09
        None of the Disk Agents completed successfully.
        Session has failed.

[Normal] From: BSM@tbsdp "FS_TBSGETWAY1"  Time: 10/19/10 19:00:09

        Backup Statistics:
         
                Session Queuing Time (hours)         0.00       
                -------------------------------------------     
                Completed Disk Agents ........          0         
                Failed Disk Agents ...........          1         
                Aborted Disk Agents ..........          0         
                -------------------------------------------     
                Disk Agents Total  ...........          1         
                ===========================================     
                Completed Media Agents .......          1         
                Failed Media Agents ..........          0         
                Aborted Media Agents .........          0         
                -------------------------------------------     
                Media Agents Total  ..........          1         
                ===========================================     
                Mbytes Total .................       0 MB       
                Used Media Total .............          0         
                Disk Agent Errors Total ......          0   

 

你可能感兴趣的:(常用命令)