installer permits installation in nfs directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
New
|
Medium
|
Amanda Moran |
Bug Description
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
:
Creating directories on cluster nodes
/usr/bin/pdsh -w n003,n004 -x n003 mkdir -p /home/trafodion
/usr/bin/pdsh -w n003,n004 -x n003 mkdir -p /home/trafodion
/usr/bin/pdsh -w n003,n004 -x n003 mkdir -p /home/trafodion
/usr/bin/pdsh -w n003,n004 -x n003 mkdir -p /home/trafodion
:
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
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.
-rw-r--r-- 1 trafodion trafodion 18968 Apr 28 21:32 mon.20150428.
-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
[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_
***INFO: stopping Trafodion instance
/home/trafodion
Shutting down the REST environment now
stopping rest..
/home/trafodion
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/
n004: rm: cannot remove `/home/
Lots of Stale files because file has already been removed on n003!