Complete these pre-upgrade steps for core.
After you have planned your upgrade process, prepare the cluster for upgrade while your existing cluster is fully operational. Prepare to upgrade as described in this section to minimize downtime and eliminate unnecessary risk. Design and run health tests and back up critical data. Performing these tasks during upgrading reduces the number of times you have to touch each node, but increases down-time during upgrade. Upgrade a test cluster before upgrading your production cluster.
Complete the following pre-upgrade steps:
Verify that all nodes meet the following minimum requirements for the new version of core software:
Plan what kind of test jobs and scripts you will use to verify cluster health as part of the upgrade process. You will verify cluster health several times before, during, and after upgrade to ensure success at every step, and to isolate issues whenever they occur. Create both simple tests to verify that cluster services start and respond, as well as non-trivial tests that verify workload-specific aspects of your cluster.
Design Simple Tests
Here are a few examples of simple tests you can design to check node health:
# maprcli node list -columns svc
service hostname ip
nodemanager,cldb,fileserver,hoststats centos55 10.10.82.55
nodemanager,fileserver,hoststats centos56 10.10.82.56
fileserver,nodemanager,hoststats centos57 10.10.82.57
fileserver,nodemanager,webserver,hoststats centos58 10.10.82.58
...lines deleted...
# maprcli alarm list
alarm state description entity alarm name alarm statechange time
1 One or more licenses is about to expire within 25 days CLUSTER CLUSTER_ALARM_LICENSE_NEAR_EXPIRATION 1366142919009
1 Can not determine if service: nfs is running. Check logs at: /opt/mapr/logs/nfsserver.log centos58 NODE_ALARM_SERVICE_NFS_DOWN 1366194786905
In this example you can see that an alarm is raised indicating that HPE Ezmeral Data Fabric software expects an
NFS server to be running on node centos58, and the node list of running
services confirms that the nfs service is not running on this node.
Design Non-trivial Tests
Data in the cluster persists across upgrades from version to version. However, as a precaution, you might want to back up critical data before upgrading. If you deem it practical and necessary, you can do any of the following:
distcp to a separate, non-Hadoop
datastore.When services for the new version are activated, filesystem will update data on disk automatically. The migration is transparent to users and administrators. Once the cluster is active with the new version, you cannot roll back.
| Using the Control System | See Stopping the Mirror. |
Using a maprcli command |
Run the maprcli volume mirror stop command on this
cluster. See volume mirror stop. |
| Using the Control System |
|
Using a maprcli command |
Run the maprcli table replica pause command. See table replica pause. |
If you are upgrading the FUSE-based POSIX client on Ubuntu,
create a backup copy of your custom settings in the fuse.conf file in
/opt/mapr/conf directory. If you do not create a backup copy, you might
lose your custom settings for the POSIX client because the new fuse.conf
file with default settings will overwrite your current fuse.conf file with
custom settings.
If you are upgrading the FUSE-based POSIX client on other
supported operating systems, during upgrade the software automatically sets up the
fuse.conf.backup file in addition to the new fuse.conf
file in the /opt/mapr/conf directory.
Consider creating the env_override.sh file to store custom settings for
environmental variables. Upgrading to a new release causes
the env.sh file to be replaced and removes any custom settings. Creating
the env_override.sh file can simplify the management of environmental
variables. For more information, see About env_override.sh.
yarn. MRv2
is an application that runs on top of YARN.Mahout and Storm are not supported on core 6.0 or later. Before the upgrade, disable applications that use these components, and remove the Mahout and Storm packages. To view the ecosystem components supported on data-fabric releases, see Component Versions for Released MEPs.
Complete the pre-upgrade steps in Preparing to Upgrade the Ecosystem Pack. Then return to this section.
Go to Upgrading Core With the Installer or Upgrading Core Without the Installer.