ADSM-L

[no subject]

2015-10-04 17:25:43
? install

2.   Install and Configure TSM client.

     #mkdir /var/tmp/tsm
     #cd /
     #mount ?F nfs ?oro aals28:/export/opt/software/adsm/v4r1/sol26/ /mnt
     #cd /mnt/4.1.1
     #cp * /var/tmp/tsm
     #cd /var/tmp/tsm
     #umount /mnt
     #uncompress *.Z
     #tar xvf *.tar
     #rm *.tar
     #pkgadd ?d .

          When prompted select packages TIVsmCapi and TIVsmCba

     #touch /opt/tivoli/tsm/client/ba/bin/InclExcl

     Customise dsm.sys file.

     *****************************************************************
     * Name:         DSM.SYS                                         *
     * Description:  AdStaR Distributed Storage Manager (ADSM)       *
     *               Client System Options File                      *
     * Environment:  SunOS         Solaris                           *
     *****************************************************************

     SERVERNAME              ADSM
     CHANGINGRETRIES         4
     COMMMETHOD              TCPIP
     COMPRESSION             NO
     DIRMC                   DIRECTORY
     INCLEXCL                /opt/tivoli/tsm/client/ba/bin/InclExcl
     MAXCMDRETRIES           2
     NODENAME                XXXXXX           -- Specify Server name here
     PASSWORDACCESS          GENERATE
     ERRORLOGRETENTION       7,D
     SCHEDLOGNAME            /var/adm/dsmsched.log
     SCHEDLOGRETENTION       7,D
     SCHEDMODE               PROMPTED
     TCPBUFFSIZE             32
     TCPPORT                 1500
     TCPSERVERADDRESS        ADSMHOST
     TCPWINDOWSIZE           32
     TXNBYTELIMIT            25600
     Customise dsm.opt file

     *****************************************************************
     * Name:         DSM.OPT                                         *
     * Description:  AdStaR Distributed Storage Manager (ADSM)       *
     *               Client Options File                             *
     * Environment:  SunOS   Solaris                                 *
     *****************************************************************

     DOMAIN             ALL-LOCAL
     FOLLOWSYMBOLIC     NO
     VERBOSE
     *QUIET
     REPLACE            PROMPT
     SCROLLLINES        20
     SCROLLPROMPT       NO
     SLOWINCREMENTAL    YES
     SUBDIR             NO
     TAPEPROMPT         NO

     Configure the kernel according to the TSM documentation by adding the
     following entries to /etc/system

     set lwp_default_stksize=0x4000
     set rpcmod:svc_run_stksize=0x4000
     set semsys:seminfo_semmap=50
     set semsys:seminfo_semmni=50
     set semsys:seminfo_semmns=300
     set semsys:seminfo_semmnu=150
     set semsys:seminfo_semopm=50
     set semsys:seminfo_semume=50
     set semsys:seminfo_semmsl=125

3.   Reboot server

     #init 6

4.   Partition disk with a new root partition and swap partition.

     Take care when specifying the partition start and length parameters.

     #format

5.   Format new root partition. There is no need to format the swap partition

     #newfs /dev/rdsk/c0t3d0s0           Root partition
     #fsck /dev/rdsk/c0t3d0s0       Root partition

6.   Mount root file system

     #cd /
     #mkdir a
     #mount /dev/dsk/c0t3d0s0 /a         Root partition

7.   Restore data from TSM

     Restore from latest backup?..

     #dsmc restore -subdir=yes / /a/

     Restore to a specific date and time?.

     #dsmc restore ?subdir=yes ?pitdate=06/20/2000 ?pittime=13:40:00 / /a/

     To invoke the TSM GUI, update the LD_LIBRARY_PATH environment variable to
     include /usr/lib and /usr/dt/lib

     At the end of the restore operation check the dsmerror.log file for any
     errors

8.   Create file system mount points. TSM does not backup or restore file system
mount points so these must be created manually. Refer to file /a/etc/vfstab.

     #cd /
     #mkdir /a/proc
     #chmod 555 /a/proc
     #chgrp root /a/proc

     #mkdir /a/tmp
     #chown sys /a/tmp
     #chgrp sys /a/tmp
     #chmod 1777 /a/tmp


     #mkdir /a/dev/fd

     #mkdir ?p /a/usr/local

     #touch /a/reconfigure

9.   Before attempting to boot the system. There are some necessary changes that
need to be made to let Solaris know that the root filesystem and swap filesystem
are no longer mirrored.

·    Edit /a/etc/system

        Remove ALL lines between the "MDD root info" lines as well as those
        between the "MDD database info" lines.  In the following example file,
        all these lines would be removed/commented from the file:

     -------------------------------------------------------------
     * Begin MDD root info (do not edit)
     forceload: misc/md_trans
     forceload: misc/md_raid
     forceload: misc/md_hotspares
     forceload: misc/md_stripe
     forceload: misc/md_mirror
     forceload: drv/sd
     forceload: drv/esp
     forceload: drv/espdma
     forceload: drv/sbus
     forceload: drv/iommu
     rootdev:/pseudo/md@0:0,3,blk
     * End MDD root info (do not edit)
     * Begin MDD database info (do not edit)
     set md:mddb_bootlist1="sd:14:16 sd:15:16"
     * End MDD database info (do not edit)
     -------------------------------------------------------------

·    Edit /a/etc/vfstab

        Change all metadevices for the root filesystems (root, usr, var, and
        opt) back to regular slices (/dev/dsk/c#t#d#s#).  Comment out all the
        metadevices for the other filesystems on the system for time being.  For
        example:

             ** EXAMPLE FILE BEFORE:
     ---------------------------------------------------------------------------
     #device         device           mount         FS     fsck  mount      
#device         device           mount         FS     fsck  mount   mount
     #to mount       to fsck          point         type   pass  at boot options
     /proc           -                /proc         proc   -     no      -
     fd              -                /dev/fd       fd     -     no      -
     swap            -                /tmp          tmpfs  -     yes     -
     /dev/md/dsk/d1  -                -             swap   -     no      -
     /dev/md/dsk/d0  /dev/md/rdsk/d0  /             ufs    1     no      -
     /dev/md/dsk/d2  /dev/md/rdsk/d2  /usr          ufs    1     no      -
     /dev/md/dsk/d3  /dev/md/rdsk/d3  /var          ufs    2     yes     -
     /dev/md/dsk/d4  /dev/md/rdsk/d4  /opt          ufs    2     yes     -
     /dev/md/dsk/d5  /dev/md/rdsk/d5  /export/home  ufs    3     yes     quota
     /dev/md/dsk/d6  /dev/md/rdsk/d6  /export/home1 ufs    3     yes     quota
     ---------------------------------------------------------------------------
             ** EXAMPLE FILE AFTER:
             ** EXAMPLE FILE AFTER:
     ---------------------------------------------------------------------------
     #device           device             mount         FS     fsck  mo     
#device           device             mount         FS     fsck  mount
     mount
     #to mount         to fsck            point         type   pass  at boot
     options
     #
     /proc             -                  /proc         proc   -     no      -
     fd                -                  /dev/fd       fd     -     no      -
     swap              -                  /tmp          tmpfs  -     yes     -
     /dev/dsk/c0t0d0s1 -                  -             swap   -     no      -
     /dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 /             ufs    1     no      -
     /dev/dsk/c0t0d0s6 /dev/rdsk/c0t0d0s6 /usr          ufs    1     no      -
     /dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /var          ufs    2     yes     -
     /dev/dsk/c0t0d0s4 /dev/rdsk/c0t0d0s4 /opt          ufs    2     yes     -
     #/dev/md/dsk/d5    /dev/md/rdsk/d5    /export/home  ufs    3     yes
     quota
     #/dev/md/dsk/d6    /dev/md/rdsk/d6    /export/home1 ufs    3     yes
     quota
     ---------------------------------------------------------------------------
10.  Install the boot block in the new root partition
10.  Install the boot block in the new root partition

     #installboot /usr/platform/`uname ?i`/lib/fs/ufs/bootblk /dev/rdsk/c0t3d0s0

11.  Update the boot prom to boot off the new root partition

     #/usr/platform/`uname ?i`/sbin/eeprom boot-device='disk:a disk net'

12.  Re-boot server

     #init 6

13.  Start /usr/opt/SUNWmb/sbin/metatool. The old SDS environment is displayed.
Delete all metadevices and SDB (State Database) replicas.

14.  Recreate the SDB replicas

15.  Recreate the mirrored metadevices


Additional reference material is located at http://sunsolve4.sun.com. Infodocs
14074, 19290, 11854






"<James> <healy>" <James.Healy2 AT AXACS DOT COM> on 15/12/2000 23:12:15

Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
                                                                                
                                                                                
                                                                                


                                                              
                                                              
                                                              
 To:      ADSM-L AT VM.MARIST DOT EDU                                
                                                              
 cc:      (bcc: Gavin Ring/AALC/AlcatelAustralia)             
                                                              
                                                              
                                                              
 Subject: Re: Restore Sun Solaris from scratch                
                                                              







<Prev in Thread] Current Thread [Next in Thread>
  • [no subject], Unknown <=