ADSM-L

Re: move TSM server

2004-06-28 00:44:38
Subject: Re: move TSM server
From: Gordon Woodward <gordon.woodward AT DB DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 28 Jun 2004 14:44:08 +1000
Hi,

I've been doing the same task lately and documented the process in a bit of 
detail for future reference, just in case we ever have to do the same thing 
again.

The only tricky part I've found about moving the TSM instance to a new server. 
is registering the server instance in the TSM Management Console, especially 
when the instance is not labeled 'Server1'. The only way I've found to get 
around it is to redo the TSM server setup wizards (the first three) before 
restoring the TSM server config and database. There might be a better way to do 
it but I haven't found it yet.

Anyway, below are the steps I wrote out for our specific TSM production system, 
but it should give you the right direction.

Old TIVOLI_HO Server
1.    Disable client sessions
      a.    DISABLE SESSIONS
2.    Migrate all disk storage pools to tape
      a.    UPDATE STGP BACKUP HI=0 LO=0
      b.    UPDATE STGP BACKUPCOLL HI=0 LO=0
      c.    UPDATE STGP ARCHIVE HI=0 LO=0
      d.    UPDATE STGP ARCH-S2S HI=0 LO=0
3.    Cancel any active processes
      a.    CANCEL PROCESS #
      b.    UPDATE STGP TAPE-S2S REC=100
4.    Record size of storage pool volumes
      a.    QUERY STGP F=D (print results)
      b.    QUERY VOL DEVC=DISK F=D (print results)
5.    Note configuration of library, devclass, drives and paths, licenses
      a.    QUERY LIBRARY F=D (print results)
      b.    QUERY DEVC F=D (print results)
      c.    QUERY DRIVE F=D (print results)
      d.    QUERY SYSTEM (print results)
      e.    QUERY LICENSE (print results)
6.    Backup TSM database
      a.    BACKUP DB DEVCLASS=LTOARC TYPE=FULL SCRATCH=YES
      b.    BACKUP DEVCONFIG
      c.    BACKUP VOLHISTORY
      d.    PREPARE
      e.    Record volume name database is saved to
7.    Note size of database and recovery log volumes
      a.    QUERY DBVOL F=D (print results)
      b.    QUERY LOGVOL F=D (print results)
8.    Copy TSM configuration files to new server
      a.    COPY C:\PROGRA~1\TIVOLI\TSM\SERVER1\DSMSERV.DSK
      b.    COPY C:\PROGRA~1\TIVOLI\TSM\BACLIENT\DSM.OPT
      c.    COPY C:\PROGRA~1\TIVOLI\TSM\SERVER1\DEVCNFG.OUT
      d.    COPY C:\PROGRA~1\TIVOLI\TSM\SERVER1\VOLHIST.OUT
      e.    COPY C:\PROGRA~1\TIVOLI\TSM\SERVER1\DSMSERV.OPT
      f.    COPY D:\LOGS\TSM\DEVCONFIG.LOG
      g.    COPY D:\LOGS\TSM\VOLHIST.LOG
9.    Shutdown server (halt)

New Server
10.   Attach the libraries and SAN drives from the old server to new server 
(Navisphere/FC Switch)
      a.    SAN Storage Group
            i.    Connect to Navisphere at HO
            ii.   Move Tivoi_HO storage group to new server, remove old server
      b.    Dell Tape Library
            i.    Connect to DR Brocade switch
            ii.   Re-zone Dell PV136T library to new server
            iii.  Enable configuration
      c.    Restart old server
      d.    Reboot new server
11.   Install TSM base server code on new server
12.   Install TSM device driver onto new server
13.   Install TSM licenses (from original CD)
14.   Create original TSM server directories
      a.    MD D:\LOGS\TSM\
      b.    MD C:\PROGRA~1\TIVOLI\TSM\SERVER1\
15.   Extract PREPARE file
      a.    CSCRIPT PLANEXPL.VBS <path\filename>
16.   Copy TSM configuration files to original locations
      a.    COPY C:\PROGRA~1\TIVOLI\TSM\SERVER1\DSMSERV.DSK
      b.    COPY C:\PROGRA~1\TIVOLI\TSM\BACLIENT\DSM.OPT
      c.    COPY C:\PROGRA~1\TIVOLI\TSM\SERVER1\DEVCNFG.OUT
      d.    COPY C:\PROGRA~1\TIVOLI\TSM\SERVER1\VOLHIST.OUT
      e.    COPY C:\PROGRA~1\TIVOLI\TSM\SERVER1\DSMSERV.OPT
      f.    COPY D:\LOGS\TSM\DEVCONFIG.LOG
      g.    COPY D:\LOGS\TSM\VOLHIST.LOG
17.   Update DEVCONFIG.LOG/DEVCNFG.OUT
      a.    Check library drive element numbers
            i.    Get library TSM device name (eg LB2.1.0.4) from TSM Device 
Driver
            ii.   Run C:\PROGRA~1\TIVOLI\TSM\SERVER\LBTEST
            iii.  Select 1 for Manual Test.
            iv.   Select 1 for "set device special file".
            v.    Input the library name, for example lb2.0.1.2.
            vi.   Select 6 for "open".
            vii.  Select 8 for "ioctl return element count".
            viii. Select 9 for "ioctl return all library inventory".
      b.    Edit DEVCONFIG.LOG/DEVCNFG.OUT
            i.    DEFINE LIBRARY ATL LIBTYPE=SCSI DEVICE=LB2.1.0.x SHARED=YES 
(check TSM device driver details)
            ii.   DEFINE DRIVE ATL DRIVE0 DEVICE=MT2.6.0.x ELEMENT=256 
ONLINE=Yes (check TSM device driver details)
            iii.  DEFINE DRIVE ATL DRIVE1 DEVICE=MT2.8.0.x ELEMENT=257 
ONLINE=Yes (check TSM device driver details)
            iv.   DEFINE DRIVE ATL DRIVE2 DEVICE=MT2.5.0.x ELEMENT=258 
ONLINE=Yes (check TSM device driver details)
            v.    Repeat for ATLARC
18.   Create new DATABASE and LOG files
      a.    DSMSERV -K "DRSERVER" FORMAT 1 "D:\TSMVOLUMES_DR\LOG1.DSM" 1000 1 
"D:\TSMVOLUMES_DR\DB1.DSM" 2000
19.   Restore TSM database
      a.    "C:\PROGRAM FILES\TIVOLI\TSM\SERVER\DSMSERV" -k "DRSERVER" RESTORE 
DB todate=TODAY
20.   Start TSM server
      a.    DSMSERV" -k "DRSERVER"
21.   Register licences
      a.    REGISTER LICENSE FILE(%filename%.LIC)
      b.    Repeat for all licenses required
22.   Restore disk storage pool volumes using details from (2b)
a.    dsmfmt -data "F:\TSMVOLUMES\ARCHIVE\DATA1.DSM@" 20000
      b.    dsmfmt -data "F:\TSMVOLUMES \ARCHIVE\DATA2.DSM@" 20000
      c.    dsmfmt -data "F:\TSMVOLUMES \ARCHIVE\DATA3.DSM@" 20000
      a.    dsmfmt -data "F:\TSMVOLUMES \ARCHIVE\DATA4.DSM@" 20000
23.   Test server and client operations

Regards,

Gordon Woodward
Wintel Server Support



                                                                                
                                                       
                      hegedusgy@MEGATRE                                         
                                                       
                      ND.HU                    To:       ADSM-L AT VM.MARIST 
DOT EDU                                                          
                      Sent by:                 cc:                              
                                                       
                      [email protected].        Subject:  move TSM server        
                                                       
                      EDU                                                       
                                                       
                                                                                
                                                       
                                                                                
                                                       
                      26/06/2004 12:20                                          
                                                       
                      AM                                                        
                                                       
                      Please respond to                                         
                                                       
                      ADSM-L                                                    
                                                       
                                                                                
                                                       
                                                                                
                                                       




Hi,

I should move the TSM server (on Windows 2000) to new hardware. Where can I
find a writings about it? Can anybody point me?
How can I export/import the configuration, etc.

Thanks in advance.


György Hegedus
Megatrend 2000 Rt.





--

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.

<Prev in Thread] Current Thread [Next in Thread>