Bug 1074636

Summary: RFE: Add support for changing location of data directory
Product: [Other] RHQ Project Reporter: John Sanda <jsanda>
Component: Plugins, Storage NodeAssignee: Nobody <nobody>
Status: ON_QA --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: hrupp, jshaughn
Target Milestone: GA   
Target Release: RHQ 4.13   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1074637 (view as bug list) Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1033321, 1074637    

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:
1.
2.
3.

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>
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>
Date:   Fri Aug 22 03:46:30 2014 +0300

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