Bug 1074636 - RFE: Add support for changing location of data directory
Summary: RFE: Add support for changing location of data directory
Status: ON_QA
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins, Storage Node
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium vote
Target Milestone: GA
: RHQ 4.13
Assignee: Michael Burman
QA Contact: Mike Foley
Depends On:
Blocks: 1033321 1074637
TreeView+ depends on / blocked
Reported: 2014-03-10 17:35 UTC by John Sanda
Modified: 2014-08-28 18:52 UTC (History)
3 users (show)

Clone Of:
: 1074637 (view as bug list)
Last Closed:

Attachments (Terms of Use)

Description John Sanda 2014-03-10 17:35:24 UTC
Description of problem:
There are various reasons you might want to migrate your storage node data - improving I/O performance, increasing capacity, or addressing failing hardware. Data can be migrated by adding/removing nodes, but often times it is simpler and more desirable to simply change move the rhq data directory. This can be accomplished, but doing so involves some manual steps which can be error prone.

The Storage Node configuration UI only exposes some heap settings currently. We could add a section here for the data directory that would list the paths of the commit log, data, and saved caches directories. Changing the location of the data directory would result in the following,

* make sure that the target directory is writable
* update cassandra.yaml with the new directory
* restart the storage node
* run repair as necessary

This functionality will also be needed for bug 1033321.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:

Comment 1 Heiko W. Rupp 2014-05-08 14:42:46 UTC
Bump the target version now that 4.11 is out.

Comment 2 Michael Burman 2014-07-22 22:07:45 UTC
This is now PR #96.

Comment 3 Michael Burman 2014-08-28 18:52:06 UTC
Merged to master:

commit 213aff45323e4febd665f742fba71eaa49865f9e
Merge: a90b90b b497a45
Author: Michael Burman <yak@iki.fi>
Date:   Thu Aug 28 21:49:41 2014 +0300

    Merge pull request #96 from burmanm/BZ1074636
    [BZ 1074636] Add ability to move storage node datafiles from the storage node administration view

commit b497a456fe1aee22119c91f9a3879dc16ffdef42
Author: Michael Burman <miburman@redhat.com>
Date:   Fri Aug 22 03:46:30 2014 +0300

    [BZ 1074636] Add ability to move storage datafiles from the StorageNode Administration

Note You need to log in before you can comment on or make changes to this bug.