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 fuse
You 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-basic
TROUBLEOn Oracle Linux, you must also install thecompat-openssl10
package 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/conf
directory on the cluster to the/opt/mapr/conf
directory on the client.maprtrustcreds.conf
maprtrustcreds.jceks
ssl_truststore
ssl_truststore.p12
ssl_truststore.pem
ssl_truststore
files with the/opt/mapr/server/manageSSLKeys.sh
tool. You must perform the merging on the cluster. See Managing Secure Clusters for details on how to connect to a secure cluster. - Run
configure.sh
to set this node as a client node.- Secure cluster exampleFor a fresh installation of the POSIX client, run
configure.sh
with the-secure
option:/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.sh
without the-secure
option:/opt/mapr/server/configure.sh -N <clustername> -C <CLDBhost> -Z <ZooKeeperhost> -c
- Reinstalling the clientWhen reinstalling the POSIX client, run
configure.sh
with the-R
option to reuse the existing configuration.
Do NOT add the/opt/mapr/server/configure.sh -c -R
-secure
option when running configure.sh with the-R
option.
- 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.