rhevm-setup
command is provided to assist with this task. The script asks you a series of questions, the answers to which form the basis for system configuration. Once all required values have been provided the updated configuration is applied and the Red Hat Enterprise Virtualization Manager services are started.
Start Setup Script
rhevm-setup
as the root
user.
# rhevm-setup
Set Port for HTTP
8080
, press Enter. To use an alternative value enter it in the field, and then press Enter.
HTTP Port [8080] :
manager.demo.redhat.com
using the default HTTP port value, 8080
, the URL to access the entry page over HTTP is http://manager.demo.redhat.com:8080/
.
Set Port for HTTPS
8443
, press Enter. To use an alternative value enter it in the field, and then press Enter.
HTTPS Port [8443] :
8443
is selected it changes the URL that must be used to access the Red Hat Enterprise Virtualization Manager over HTTPS.
manager.demo.redhat.com
using the default HTTPS port value, 8443
, the URL to access the entry page over HTTPS is https://manager.demo.redhat.com:8443/
.
Set Fully Qualified Domain Name (FQDN)
Host fully qualified domain name, note that this name should be fully resolvable [manager.demo.redhat.com] :
Set Administrator Password
internal
, the administrative user is called admin
. External authentication domains are added as a post-installation step using the rhevm-manage-domains
command.
admin
user. You will be asked to enter it a second time to confirm your selection.
Password for Administrator (admin@internal) :
Set Database Password
Database password (required for secure authentication with the locally created database) :
Set Organization Name
Subject
field of the certificate used to secure communications with the Red Hat Enterprise Virtualization Manager.
Organization Name for the Certificate :
Configure Default Storage Type
Default
data center. You are able to add further data centers that use different storage types from the Administration Portal at any time.
The default storage type you will be using ['NFS'| 'FC'| 'ISCSI'] [NFS] :
NFS
). The other available values are:
FC
),
ISCSI
), and
NFS
, FC
, and ISCSI
options are used to connect to remote storage. Red Hat Enterprise Virtualization also supports The LOCALFS
storage type which allows the use of local storage attached to the virtualization hosts, but this storage type is not supported for the Default
data center.
NFS
, press Enter. To select FC
, or ISCSI
then enter the value and then press Enter.
Configure NFS ISO Domain
Should the installer configure NFS share on this server to be used as an ISO Domain? ['yes'| 'no'] [yes] :
no
and press Enter.
Mount point path:
_
) and the hyphen (-
).
Display name for the ISO domain:
Default
data center.
Configure Firewall
rhevm-setup
script is able to configure this automatically, but selecting this option overrides any existing firewall configuration. Where there is an existing firewall configuration that needs to be maintained you must manually configure the firewall to include the additional rules required by the Red Hat Enterprise Virtualization Manager.
Firewall ports need to be opened. You can let the installer configure iptables automatically overriding the current configuration. The old configuration will be backed up. Alternately you can configure the firewall later using an example iptables file found under /usr/share/rhevm/conf/iptables.example Should the installer configure iptables now? ['yes'| 'no'] [yes] :
yes
and then press Enter.
no
and then press Enter. You will need to add rules equivalent to those found in /usr/share/rhevm/conf/iptables.example
to your iptables
configuration.
Confirm Configuration
RHEV Manager will be installed using the following configuration: ================================================================= http-port: 8080 https-port: 8443 host-fqdn: manager.demo.redhat.com auth-pass: ******** db-pass: ******** org-name: Red Hat default-dc-type: NFS nfs-mp: /isoshare iso-domain-name: ISODomain override-iptables: yes Proceed with the configuration listed above? (yes|no):
yes
and then press Enter to apply the configuration.
no
and then Enter to revisit the configuration.
SSH Certificate fingerprint
, SSH Public key fingerprint
, and Red Hat Enterprise Virtualization Manager URL for your records.
Installing: Creating JBoss Profile... [ DONE ] Creating CA... [ DONE ] Setting Database Security... [ DONE ] Creating Database... [ DONE ] Updating the Default Data Center Storage Type... [ DONE ] Editing JBoss Configuration... [ DONE ] Editing RHEV Manager Configuration... [ DONE ] Configuring the Default ISO Domain... [ DONE ] Configuring Firewall (iptables)... [ DONE ] Starting JBoss Service... [ DONE ] **** Installation completed successfully ****** (Please allow RHEV Manager a few moments to start up.....) Additional information: * SSL Certificate fingerprint: 4C:A4:8F:93:62:50:C1:63:C8:09:70:77:07:90:FD:65:5B:3C:E8:DD * SSH Public key fingerprint: fa:71:38:88:58:67:ae:f0:b1:17:fe:91:31:6c:66:6e * A default ISO share has been created on this host. If IP based access restrictions are required, please edit /isoshare entry in /etc/exports * The firewall has been updated, the old iptables configuration file was saved to /usr/share/rhevm/conf/iptables.backup.103654-09092011_866 * The installation log file is available at: /var/log/rhevm/rhevm-setup_2011_09_09_10_32_56.log * Please use the user "admin" and password specified in order to login into RHEV Manager * To configure additional users, first configure authentication domains using the 'rhevm-manage-domains' utility * To access RHEV Manager please go to the following URL: http://manager.demo.redhat.com:8080