You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Alice Chen (JIRA)" <ji...@apache.org> on 2015/07/22 20:20:25 UTC

[jira] [Created] (TRAFODION-1213) LP Bug: 1449777 - installer permits installation in nfs directory

Alice Chen created TRAFODION-1213:
-------------------------------------

             Summary: LP Bug: 1449777 - installer permits installation in nfs directory
                 Key: TRAFODION-1213
                 URL: https://issues.apache.org/jira/browse/TRAFODION-1213
             Project: Apache Trafodion
          Issue Type: Bug
          Components: installer
            Reporter: Chris Tjepkema
            Assignee: Amanda Moran


The install directory is expected to be somewhere under the trafodion userid’s HOME dir.  Unfortuantely, this isn’t enforced.  So, the installer should be changed to enforce this (as opposed to checking for an NFS disk).  Perhaps prompt for only a sub-directory unders HOME to install to.  The installer already checks and doesn’t allow the trafodion userid’s HOME dir to be on an NFS disk.

Installer permits installs to nfs mounted /home
Removing with the uninstaller is not very successful. See bottom of this email.

On atcsq02 n003 and n004
[root@n003 installer]# df /home
Filesystem           1K-blocks      Used Available Use% Mounted on
master:/home         1922470944  24432736 1800382304   2% /home

==
Enter directory to install trafodion to, default is '/opt/trafodion/prerelease': /home/trafodion/prerelease

:
Creating directories on cluster nodes
/usr/bin/pdsh -w n003,n004 -x n003 mkdir -p /home/trafodion/prerelease/etc
/usr/bin/pdsh -w n003,n004 -x n003 mkdir -p /home/trafodion/prerelease/logs
/usr/bin/pdsh -w n003,n004 -x n003 mkdir -p /home/trafodion/prerelease/tmp
/usr/bin/pdsh -w n003,n004 -x n003 mkdir -p /home/trafodion/prerelease/sql/scripts
:
Sqcheck.
The SQ environment is up!


Process         Configured      Actual      Down
-------         ----------      ------      ----
DTM             2               2
RMS             4               4
MXOSRVR         4               4

==
Cds
[trafodion@n003 scripts]$ pwd
/home/trafodion/prerelease/sql/scripts

We have both stdout_dtm_0 and stdout_dtm_1


And in $HOME/logs, we have logs for both nodes…

-rw-r--r-- 1 trafodion trafodion  9611 Apr 28 21:33 mon.20150428.21.30.18.n004.478.log
-rw-r--r-- 1 trafodion trafodion 18968 Apr 28 21:32 mon.20150428.21.30.18.n003.17981.log
-rw-r--r-- 1 trafodion trafodion   137 Apr 28 21:31 mxlobsrvr_0.log
-rw-r--r-- 1 trafodion trafodion   136 Apr 28 21:31 mxlobsrvr_1.log

Removal:
At the end of the command below, we still have trafodion files in $SQ_HOME…
[root@n003 prerelease]# pwd
/home/trafodion/prerelease
[root@n003 prerelease]# ls -l
total 12
drwxrwxr-x 3 trafodion trafodion 4096 Apr 28 21:57 dcs-1.1.0
drwxr-xr-x 3 trafodion trafodion 4096 Apr 28 21:57 export
drwxr-xr-x 3 trafodion trafodion 4096 Apr 28 21:29 src

trafodion_uninstaller --instance /home/trafodion/prerelease
***INFO: stopping Trafodion instance
/home/trafodion/prerelease/rest-1.1.0/bin/stop-rest.sh found.
Shutting down the REST environment now
stopping rest..
/home/trafodion/prerelease/dcs-1.1.0/bin/stop-dcs.sh found.
Shutting down the DCS environment now
stopping master.
n003: stopping server.
n004: stopping server.
stopped $zlobsrv0
stopped $zlobsrv1
Shutting down (normal) the SQ environment!
:
Going to execute ckillall
***INFO: removing Trafodion build files
n004: rm: cannot remove `/home/trafodion/prerelease/dcs-1.1.0/docs/apidocs/org/trafodion/dcs/servermt/serverHandler/class-use/ServerWorker.html': Stale file handle
n004: rm: cannot remove `/home/trafodion/prerelease/dcs-1.1.0/docs/apidocs/org/trafodion/dcs/servermt/serverHandler/class-use/ClientData.html': Stale file handle


Lots of Stale files because file has already been removed on n003!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)