再次实践 TSM ,文件上带(解决 ANS1355E Session rejected: Server disabled)

本文主要是介绍再次实践 TSM ,文件上带(解决 ANS1355E Session rejected: Server disabled),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

今天试验了一把 node 定制 schedule 备份:

tsm: TSM_SVR1>register node xin xin
ANR2060I Node XIN registered in policy domain STANDARD.
ANR2099I Administrative userid XIN defined for OWNER access to node XIN.

tsm: TSM_SVR1>q node

Node Name                     Platform     Policy Domain      Days Since     Days Since     Locked?
                                           Name               Last Acce-       Password    
                                                                      ss            Set    
-------------------------     --------     --------------     ----------     ----------     -------
CLIENT                        (?)          STANDARD                  100            100       No  
HUIPING                       Linux86      DO_VTL                     89             99       No  
SHENG                         Linux86      DO_VTL                     84             85       No  
TEST                          Linux86      DO_VTL                     99             99       No  
XIN                           (?)          STANDARD                   <1             <1       No  

--------------

下面把问号去掉:

Step1:
define a domain:

tsm: TSM_SVR1>define domain atm
ANR1500I Policy domain ATM defined.

tsm: TSM_SVR1>q domain

Policy        Activated     Activated      Number of     Description            
Domain        Policy        Default       Registered    
Name          Set           Mgmt               Nodes    
                            Class                       
---------     ---------     ---------     ----------     ------------------------
ATM                                                0                            
DO_VTL        PS_VTL        MC_VTL                 3     Domain for VTL library 
STANDARD      STANDARD      STANDARD               2     Installed default policy
                                                          domain.             
                                                         
Step2:
 define a policyset:

tsm: TSM_SVR1>define policyset atm pc_atm
ANR1510I Policy set PC_ATM defined in policy domain ATM.

tsm: TSM_SVR1>q policyset

Policy        Policy        Default       Description            
Domain        Set Name      Mgmt         
Name                        Class        
                            Name         
---------     ---------     ---------     ------------------------
ATM           PC_ATM                                             
DO_VTL        ACTIVE        MC_VTL        Policy set for the     
                                           DO_VTL domain         
DO_VTL        PS_VTL        MC_VTL        Policy set for the     
                                           DO_VTL domain         
STANDARD      ACTIVE        STANDARD      Installed default policy
                                           set.                  
STANDARD      STANDARD      STANDARD      Installed default policy
                                           set.                  

Step3:
  define mgmt:
tsm: TSM_SVR1>define mg atm pc_atm mg_atm
ANR1520I Management class MG_ATM defined in policy domain ATM, set PC_ATM.

tsm: TSM_SVR1>q mgmt

Policy        Policy        Mgmt          Default       Description            
Domain        Set Name      Class         Mgmt         
Name                        Name          Class ?      
---------     ---------     ---------     ---------     ------------------------
ATM           PC_ATM        MG_ATM        No                                   
DO_VTL        ACTIVE        MC_VTL        Yes           Management Class for   
                                                         DO_vtl domain         
DO_VTL        PS_VTL        MC_VTL        Yes           Management Class for   
                                                         DO_vtl domain         
STANDARD      ACTIVE        STANDARD      Yes           Installed default      
                                                         management class.     
STANDARD      STANDARD      STANDARD      Yes           Installed default      
                                                         management class.    
                                                        
Step4:
assign the default mgmtclass:

tsm: TSM_SVR1>assign defmg atm pc_atm mg_atm
ANR1538I Default management class set to MG_ATM for policy domain ATM, set PC_ATM.

tsm: TSM_SVR1>q mgmt

Policy        Policy        Mgmt          Default       Description            
Domain        Set Name      Class         Mgmt         
Name                        Name          Class ?      
---------     ---------     ---------     ---------     ------------------------
ATM           PC_ATM        MG_ATM        Yes                                  
DO_VTL        ACTIVE        MC_VTL        Yes           Management Class for   
                                                         DO_vtl domain         
DO_VTL        PS_VTL        MC_VTL        Yes           Management Class for   
                                                         DO_vtl domain         
STANDARD      ACTIVE        STANDARD      Yes           Installed default      
                                                         management class.     
STANDARD      STANDARD      STANDARD      Yes           Installed default      
                                                         management class.     

Step5:

define a drive class:

(这是为 建stgpool 来)

tsm: TSM_SVR1>define devclass lto2 devtype=lto format=ULTRIUM2C ESTCAPACITY=1G LIBRARY=VTL01

 

Step5:
define new stgpool:

tsm: TSM_SVR1>define stgpool atmpool lto2 maxscr=2 desc="atm backup pool"
ANR2200I Storage pool ATMPOOL defined (device class LTO2).

tsm: TSM_SVR1>q stgpool    

Storage         Device          Estimated       Pct       Pct     High     Low     Next Stora-
Pool Name       Class Name       Capacity      Util      Migr      Mig     Mig     ge Pool   
                                                                   Pct     Pct    
-----------     ----------     ----------     -----     -----     ----     ---     -----------
ARCHIVEPOOL     DISK                5.0 M       0.0       0.0       90      70               
AR_TAPE_PO-     LTO2                0.0 M       0.0       0.0       90      70               
 OL                                                                                          
ATMPOOL         LTO2                0.0 M       0.0       0.0       90      70                                                                                                          
SPACEMGPOOL     DISK                0.0 M       0.0       0.0       90      70               

step6:
define a newc opygroup

tsm: TSM_SVR1>def co atm pc_atm mg_atm standard type=backup dest=atmpool
ANR1530I Backup copy group STANDARD defined in policy domain ATM, set PC_ATM, management class MG_ATM.

tsm: TSM_SVR1>q copy

Policy        Policy        Mgmt          Copy          Versions     Versions       Retain      Retain
Domain        Set Name      Class         Group             Data         Data        Extra        Only
Name                        Name          Name            Exists      Deleted     Versions     Version
---------     ---------     ---------     ---------     --------     --------     --------     -------
ATM           PC_ATM        MG_ATM        STANDARD             2            1           30          60

看上面的全是默认值。

下面来验证管理策略:

tsm: TSM_SVR1>validate policyset atm pc_atm
ANR1554W DEFAULT Management class MG_ATM in policy set ATM PC_ATM does not have an ARCHIVE copygroup:  files will not
be archived by default if this set is activated.
ANR1515I Policy set PC_ATM validated in domain ATM (ready for activation).

下面来激活一下:

tsm: TSM_SVR1>activate policyset atm pc_atm
ANR1554W DEFAULT Management class MG_ATM in policy set ATM PC_ATM does not have an ARCHIVE copygroup:  files will not be
archived by default if this set is activated.

Do you wish to proceed? (Yes (Y)/No (N)) y
ANR1554W DEFAULT Management class MG_ATM in policy set ATM PC_ATM does not have an ARCHIVE copygroup:  files will not be
archived by default if this set is activated.
ANR1514I Policy set PC_ATM activated in policy domain ATM.

下面来说说磁带:

tsm: TSM_SVR1>q libv

Library Name     Volume Name     Status               Owner          Last Use      Home        Device
                                                                                   Element     Type 
------------     -----------     ----------------     ----------     ---------     -------     ------
VTL01            CO0001          Private                                           1                
VTL01            CO0002          Private                             Data          2                
VTL01            CO0004          Private                             Data          4                
VTL01            CO0005          Scratch                                           5                

tsm: TSM_SVR1>q v

Volume Name                  Storage         Device         Estimated       Pct      Volume
                             Pool Name       Class Name      Capacity      Util      Status
------------------------     -----------     ----------     ---------     -----     --------
/opt/tivoli/tsm/server/-     ARCHIVEPOOL     DISK               5.0 M       0.0     On-Line
 bin/archive.dsm                                                                           
/opt/tivoli/tsm/server/-     BACKUPPOOL      DISK              10.0 M      70.7     On-Line
 bin/backup.dsm                                                                            
CO0002                       BA_TAPE_PO-     LTO2               1.0 G       0.0     Filling
                              OL                                                           
CO0003                       BA_TAPE_PO-     LTO2               1.8 G     100.0       Full 
                              OL                                                           
CO0004                       BA_TAPE_PO-     LTO2               1.0 G     100.0     Filling
                              OL                                                           
                             
tsm: TSM_SVR1>define volume atmpool CO0005
ANR2206I Volume CO0005 defined in storage pool ATMPOOL (device class LTO2).

tsm: TSM_SVR1>q v

Volume Name                  Storage         Device         Estimated       Pct      Volume
                             Pool Name       Class Name      Capacity      Util      Status
------------------------     -----------     ----------     ---------     -----     --------
/opt/tivoli/tsm/server/-     ARCHIVEPOOL     DISK               5.0 M       0.0     On-Line
 bin/archive.dsm                                                                           
/opt/tivoli/tsm/server/-     BACKUPPOOL      DISK              10.0 M      70.7     On-Line
 bin/backup.dsm                                                                            
CO0002                       BA_TAPE_PO-     LTO2               1.0 G       0.0     Filling
                              OL                                                           
CO0003                       BA_TAPE_PO-     LTO2               1.8 G     100.0       Full 
                              OL                                                           
CO0004                       BA_TAPE_PO-     LTO2               1.0 G     100.0     Filling
                              OL                                                           
CO0005                       ATMPOOL         LTO2               0.0 M       0.0      Empty

到现在为止,
如果备份的话,node:xin 上是不能备份到atmpool 上的,先看一下,因为node : xin 没有关联到policy domain :pc_atm 下:
tsm: TSM_SVR1>q node xin f=d

                     Node Name: XIN
                      Platform: (?)
               Client OS Level: (?)
                Client Version: (?)
            Policy Domain Name: STANDARD
         Last Access Date/Time: 08/24/2008 00:32:01
        Days Since Last Access: <1
        Password Set Date/Time: 08/24/2008 00:32:01
       Days Since Password Set: <1
         Invalid Sign-on Count: 0
                       Locked?: No
                       Contact:
                   Compression: Client
       Archive Delete Allowed?: Yes
        Backup Delete Allowed?: No
        Registration Date/Time: 08/24/2008 00:32:01
     Registering Administrator: ADMIN
Last Communication Method Used:
   Bytes Received Last Session: 0
       Bytes Sent Last Session: 0
      Duration of Last Session: 0.00
   Pct. Idle Wait Last Session: 0.00
  Pct. Comm. Wait Last Session: 0.00
  Pct. Media Wait Last Session: 0.00
                     Optionset:
                           URL:
                     Node Type: Client
    Password Expiration Period:
             Keep Mount Point?: No
  Maximum Mount Points Allowed: 1
        Auto Filespace Rename : No
             Validate Protocol: No
                   TCP/IP Name:
                TCP/IP Address:
               
看到上面是:policy domain : standard:

测试:
root@aoracle bin]# ./dsmc
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
  Client Version 5, Release 5, Level 1.0 
  Client date/time: 04/28/2012 09:45:18
(c) Copyright by IBM Corporation and other(s) 1990, 2008. All Rights Reserved.

Node Name: XIN
ANS1355E Session rejected: Server disabled

解决方法:

tsm: TSM_SVR1>accept date
ANR0893I Are you sure that you want to accept the current system date as valid ?

Do you wish to proceed? (Yes (Y)/No (N)) y     
ANR0894I Current system has been accepted as valid.

tsm: TSM_SVR1>enable sessions
ANR2552I Server now enabled for Client access.

再开始登入一次:

[root@aoracle bin]# ./dsmc
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
  Client Version 5, Release 5, Level 1.0 
  Client date/time: 04/28/2012 09:50:04
(c) Copyright by IBM Corporation and other(s) 1990, 2008. All Rights Reserved.

Node Name: XIN
Please enter your user id <XIN>: xin

Please enter password for user id "XIN":

Session established with server TSM_SVR1: Linux/i386
  Server Version 5, Release 5, Level 1.0
  Server date/time: 08/24/2008 01:24:31  Last access: 08/24/2008 01:24:31

tsm: TSM_SVR1>q node

Node Name                     Platform     Policy Domain      Days Since     Days Since     Locked?
                                           Name               Last Acce-       Password    
                                                                      ss            Set    
-------------------------     --------     --------------     ----------     ----------     -------
CLIENT                        (?)          STANDARD                  100            100       No  
HUIPING                       Linux86      DO_VTL                     89             99       No  
SHENG                         Linux86      DO_VTL                     84             85       No  
TEST                          Linux86      DO_VTL                     99             99       No  
XIN                           Linux86      STANDARD                   <1             <1       No  

备份一次看:

[root@aoracle bin]# ./dsmc selective /home -subdir=yes

磁带是没有的:
tsm: TSM_SVR1>q v

Volume Name                  Storage         Device         Estimated       Pct      Volume
                             Pool Name       Class Name      Capacity      Util      Status
------------------------     -----------     ----------     ---------     -----     --------                                                         
CO0005                       ATMPOOL         LTO2               0.0 M       0.0      Empty 
其实是备份到磁盘了。

下面来改备份到磁带:
tsm: TSM_SVR1>q node

Node Name                     Platform     Policy Domain      Days Since     Days Since     Locked?
                                           Name               Last Acce-       Password    
                                                                      ss            Set    
-------------------------     --------     --------------     ----------     ----------     -------
CLIENT                        (?)          STANDARD                  100            100       No  
HUIPING                       Linux86      DO_VTL                     89             99       No  
SHENG                         Linux86      DO_VTL                     84             85       No  
TEST                          Linux86      DO_VTL                     99             99       No  
XIN                           Linux86      STANDARD                   <1             <1       No  

tsm: TSM_SVR1>update node xin domain=atm
ANR2063I Node XIN updated.

tsm: TSM_SVR1>q node

Node Name                     Platform     Policy Domain      Days Since     Days Since     Locked?
                                           Name               Last Acce-       Password    
                                                                      ss            Set    
-------------------------     --------     --------------     ----------     ----------     -------
CLIENT                        (?)          STANDARD                  100            100       No  
HUIPING                       Linux86      DO_VTL                     89             99       No  
SHENG                         Linux86      DO_VTL                     84             85       No  
TEST                          Linux86      DO_VTL                     99             99       No  
XIN                           Linux86      ATM                        <1             <1       No  


q node 可以看到这个node 是否lock.

这篇关于再次实践 TSM ,文件上带(解决 ANS1355E Session rejected: Server disabled)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/432936

相关文章

Spring事务中@Transactional注解不生效的原因分析与解决

《Spring事务中@Transactional注解不生效的原因分析与解决》在Spring框架中,@Transactional注解是管理数据库事务的核心方式,本文将深入分析事务自调用的底层原理,解释为... 目录1. 引言2. 事务自调用问题重现2.1 示例代码2.2 问题现象3. 为什么事务自调用会失效3

mysql出现ERROR 2003 (HY000): Can‘t connect to MySQL server on ‘localhost‘ (10061)的解决方法

《mysql出现ERROR2003(HY000):Can‘tconnecttoMySQLserveron‘localhost‘(10061)的解决方法》本文主要介绍了mysql出现... 目录前言:第一步:第二步:第三步:总结:前言:当你想通过命令窗口想打开mysql时候发现提http://www.cpp

tomcat多实例部署的项目实践

《tomcat多实例部署的项目实践》Tomcat多实例是指在一台设备上运行多个Tomcat服务,这些Tomcat相互独立,本文主要介绍了tomcat多实例部署的项目实践,具有一定的参考价值,感兴趣的可... 目录1.创建项目目录,测试文China编程件2js.创建实例的安装目录3.准备实例的配置文件4.编辑实例的

SpringBoot启动报错的11个高频问题排查与解决终极指南

《SpringBoot启动报错的11个高频问题排查与解决终极指南》这篇文章主要为大家详细介绍了SpringBoot启动报错的11个高频问题的排查与解决,文中的示例代码讲解详细,感兴趣的小伙伴可以了解一... 目录1. 依赖冲突:NoSuchMethodError 的终极解法2. Bean注入失败:No qu

Python 中的异步与同步深度解析(实践记录)

《Python中的异步与同步深度解析(实践记录)》在Python编程世界里,异步和同步的概念是理解程序执行流程和性能优化的关键,这篇文章将带你深入了解它们的差异,以及阻塞和非阻塞的特性,同时通过实际... 目录python中的异步与同步:深度解析与实践异步与同步的定义异步同步阻塞与非阻塞的概念阻塞非阻塞同步

Python Dash框架在数据可视化仪表板中的应用与实践记录

《PythonDash框架在数据可视化仪表板中的应用与实践记录》Python的PlotlyDash库提供了一种简便且强大的方式来构建和展示互动式数据仪表板,本篇文章将深入探讨如何使用Dash设计一... 目录python Dash框架在数据可视化仪表板中的应用与实践1. 什么是Plotly Dash?1.1

springboot报错Invalid bound statement (not found)的解决

《springboot报错Invalidboundstatement(notfound)的解决》本文主要介绍了springboot报错Invalidboundstatement(not... 目录一. 问题描述二.解决问题三. 添加配置项 四.其他的解决方案4.1 Mapper 接口与 XML 文件不匹配

springboot集成Deepseek4j的项目实践

《springboot集成Deepseek4j的项目实践》本文主要介绍了springboot集成Deepseek4j的项目实践,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价... 目录Deepseek4j快速开始Maven 依js赖基础配置基础使用示例1. 流式返回示例2. 进阶

Python中ModuleNotFoundError: No module named ‘timm’的错误解决

《Python中ModuleNotFoundError:Nomodulenamed‘timm’的错误解决》本文主要介绍了Python中ModuleNotFoundError:Nomodulen... 目录一、引言二、错误原因分析三、解决办法1.安装timm模块2. 检查python环境3. 解决安装路径问题

如何解决mysql出现Incorrect string value for column ‘表项‘ at row 1错误问题

《如何解决mysql出现Incorrectstringvalueforcolumn‘表项‘atrow1错误问题》:本文主要介绍如何解决mysql出现Incorrectstringv... 目录mysql出现Incorrect string value for column ‘表项‘ at row 1错误报错