
num target prot opt source destination
Step 2: Install the AFM RPM Software on the Linux CentOS
Machine
To install the AFM Package Manager (RPM) Software on the Linux CentOS Machine
NOTE: Before you begin, make sure you obtain the AFM RPM file from iSupport.: AFM2.0.0.<
label
#>.noarch.rpm
1. Download the AFM RPM files, RPM: AFM2.0.0.<label#>.noarch.rpm from iSupport.
2. Search for the existing AFM package by using the RPM option of -qa
# rpm -qa | grep AFM
AFM2.0.0.<label#>.noarch
3. If AFM already exists, you can erase the package by using the RPM option of “-e -- nodeps –noscripts –notriggers”
with the package name. The package name is return from the option of “-qa”. As show in the following example,,
AFM2.0.0.<label#>.noarch is returned from –qa:
# rpm -e - vv --nodeps --noscripts --notriggers AFM2.0.0.<label#>.noarch
4. Clean up the existing directory if the following directory already exists: /opt/dell/dfm and /usr/hbase.
# rm -rf /opt/dell/dfm
# rm -rf /usr/hbase
5. Obtain the latest version of the AFM_staller file from iSupport.
6. Install the AFM packaging using the RPM file. You can view the AFMPackaging.log file to view the files to be
installed.
# rpm -ivh AFM2.0.0.<label#>.noarch
7. After the AFM RPM file is installed, go to the following directory: /opt/dell/dfm/bin .
This file contains all the applications including hbase software.
8. Run the dfmDB.sh script to install the postgresSQL Database.
# /opt/dell/dfm/bin/dfmDB.sh
9. Create the hbase table for the HBase database using the /usr/hbase/hbase-0.94.1/bin/initTable.sh command to run
the script. When you run the script the first time, you will receive error messages. Ignore the messages run the
script again to clear the error messages. Your output should look similar to the following:
/usr/hbase/hbase-0.94.1/bin/initTable.sh
0 row(s) in 3.0460 seconds
0 row(s) in 1.1920 seconds
0 row(s) in 1.0470 seconds
0 row(s) in 2.0710 seconds
0 row(s) in 0.2530 seconds
0 row(s) in 1.0560 seconds
0 row(s) in 2.1750 seconds
0 row(s) in 0.1950 seconds
0 row(s) in 1.0770 seconds
33
Komentarze do niniejszej Instrukcji