ADSM-L

Re: [ADSM-L] How to load via a commandline a second TSM Storage Agent - part 2

2013-03-17 06:49:58
Subject: Re: [ADSM-L] How to load via a commandline a second TSM Storage Agent - part 2
From: Robert Ouzen <rouzen AT UNIV.HAIFA.AC DOT IL>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Sun, 17 Mar 2013 10:48:01 +0000
Hi to all



I succeed to load another storage agent , point to another tsm server.



I check the validate lanfree and its work O.K



tsm: ADSM2>validate lanfree drm_exchsrva exchsrvan_sa

ANR0387I Evaluating node DRM_EXCHSRVA using storage agent EXCHSRVAN_SA for 
LAN-free data movement.



Node      Storage      Operation     Mgmt Class     Destination      LAN-Free   
   Explanation

Name      Agent                      Name           Name             capable?

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

DRM_-     EXCHSRV-     BACKUP        MGDRM_EMC      DISK-DRM         No         
   Destination storage

EXC-      AN_SA                                                                 
   pool is DISK.

HSR-

VA

DRM_-     EXCHSRV-     BACKUP        MGDRM_T        I-DRM            Yes

EXC-      AN_SA

HSR-

VA

DRM_-     EXCHSRV-     ARCHIVE       MGDRM_EMC      DISK-DRM         No         
   Destination storage

EXC-      AN_SA                                                                 
   pool is DISK.

HSR-

VA

DRM_-     EXCHSRV-     ARCHIVE       MGDRM_LOG1     I-DRM            Yes

EXC-      AN_SA

HSR-

VA

DRM_-     EXCHSRV-     ARCHIVE       MGDRM_LOG2     I-DRM            Yes

EXC-      AN_SA

HSR-

VA

DRM_-     EXCHSRV-     ARCHIVE       MGDRM_T        I-DRM            Yes

EXC-      AN_SA

HSR-

VA

DRM_-     EXCHSRV-     ARCHIVE       MGDRM_T_V      I-DRM            Yes

EXC-      AN_SA

HSR-

VA

ANR1706I Ping for server 'EXCHSRVAN_SA' was able to establish a connection.

ANR0388I Node DRM_EXCHSRVA using storage agent EXCHSRVAN_SA has 5 storage pools 
capable of LAN-free data movement and 2 storage pools not capable of LAN-free 
data movement.



I mean to backup directly to physical LTO5 drive, I define path as:



tsm: ADSM2>q path exchsrvan_sa f=d



Source Name Source Type Destination Destination Library     Node Name   Device  
    External    ZOS Media   Comm.       LUN         Initiator   Directory   
On-Line Last Update by  Last Upda-

                        Name        Type                                        
    Manager     Server      Method                                              
    (administrator) te Date/T-

                                                                                
                                                                                
                       ime

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

EXCHSRVAN_- SERVER      LTO5DRV1    DRIVE       LTO5LIB                 
\\.\Tape0                                                   0                   
    Yes     ROBERT          03/17/2013

SA                                                                              
                                                                                
                    11:25:34

EXCHSRVAN_- SERVER      LTO5DRV2    DRIVE       LTO5LIB                 
\\.\Tape1                                                   0                   
    Yes     ROBERT          03/17/2013

SA                                                                              
                                                                                
                    11:25:55



I tried to put on device parameter , the device I got from management console 
on the Tsm server  (\\.\Tape0<file:///\\.\Tape0> and 
\\.\Tape1<file:///\\.\Tape1>)  or tried too to put device form management 
console of the Windows Client where the storage agent is install 
(\\.\Tape11<file:///\\.\Tape11> and \\.\Tape12<file:///\\.\Tape12>)



So first of all in the define server which device parameter I add to add,  
device name \\.\Tape11   or Tsm name 
mt1.0.0.4<file:///\\.\Tape11%20%20%20or%20Tsm%20name%20mt1.0.0.4>



I run a test backup as:

tdpexcc backup Ad12-Users12 full /tsmoptfile=Server2_drm.opt



I saw several mounts on the two drives but nothing happens , just this error 
message:



ANR0530W Transaction failed for session 3425 for node  DRM_EXCHSRVA (TDP 
MSExchg) - internal server error  detected. (SESSION: 3425)



Best Regards



Robert









Hello Pascal



Thanks for the explication ....



But as I said in my previous message my environment looks like this: ( I  am to 
backup to 2 different  TSM servers)



·         First Instance STA (default tcpport 1500) go to TSM server1  , in his 
dsm.opt I add:     lanfreetcpport            1502

·         Second instance STA (I gave another tcpport 1600) go to TSM server2, 
in his dsm_NEW.opt I add lanfreetcpport            1602



Only when I gave in the second STA another tcpport (1600) I succeed to load the 
second instance ( dsmsat –k "StorageAgent2")



The problem with this is on my second TSm server (server2) , all my regular 
clients backups are now missed because of the change of the tcpport 1600.



I don't want to add manually to each dsm.opt  node  the line:  tcpport 1600



How to do it in general  ? and what is the difference between the two commands:



·         SETOPT TCPPORT              1600    - to change the parameter on   Q  
OPT

·         SET SERVERHLADDRESS  1600    - to change the parameter on   Q ST



Regards Robert



-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
Alex Paschal
Sent: Wednesday, February 27, 2013 8:08 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] How to load via a commandline a second TSM Storage Agent 
- part 2



Hi, Robert.  I think this is the point of confusion.

      tcpport is the TSM Server's listener port.

      lanfreetcpport is the port on which the stg agent listens.



Between your two instances, tcpport should be the same if both instances are 
talking to the same TSM Server.



The two lanfreetcpports should be different because the two instances cannot 
listen on the same port at the same time.  You will likely require multiple 
dsm.opt files so this can be set separately for each stg agent.





On 2/27/2013 2:50 AM, Robert Ouzen wrote:

> Hello Karel

>

> Thanks it's what I needed ....

>

> Another question If I can , to run 2 STA instance to tow different

> station I need in the second one to add another tcpport 1600 (default

> is 1500)

>

>

> If not got an communication rror , when I change in my second TSM server the 
> tcpport to 1600. I succeed to load the second STA without any error.

> In the opt  file of the server :   SETOPT TCPPORT  1600                (Q OPT)

> In the status of the server:       SET SERVERHLADDRESS   1600    (Q ST)

>

> After doing that the client connection is to 1600 too.

>

> ANR8200I TCP/IP Version 4 driver ready for connection with  clients on port 
> 1600.

>

> And now my backups are not running .....

>

> Which TCPPORT parameter in in charge of the configuration for the STA  and 
> which one for the clients ? It's two TCPORT parameter  one on q opt and one 
> on q st.

>

> For now I return to TCPPORT 1500 on the both queries for the backups

> to run again ( my STA is stuck)

>

> Regards  Robert

>

> -----Original Message-----

> From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf

> Of Karel Bos

> Sent: Monday, February 25, 2013 3:24 PM

> To: ADSM-L AT VM.MARIST DOT EDU<mailto:ADSM-L AT VM.MARIST DOT EDU>

> Subject: Re: [ADSM-L] How to load via a commandline a second TSM

> Storage Agent - part 2

>

> Hi,

>

> dsmsta -k StorageAgentX

> from command prompt where X = 2 in below information.

>

> Kind regards,

> Karel

>

>

> 2013/2/24 Robert Ouzen <rouzen AT univ.haifa.ac DOT il<mailto:rouzen AT 
> univ.haifa.ac DOT il>>

>

>> Hello

>>

>> Again about this issue , still now no tips at all….

>>

>> Help please

>>

>> Regards Robert

>>

>> Hello

>>

>> I created a second TSM Storage Agent instance on a Client backup with

>> Lanfree as described in this article:

>> http://www-01.ibm.com/support/docview.wss?uid=swg21326355

>>

>> My second instance call TSM StorageAgent2 as this own dsmsta.opt and

>> devconfig.txt .

>> I am wondering how to load this new instance on a command line to

>> view if everything is O.K .

>>

>> To load the original instance (first one) I run dsmsta  from a cmd

>> window , what I need to type to  load the second one ?

>>

>> T.I.A Regards

>>

>> Robert

>>
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [ADSM-L] How to load via a commandline a second TSM Storage Agent - part 2, Robert Ouzen <=