ADSM-L

Re: [ADSM-L] RES: chamado 02652 / TDP Domino em Linux

2007-11-19 17:32:39
Subject: Re: [ADSM-L] RES: chamado 02652 / TDP Domino em Linux
From: Steven Harris <sjharris AT AU1.IBM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 20 Nov 2007 09:31:17 +1100
The TDP for Domino is a sensitive beast.  One of the reasons for this is
that it uses a wrapper script that runs in every environment that domino
can run in to determine which operating system, architecture and other
relevant information.

I suggest that you re-install TDP from scratch, and pay careful attention
to all of the questions that the installation script asks you. A wrong
answer here can ruin everything.

Second, always run inder the id of the domino instance owner.

Third, never run domdsmc.  Always run the domdsmc_<instance> command that
the installation process generates for you.  Yes there is an alias, but it
takes very little to upset that.



Steven Harris
TSM Admin
Sydney Australia.



                                                                       
             Vinicius Fraga                                            
             <vinicius@VANGUAR                                         
             D-IT.COM.BR>                                               To
             Sent by: "ADSM:           ADSM-L AT VM.MARIST DOT EDU            
             Dist Stor                                                  cc
             Manager"                                                  
             <[email protected]                                     Subject
             .EDU>                     [ADSM-L] RES: chamado 02652 / TDP
                                       Domino em Linux                 
                                                                       
             20/11/2007 09:16                                          
             AM                                                        
                                                                       
                                                                       
             Please respond to                                         
             "ADSM: Dist Stor                                          
                 Manager"                                              
             <[email protected]                                         
                   .EDU>                                               
                                                                       
                                                                       




Hi here are some details of my problem



With TDP de Domino in Linux.



Getting the following



mail1:/opt/tivoli/tsm/client/domino/bin # su - notes

notes@mail1:/opt/tivoli/tsm/client/domino/bin> ./domdsmc query domino



IBM Tivoli Storage Manager for Mail:

Data Protection for Lotus Domino

Version 5, Release 4, Level 2.0

(C) Copyright IBM Corporation 1999, 2007. All rights reserved.





ACD5130E Could not initialize the connection to Lotus Domino properly.
error=1543





IBM CAC, sent me some solutions:  (in red what i did)



Solutions:



1. Make a copy of the .profile being used by the UNIX id that runs domdsmc
(just as a backup).

RS: copy to .profile.old



2. In the .profile for the Notes user that is going to run the TDP Domino
backup, change the PATH variable to include the opt/lotus/bin directory and
the directory where the notes.ini file is located (notes data directory).
Do not include the Domino executable directory. On AIX, this would look
something like:

- export PATH=/opt/lotus/bin:/local/notesdata:$PATH:.

Note the /opt/lotus/notes/latest/ibmpow directory was removed from the
PATH.

edit  .profile

export PATH=/opt/ibm/lotus/bin:/notesdb:$PATH





3. Ensure that the Owner and Group for the domdsmc files/directory is set
to the same name as the Domino Server Notesdata files.

a) run chown -R <notesuser> <tdpinstall>/*

- For Example: chown -R notes /usr/tivoli/tsm/client/domino/bin/*

b) run chown <notesuser> <tdpinstall>

- For Example: chown notes /usr/tivoli/tsm/client/domino/bin

c) The permissions for the domdsmc needs to be set to include the SUID and
SGID bit for the Owner and Group (-rwsrws--x).

- For Example: chmod 6771 /usr/tivoli/tsm/client/domino/bin/domdsmc

d) chmod 755 /usr/tivoli/tsm/client/domino/bin

mail1:/home/notes # chown -R notes /opt/tivoli/tsm/client/domino/bin/*

mail1:/home/notes # chown notes /opt/tivoli/tsm/client/domino/bin/*

mail1:/home/notes # chmod 6771 /opt/tivoli/tsm/client/domino/domdsmc

mail1:/home/notes # chmod 755 /opt/tivoli/tsm/client/domino/bin/





4. Verify that the symbolic link for domdsmc in the Domino executable
directory is pointing to the domdsmc executable in the TDP install
directory. On AIX, this would look like:

- /opt/lotus/notes/latest/ibmpow/domdsmc ->
/usr/tivoli/tsm/client/domino/bin/domdsmc

Já estava ok:

mail1:/opt/ibm/lotus/notes/latest/linux # ls -ln | grep /opt

lrwxrwxrwx 1 0 0       41 Nov  7 14:16 domdsmc ->
/opt/tivoli/tsm/client/domino/             bin/domdsmc

lrwxrwxrwx 1 0 0       55 Nov  7 14:29 domdsmc_notes ->
/opt/tivoli/tsm/client/d             omino/bin/domdsmc_notes/domdsmc

lrwxrwxrwx 1 0 0       41 Nov  7 14:16 dsmdomp ->
/opt/tivoli/tsm/client/domino/             bin/dsmdomp





5. Add a symbolic link for domdsmc in the .../lotus/bin directory to point
to the Domino tools/startup script. On AIX, this would look like:

- /opt/lotus/bin/domdsmc -> tools/startup

Já estava ok:

mail1:/opt/ibm/lotus/bin # ls -lh

lrwxrwxrwx 1 root root  13 Nov  7 14:16 domdsmc -> tools/startup

lrwxrwxrwx 1 root root  13 Nov  7 14:29 domdsmc_notes -> tools/startup





6. If the path is already setup (step #2), it is possible to verify the TDP
Domino executable linking with the command "which domdsmc". This should
return /opt/lotus/bin/domdsmc.

Pulei este passo



7. Set the environment variables for the TDP Domino and TSM API.

These can be set in the .profile for the Notes user. These might be similar
to:

export DSMI_CONFIG=/usr/tivoli/tsm/client/domino/bin/dsm.opt

export DSMI_DIR=/usr/tivoli/tsm/client/api/bin

export DSMI_LOG=/tmp

export DOMI_DIR=/usr/tivoli/tsm/client/domino/bin

export DOMI_LOG=/tmp

export DOMI_CONFIG=/usr/tivoli/tsm/client/domino/bin/domdsm.cfg

export AIXTHREAD_MNRATIO=1:1

In this example, the log files are going to the /tmp directory. Ensure that
the directory is specified, exists, and has write permissions for the user
who is running the TDP Domino backup.

An assumption is also made, in the example above, that the dsm.opt and
domdsm.cfg files exist in the directory: /usr/tivoli/tsm/client/domino/bin/

Define variables

export DSMI_CONFIG=/opt/tivoli/tsm/client/domino/bin/dsm.opt

export DSMI_DIR=/opt/tivoli/tsm/client/api/bin

export DSMI_LOG=/tmp

export DOMI_DIR=/opt/tivoli/tsm/client/domino/bin

export DOMI_LOG=/tmp

export DOMI_CONFIG=/opt/tivoli/tsm/client/domino/bin/domdsm.cfg



Inside the file notes.profile, i found the following definitions : (I
tested those too, and didn't worked either)

export DSMI_LOG=/opt/tivoli/tsm/client/domino/bin/domdsmc_notes

export DSMI_CONFIG=/opt/tivoli/tsm/client/domino/bin/domdsmc_notes/dsm.opt

export DOMI_DIR=/opt/tivoli/tsm/client/domino/bin

export DOMI_LOG=/opt/tivoli/tsm/client/domino/bin/domdsmc_notes

export
DOMI_CONFIG=/opt/tivoli/tsm/client/domino/bin/domdsmc_notes/domdsm.cfg

alias domdsmc=domdsmc_notes

export PATH=/opt/ibm/lotus/bin:/notesdb:$PATH

export DSMI_DIR=/opt/tivoli/tsm/client/api/bin





8. The domdsmc needs to be run as the Notes user that started the Domino
server.

(the same user that is set as the Owner for the domdsmc).

Get the following

mail1:/opt/tivoli/tsm/client/domino/bin # su - notes

notes@mail1:/opt/tivoli/tsm/client/domino/bin> ./domdsmc query domino



IBM Tivoli Storage Manager for Mail:

Data Protection for Lotus Domino

Version 5, Release 4, Level 2.0

(C) Copyright IBM Corporation 1999, 2007. All rights reserved.





ACD5130E Could not initialize the connection to Lotus Domino properly.
error=1543





So i decide to reconfigure it again



////////////////////////



mail1:/opt/tivoli/tsm/client/domino/bin # rm -rf domdsmc_notes/



////////////////////////////////////////////////////////////////





mail1:/opt/tivoli/tsm/client/ba/bin # cat dsm.opt

SERVERNAME SANTANA-TEXTIL



////////////////////////



mail1:/opt/tivoli/tsm/client/ba/bin # cat dsm.sys

 Servername       SANTANA-TEXTIL

   Nodename         MAIL1

   Passwordaccess   Generate

   TCPServeraddress 192.168.0.18

   TXNBytelimit     65536

   Managedservice   Webclient Schedule

   Schedlogname     /opt/tivoli/tsm/client/ba/bin/dsmsched.log

   Schedlogret      15

   Errorlogname     /opt/tivoli/tsm/client/ba/bin/dsmerror.log

   Errorlogret      15



   Dirmc            MC-DADOS



Domain ALL-LOCAL



Exclude.dir /

*Exclude.dir

*Exclude.dir



Include /notesdb/notes.ini

include /.../.../*.id



Servername       SANTANA-TEXTIL_NOTES

Nodename         MAIL1-TDPDOMINO

Passwordaccess   generate

TCPServeraddress 192.168.0.18



////////////////////////



mail1:/opt/tivoli/tsm/client/api/bin # ls -ln

lrwxrwxrwx 1 0 0      20 Nov 12 17:37 dsm.sys -> ../../ba/bin/dsm.sys



////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


Recofiguring:



mail1:/opt/tivoli/tsm/client/domino/bin # ./dominstall



IBM Tivoli Storage Manager for Mail:

Data Protection for Lotus Domino

Version 5, Release 4, Level 2.0

(C) Copyright IBM Corporation 1999, 2007. All rights reserved.



Using the Data Protection for Lotus Domino client, domdsmc, installed in
/opt/tivoli/tsm/client/domino/bin.

Is that correct?.

 (Yes (Y)/No (N)) Y



Using the Domino, libnotes.so, installed in
/opt/ibm/lotus/notes/latest/linux.

Is that correct?.

 (Yes (Y)/No (N)) Y



Using the Domino file, notes.ini, installed in /notesdb.

Is that correct?.

 (Yes (Y)/No (N)) Y



Using the Tivoli Storage Manager Api, libApiDS.so, installed in /usr/lib.

Is that correct?.

 (Yes (Y)/No (N)) Y



Setting notes as owner for the Data Protection for Domino executables.

Do you want to continue with the Tivoli Storage Manager Web client
configuration?.

 (Yes (Y)/No (N)) Y



Using the Tivoli Storage Manager client system options file, dsm.sys,
installed in /opt/tivoli/tsm/client/ba/bin.

Is that correct?.

 (Yes (Y)/No (N)) Y



0   SANTANA-TEXTIL

1   SANTANA-TEXTIL_NOTES

Choose the server entry used by the Tivoli Storage Manager Web client.

0



ACD6008I Symbolic link /opt/ibm/lotus/notes/latest/linux/domdsmc to
/opt/tivoli/tsm/client/domino/bin/domdsmc already exists.

ACD6008I Symbolic link /opt/ibm/lotus/notes/latest/linux/dsmdomp to
/opt/tivoli/tsm/client/domino/bin/dsmdomp already exists.

ACD6008I Symbolic link /opt/ibm/lotus/bin/domdsmc to tools/startup already
exists.

ACD6008I Symbolic link /opt/ibm/lotus/bin/dsmdomp to tools/startup already
exists.

Is the Domino server DB2 enabled?

 (Yes (Y)/No (N)) N



Installing notes.profile profile in directory
/opt/tivoli/tsm/client/domino/bin.

Is that correct?.

 (Yes (Y)/No (N)) Y



ACD6008I Symbolic link /opt/ibm/lotus/notes/latest/linux/domdsmc_notes to
/opt/tivoli/tsm/client/domino/bin/domdsmc_notes/domdsmc already exists.

ACD6008I Symbolic link /opt/ibm/lotus/bin/domdsmc_notes to tools/startup
already exists.



******************************************************************

*   Make the suggested changes to the dsm.sys file
/opt/tivoli/tsm/client/ba/bin/dsm.sys.

*

*   Register the node notes to the Tivoli Storage Management server.

*

*   Then issue the following command to complete the setup for this Domino
server



  domdsmc query adsm
-configfile=/opt/tivoli/tsm/client/domino/bin/domdsmc_notes/domdsm.cfg
-adsmpwd=



******************************************************************

Reply with the next notesdata partition or a NULL line (enter key).



Reply with the next notesdata partition or a NULL line (enter key).



Data Protection for Domino installation process has successfully completed.



////////////////////////////////////////////////////////////////////////



Connection with TSM Server ok:



mail1:/opt/tivoli/tsm/client/domino/bin # ./domdsmc query adsmserver



IBM Tivoli Storage Manager for Mail:

Data Protection for Lotus Domino

Version 5, Release 4, Level 2.0

(C) Copyright IBM Corporation 1999, 2007. All rights reserved.



Tivoli Storage Manager Server Connection Information

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



Nodename ............................... MAIL1-TDPDOMINO

NetWork Host Name of Server ............ 192.168.0.18

TSM API Version ........................ Version 5, Release 4, Level 1.2



Server Name ............................ SANTANA-TEXTIL

Server Type ............................ Windows

Server Version ......................... Version 5, Release 4, Level 0.0

Compression Mode ....................... Client Determined

Domain Name ............................ PD-SANTANA

Active Policy Set ...................... PS-SANTANA

Default Management Class ............... MC-DADOS



Connection with domino not:



mail1:/opt/tivoli/tsm/client/domino/bin # su - notes

notes@mail1:/opt/tivoli/tsm/client/domino/bin> ./domdsmc query domino



IBM Tivoli Storage Manager for Mail:

Data Protection for Lotus Domino

Version 5, Release 4, Level 2.0

(C) Copyright IBM Corporation 1999, 2007. All rights reserved.





ACD5130E Could not initialize the connection to Lotus Domino properly.
error=1543



/////////////////////////////////////////////////////////////////////////////




I collect more information about the machine



notes@mail1:/notesdb/temp> uname -a

Linux mail1 2.6.16.46-0.12-smp #1 SMP Thu May 17 14:00:09 UTC 2007 i686
i686 i386 GNU/Linux



notes@mail1:/notesdb/temp> rpm -qa | grep TIV

TIVsm-API-5.4.1-2

TIVsm-BA-5.4.1-2



I don't know Linux very well, but as far as I know when whe have  SMP its
64 bits, but our client Said that its 32 bits





I tryed to install the 64 bits rpm and are missing some libs



notes@mail1:/notesdb/temp> rpm -ivh TIVsm-API64.i386.rpm

error: Failed dependencies:

        libcrypt.so.1()(64bit) is needed by TIVsm-API64-5.4.1-2.x86_64

        libcrypt.so.1(GLIBC_2.2.5)(64bit) is needed by
TIVsm-API64-5.4.1-2.x86_64

        libc.so.6()(64bit) is needed by TIVsm-API64-5.4.1-2.x86_64

        libc.so.6(GLIBC_2.2.5)(64bit) is needed by
TIVsm-API64-5.4.1-2.x86_64

        libdl.so.2()(64bit) is needed by TIVsm-API64-5.4.1-2.x86_64

        libdl.so.2(GLIBC_2.2.5)(64bit) is needed by
TIVsm-API64-5.4.1-2.x86_64

        libgcc_s.so.1()(64bit) is needed by TIVsm-API64-5.4.1-2.x86_64

        libgcc_s.so.1(GCC_3.0)(64bit) is needed by
TIVsm-API64-5.4.1-2.x86_64

        libm.so.6()(64bit) is needed by TIVsm-API64-5.4.1-2.x86_64

        libm.so.6(GLIBC_2.2.5)(64bit) is needed by
TIVsm-API64-5.4.1-2.x86_64

        libpthread.so.0()(64bit) is needed by TIVsm-API64-5.4.1-2.x86_64

        libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by
TIVsm-API64-5.4.1-2.x86_64

        libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by
TIVsm-API64-5.4.1-2.x86_64

        libstdc++.so.5()(64bit) is needed by TIVsm-API64-5.4.1-2.x86_64

        libstdc++.so.5(CXXABI_1.2)(64bit) is needed by
TIVsm-API64-5.4.1-2.x86_64

        libstdc++.so.5(GLIBCPP_3.2)(64bit) is needed by
TIVsm-API64-5.4.1-2.x86_64



So I didn't try to force, do you think that's the problem? Do you think I
need to install this rpm??





Vinicius do Valle Fraga







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