I have googled, read the man page, and such.
What I am trying to do is install applications to a NFS mounted drive, where the libraries and everything are locally installed on that filesystem so that it is portable across servers (I have over 100 servers which each need specific applications installed via yum and we do not want to install 100 copies).
We tried the yum relocate and it was not available on Centos6.4
and yum --nogpgcheck localinstall R-3.1.0-5.el6.x86_64
I want the binaries and all dependencies in the application filesystem which is remote mounted on all servers.
Thanks,
Can you use chroot?
On 11 June 2014 18:26, Dan Hyatt dhyatt@dsgmail.wustl.edu wrote:
I have googled, read the man page, and such.
What I am trying to do is install applications to a NFS mounted drive, where the libraries and everything are locally installed on that filesystem so that it is portable across servers (I have over 100 servers which each need specific applications installed via yum and we do not want to install 100 copies).
We tried the yum relocate and it was not available on Centos6.4
and yum --nogpgcheck localinstall R-3.1.0-5.el6.x86_64
I want the binaries and all dependencies in the application filesystem which is remote mounted on all servers.
Thanks,
--
Dan Hyatt
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
What will chroot get me. I have root on the server, I have a filesystem mounted on all server.
What I want to do is contain the binaries and dependancies on the nfs filesystem On 6/11/2014 11:30 AM, Andrew Holway wrote:
Can you use chroot?
On 11 June 2014 18:26, Dan Hyatt dhyatt@dsgmail.wustl.edu wrote:
I have googled, read the man page, and such.
What I am trying to do is install applications to a NFS mounted drive, where the libraries and everything are locally installed on that filesystem so that it is portable across servers (I have over 100 servers which each need specific applications installed via yum and we do not want to install 100 copies).
We tried the yum relocate and it was not available on Centos6.4
and yum --nogpgcheck localinstall R-3.1.0-5.el6.x86_64
I want the binaries and all dependencies in the application filesystem which is remote mounted on all servers.
Thanks,
--
Dan Hyatt
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi Dan,
Chroot gets you a space that "looks" like it is a separate system. Given this is R, I assume you are probably wanting this for HPC like purposes... Could I suggest building your own version of R and installing into a nfs area? You may also wish to investigate the facilities provided by the package environment-modules - they can be quite handy (these aren't environmental monitoring).
My R users tend to need the later versions of R. I configure R with something like: ./configure --prefix=/nfs_apps --enable-R-shlib --with-x --with-tcltk
Regards Robert
On 06/12/2014 05:12 AM, Dan Hyatt wrote:
What will chroot get me. I have root on the server, I have a filesystem mounted on all server.
What I want to do is contain the binaries and dependancies on the nfs filesystem On 6/11/2014 11:30 AM, Andrew Holway wrote:
Can you use chroot?
On 11 June 2014 18:26, Dan Hyatt dhyatt@dsgmail.wustl.edu wrote:
I have googled, read the man page, and such.
What I am trying to do is install applications to a NFS mounted drive, where the libraries and everything are locally installed on that filesystem so that it is portable across servers (I have over 100 servers which each need specific applications installed via yum and we do not want to install 100 copies).
We tried the yum relocate and it was not available on Centos6.4
and yum --nogpgcheck localinstall R-3.1.0-5.el6.x86_64
I want the binaries and all dependencies in the application filesystem which is remote mounted on all servers.
Thanks,
--
Dan Hyatt
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Wed, Jun 11, 2014 at 11:26 AM, Dan Hyatt dhyatt@dsgmail.wustl.edu wrote:
I have googled, read the man page, and such.
What I am trying to do is install applications to a NFS mounted drive, where the libraries and everything are locally installed on that filesystem so that it is portable across servers (I have over 100 servers which each need specific applications installed via yum and we do not want to install 100 copies).
We tried the yum relocate and it was not available on Centos6.4
and yum --nogpgcheck localinstall R-3.1.0-5.el6.x86_64
I want the binaries and all dependencies in the application filesystem which is remote mounted on all servers.
I don't think there is a generic way of doing this since yum can pretty much install anything anywhere and run the postinstall scripts that might only work on the host where it runs. However, for typical things it might work to install everything on one host where / is exported and mounted somewhere on the other systems with PATH and LD_LIBRARY_PATH tweaked to visit the bin,sbin,usr/sbin,usr/bin and equivalent library paths on the mountpoint after the local locations. Things like perl modules will probably become a horrible mess, though, and other things might need a splattering of symlinks to work.
Might be easier to PXE boot into an NFS-mounted root with DRBL or the like if you need to save disk space. On the other hand, it's really not that hard to tell yum on 100 machines to install the package.