Installing the FUSE-Based POSIX Client
Describes how to install the FUSE-based POSIX client package on your system.
FUSE-based POSIX clients require the FUSE kernel module. Run the following command to
load the kernel module:
modprobe fuseYou can install the FUSE-based POSIX client on any node, including cluster nodes.
To install the mapr-posix-client-* package on your machine, where
* refers to the basic or the platinum client package, perform
the following steps for your version of Linux, as the root user, or
using sudo. The package is installed to the
/opt/mapr/bin/ directory.
- Run the following command to install the POSIX client package on your
machine:
-
For CentOS, RHEL, or Oracle Linux
# yum install mapr-posix-client-*, where * is either the basic or the platinum package For example: yum install mapr-posix-client-basicTROUBLEOn Oracle Linux, you must also install thecompat-openssl10package to get the POSIX client running:yum install compat-openssl10 -
For SLES
# zypper install mapr-posix-client-*, where * is either the basic or the platinum package For example: zypper install mapr-posix-client-basic -
For Ubuntu
# sudo apt-get install mapr-posix-client-*, where * is either the basic or the platinum package For example: apt-get install mapr-posix-client-basic
-
For CentOS, RHEL, or Oracle Linux
-
To use this client with a secure cluster or clusters, copy the following files from theIf this client will connect to multiple clusters, merge the
/opt/mapr/confdirectory on the cluster to the/opt/mapr/confdirectory on the client.maprtrustcreds.confmaprtrustcreds.jceksssl_truststoressl_truststore.p12ssl_truststore.pem
ssl_truststorefiles with the/opt/mapr/server/manageSSLKeys.shtool. You must perform the merging on the cluster. See Managing Secure Clusters for details on how to connect to a secure cluster. - Run
configure.shto set this node as a client node.- Secure cluster exampleFor a fresh installation of the POSIX client, run
configure.shwith the-secureoption:/opt/mapr/server/configure.sh -N <clustername> -C <CLDBhost> -Z <ZooKeeperhost> -c -secure - Non-secure cluster exampleFor a fresh installation of the POSIX client, run
configure.shwithout the-secureoption:/opt/mapr/server/configure.sh -N <clustername> -C <CLDBhost> -Z <ZooKeeperhost> -c - Reinstalling the clientWhen reinstalling the POSIX client, run
configure.shwith the-Roption to reuse the existing configuration.
Do NOT add the/opt/mapr/server/configure.sh -c -R-secureoption when running configure.sh with the-Roption.
- Secure cluster example
-
At the end of the client installation, run the maprlogin password command to create a valid ticket to connect to the cluster.