Bug 1331201

Summary: [Docs] IG - Service start commands outdated.
Product: [JBoss] JBoss Operations Network Reporter: Scott Mumford <smumford>
Component: DocumentationAssignee: Scott Mumford <smumford>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: low    
Version: JON 3.3.7CC: fbrychta
Target Milestone: GAKeywords: Documentation, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Build Name: 23084, Installation Guide-3.3-3.3 Build Date: 28-04-2016 11:02:38 Topic ID: 43526-752606 [Latest]
Last Closed: 2016-07-12 02:01:26 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:

Description Scott Mumford 2016-04-28 01:15:19 UTC
Title: Configuring PostgreSQL

Describe the issue:
The text refers to starting the database service with the 'service' command. I found (in an Fedora 22 installation) that I had to use 'systemctrl' to get the service configured.

Suggestions for improvement:
Update the installation instructions to use the more current 'systemctrl' commands instead of outdated 'service' commands.

Additional information:

Start command:
sudo systemctl start postgresql-<version>.service

Status command:
systemctl status postgresql-<version>.service

Comment 2 Filip Brychta 2016-04-28 07:39:27 UTC
Configuring PostgreSQL chapter in current Installation Guide is valid for RHEL 6. systemctl was introduced in RHEl 7 as controller for systemd.
I think this bz could be resolved just by adding a note. Something like:
Following steps are valid for RHEL systems up to RHEL 6. See PostgreSQL documentation how to do the same on systems with systemd (RHEL 7).

Comment 3 Scott Mumford 2016-04-28 21:24:00 UTC
Oh, that makes sense. 

I'll update the doc to reflect that change.

Cheers.

Comment 5 Scott Mumford 2016-07-12 02:01:26 UTC
Async update has been pushed to Live docs site. Check [1] for revision 3.3.2-12 (may take up to 3 hours from comment timestamp)

1: https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Operations_Network/3.3/html/Installation_Guide/appe-Revision_History.html