Bug 961924
| Summary: | RHQ Control - Storage cannot be started if data directory is changed by configuration - windows | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Armine Hovsepyan <ahovsepy> |
| Component: | Installer | Assignee: | Jay Shaughnessy <jshaughn> |
| Status: | CLOSED NOTABUG | QA Contact: | Mike Foley <mfoley> |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | JON 3.2 | CC: | jshaughn, mfoley |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Windows | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-05-14 08:35:21 UTC | 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: | 951619 | ||
|
Description
Armine Hovsepyan
2013-05-10 18:47:57 UTC
OK, this basically works but it's sensitive.. 1) I'm sure this was just a typo in the BZ, but the option is: "--storage-config <properties file>" The BZ description has "--storage" 2) It expects a full filepath for the option, or a relative path from the rhq home dir (the parent of the bin dir, not the bin dir itself). So: > rhqctl install --storage --storage-config bin\rhq-storage.properties or something like: > rhqctl install --storage --storage-config c:\some\rhqinstall\path\bin\rhq-storage.properties 3) Finally, the properties file itself is sensitive. Here is the property file used in the bz: data=C:\Users\dayana\Desktop saved-caches=C:\Users\dayana\Desktop * Not required, but typically you'd also want a commitlog directory * You would not want the same directory for each * Most importantly, the values are treated like Java strings, so you need either double-backslash or (recommended) forward slashes. This should work: data=C:/Users/dayana/Desktop/rhq/storage/data saved-caches=C:/Users/dayana/Desktop/rhq/storage/saved_caches commitlog=C:/Users/dayana/Desktop/rhq/storage/commitlog Please try this and if it works as expected we'll beef up the documentation. verified (not a bug) The issue was not with the slashes, but with the data directories. data, saved-caches and commitlog should be saved in a directory/file which is not used by another config property. In my config file both data and saved-caches leaded to the same Desktop directory. closing as "not a bug" |