Red Hat Bugzilla – Bug 999226
RHS post install initialization script
Last modified: 2016-06-12 19:18:49 EDT
Per PM, requesting script be updated to support 2.1.0 (Big Bend).
Created attachment 791266 [details]
Post install script for brick initialization, rhn register and applying perf profile.
I have modified the init script for 2.1.
1. Register with RHS 2.1 and RHEL 6.4.z channels.
2. Introduced "-r" to skip registration per request.
Output from new code:
Channel(s): rhel-x86_64-server-sfs-6.4.z successfully added
Channel(s): rhel-x86_64-server-6-rhs-2.1 successfully added
System registered to the correct Red Hat Channels!
This fix was reviewed at https://code.engineering.redhat.com/gerrit/#/c/12099/
Verified on: redhat-storage-server-18.104.22.168-1.el6rhs.noarch.rpm
[root@boggs .unsupported]# ./rhs-system-init.sh -h
Usage: rhs-system-init.sh [-h] [-u virtual|object]
-u <workload> virtual - RHS is used for storing virtual machine images.
object - Object Access (HTTP) is the primary method to
access the RHS volume.
The workload helps decide what performance tuning profile
to apply and other customizations.
By default, the general purpose workload is assumed.
-n Dry run to show what devices will be used for brick creation.
-r Skip RHN Registration.
-h Display this help.
Verified registering, works good.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
For information on the advisory, and where to find the updated files, follow the link below.
If the solution does not work for you, open a new bug report.