Oracle linux and virtualization

OracleВ® Linux Virtualization Manager

Getting Started Guide

Copyright В© 2019, 2021 Oracle and/or its affiliates.

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable:

U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are «commercial computer software» or «commercial computer software documentation» pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, reproduction, duplication, release, display, disclosure, modification, preparation of derivative works, and/or adaptation of i) Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs), ii) Oracle computer documentation and/or iii) other Oracle data, is subject to the rights and limitations specified in the license contained in the applicable contract. The terms governing the U.S. Government’s use of Oracle cloud services are defined by the applicable contract for such services. No other rights are granted to the U.S. Government.

This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Epyc, and the AMD logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.

This software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable agreement between you and Oracle.

Oracle Documentation License

This document uses the Web-based Help format from DocBook XML. The following license information applies to this format.

Copyright В© 1999-2007 Norman Walsh

Copyright В© 2003 Jiri Kosek

Copyright В© 2004-2007 Steve Ball

Copyright В© 2005-2008 The DocBook Project

Copyright В© 2011-2012 O’Reilly Media

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the «Software»), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Except as contained in this notice, the names of individuals credited with contribution to this software shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the individuals in question.

Any stylesheet derived from this Software that is publicly distributed will be identified with a different name and the version strings in any derived Software will be changed so that no possibility of confusion between the derived package and this Software will exist.

THE SOFTWARE IS PROVIDED «AS IS», WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Читайте также:  Mac os вирусы 2020

Web-based Help from DocBook XML

Copyright В© 2008-2012 Kasun Gajasinghe, David Cramer

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Except as contained in this notice, the names of individuals credited with contribution to this software shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the individuals in question.

Any stylesheet derived from this Software that is publicly distributed will be identified with a different name and the version strings in any derived Software will be changed so that no possibility of confusion between the derived package and this Software will exist.

Warranty: THE SOFTWARE IS PROVIDED «AS IS», WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL DAVID CRAMER, KASUN GAJASINGHE, OR ANY OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Certain search characteristics associated with the DocBook XSL webhelp stylesheets are provided as javascript files generated using Apache Lucene and other fourth party technologies, which are licensed under the Apache License reproduced below.

Источник

ChapterВ 2В Installation and Configuration

To deploy Oracle Linux Virtualization Manager, you install and configure the engine on a host with Oracle Linux 7.6 (or later), configure KVM hosts, storage, and networks, and create virtual machines.

This section walks you through installing and configuring the engine host and the KVM host(s) that you use for virtual machines. Ensure you thoroughly review the ChapterВ 1, Requirements and Scalability Limits because the requirements for the engine host are different than the KVM hosts.

To review conceptual information and help to plan your installation, see the Oracle Linux Virtualization Manager: Architecture and Planning Guide.

2.1В Installing the Engine

To install Oracle Linux Virtualization Manager, you perform a fresh installation of Oracle Linux 7.6 (or later) on the host, install the ovirt-engine package, and then run the engine-setup command to configure the Manager.

You can install the Manager in a virtual machine as long as it is not managing that virtual machine, or in a self-hosted engine configuration. For more information, see ChapterВ 5, Self-Hosted Engine Deployment.

You can download the installation ISO for the latest Oracle Linux 7 from the Oracle Software Delivery Cloud at https://edelivery.oracle.com.

Install Oracle Linux 7 on the host using the Minimal Install base environment.

Do not install any additional packages until after you have installed the Manager packages, because they may cause dependency issues.

(Optional) If you use a proxy server for Internet access, configure Yum with the proxy server settings. For more information, see Yum Configuration in the Oracle В® Linux 7: Managing Software.

Subscribe the system to the required ULN channels OR install the Release 4.3.10 package using yum and enable the required repositories.

For ULN registered hosts only : If the host is registered on ULN, subscribe the system to the required channels.

Log in to https://linux.oracle.com with your ULN user name and password.

On the Systems tab, click the link named for the host in the list of registered machines.

On the System Details page, click Manage Subscriptions .

On the System Summary page, select each required channel from the list of available channels and click the right arrow to move the channel to the list of subscribed channels. Subscribe the system to the following channels:

(For VDSM) ol7_x86_64_UEKR6

Click Save Subscriptions .

For Oracle Linux yum server hosts only : Install the Oracle Linux Virtualization Manager Release 4.3.10 package and enable the required repositories.

(Optional) Make sure the host is using the modular yum repository configuration. For more information, see Getting Started with Oracle Linux Yum Server.

Enable the ol7_latest yum repository.

Before you execute yum-config-manager ensure the yum-utils package is installed on your system. For more information, see Using Yum Utilities to Manage Configuration in the Oracle В® Linux 7: Administrator’s Guide

Install the Oracle Linux Virtualization Manager Release 4.3.10 package.

Use the yum command to verify that the required repositories are enabled.

Clear the yum cache.

List the configured repositories and verify that the required repositories are enabled.

The following repositories must be enabled:

If a required repository is not enabled, use the yum-config-manager to enable it.

Unsubscribe to the 4.2 ULN channels OR disable the 4.2 repositories using yum.

For ULN registered hosts only : If the host is registered on ULN, unsubscribe to the following channels.

For Oracle Linux yum server hosts only : Run the following commands.

Install the Manager using the ovirt-engine command.

2.1.1В Configuring the Engine

After you install the Oracle Linux Virtualization Manager, you run the engine-setup command (the Setup program) to configure the Manager. You are prompted to answer a series of questions whose values are used to configure the Manager. Some of these questions relate to features that are in technology preview; Oracle recommends that you accept the default values for these features. For more information, see Technology Preview in the Oracle Linux Virtualization Manager: Release Notes.

The Manager uses two PostgreSQL databases: one for the engine and one for the data warehouse. By default, Setup creates and configures the engine database locally on the engine host. Alternatively, you can configure the engine host to use a manually-configured local or remote database. If you choose to use a manually-configured local or remote database, you must set it up before running engine-setup . Currently, running the engine or data warehouse database on a remote host is a technology preview feature.

Читайте также:  Install mac os from ubuntu

To configure the Manager:

Run the engine-setup command on the host where you installed the Manager.

Run engine-setup —accept-defaults to automatically accept all questions that have default answers.

The Setup program prompts you to configure the Manager.

Enter Yes to configure the Manager

If you enter No , the configuration stops. To restart, rerun the engine-setup command.

For the remaining configuration questions, provide input or accept default values, which are in square brackets after each question. To accept the default value for a given question, press Enter .

Setup asks you for the fully qualified DNS name (FQDN) of the Manager host. Although Setup tries to automatically detect the name, you must ensure the FQDN is correct.

For detailed information on the configuration options, see Section 2.1.2, “Engine Configuration Options”.

Once you have answered all the questions, Setup displays a list of the values you entered. Review the list carefully and then press Enter to configure the Manager.

Your answers are saved to a file that can be used to reconfigure the Manager using the same values. Setup also displays the location of the log file for the configuration process.

When the configuration is complete, details about how to log in to the Administration Portal are displayed. To verify that the configuration was successful, log into the Administration Portal, as described in Section 2.1.3, “Logging in to the Administration Portal”.

2.1.2В Engine Configuration Options

The following information describes the options for configuring Oracle Linux Virtualization Manager when you run the engine-setup command.

Some of the configuration option are in technology preview; Oracle recommends that you accept the default values for these features. For more information, see Technology Preview in the Oracle Linux Virtualization Manager: Release Notes.

Image I/O Proxy

The Image I/O Proxy ( ovirt-imageio-proxy ) enables you to upload virtual disks into storage domains.

WebSocket Proxy

The WebSocket Proxy enables you to connect to virtual machines using the noVNC or HTML 5 consoles.

For security and performance reasons, you can configure the WebSocket Proxy on a remote host.

Data Warehouse

The Data Warehouse feature can run on the Manager host or on a remote host. Running Data Warehouse on a remote host reduces the load on the Manager host.

Running the Data Warehouse on a remote host is a technology preview feature.

VM Console Proxy

The VM Console Proxy enables you to access virtual machine serial consoles from a command line. To use this feature, serial consoles must be enabled in the virtual machines.

OVN Provider

Install the Open Virtual Network (OVN) provider on the Manager host and add it as an external network provider. The default cluster is automatically configured to use OVN as its network provider.

OVN is an OVS (Open vSwitch) extension which enables you to configure virtual networks.

Using external providers, including the OVN provider, is a technology preview feature.

Manager DNS Name

The fully qualified DNS name of the Manager host. Check that the automatically detected DNS name is correct.

Automatic Firewall Configuration

Configure the firewall on the host to open the ports used for external communication between Oracle Linux Virtualization Manager and the components it manages.

If Setup configures the firewall, and no firewall managers are active, you are prompted to select a firewall manager from a list.

If you enter No , you must manually configure the firewall. When the Manager configuration is complete, Setup displays a list of ports that need to be opened, see for details.

Data Warehouse Database

The Data Warehouse database (the history database) can run on the Manager host or on a remote host. Running the database on a remote host reduces the load on the Manager host.

Running the database on a remote host is a technology preview feature.

In this step you configure the name of the database, and the user name and password for connecting to it. Make a note of these details.

Enter Local to connect to a local PostgreSQL server, or Remote to connect to an existing PostgreSQL server running on a remote host.

If you enter Local , you can choose whether to set up a local PostgreSQL server automatically, or to connect to an existing local PostgreSQL server.

Enter Automatic to have Setup configure a local database server, or Manual to connect to an existing local database server. If you enter Manual , you are prompted for the details for connecting to the database:

If you enter Remote to connect to an existing PostgreSQL server running on a remote host, you are prompted for the details for connecting to the database:

Engine Database

The Oracle Linux Virtualization Manager database (the engine database) can run on the Manager host or on a remote host. Running the database on a remote host reduces the load on the Manager host.

Running the database on a remote host is a technology preview feature.

In this step you configure the name of the database, and the user name and password for connecting to it. Make a note of these details.

Enter Local to connect to a local PostgreSQL server, or Remote to connect to an existing PostgreSQL server running on a remote host.

If you enter Local , you can choose whether to set up a local PostgreSQL server automatically, or to connect to an existing local PostgreSQL server.

Enter Automatic to have Setup configure a local database server, or Manual to connect to an existing local database server. If you enter Manual , you are prompted for the details for connecting to the database:

If you enter Remote to connect to an existing PostgreSQL server running on a remote host, you are prompted for the details for connecting to the database:

Admin User Password

Enter a password for the default administrative user (admin@internal). Make a note of the password.

Читайте также:  Игровые клиенты для windows

Application Mode

The Manager can be configured to manage virtual machines ( Virt ) or manage Gluster clusters ( Gluster ) , or Both .

OVN Provider Credentials

If you installed the OVN provider, configure the credentials for connecting to the OVN (Open vSwitch) databases.

Using external providers, including the OVN provider, is a technology preview feature.

SAN Wipe After Delete

Enter Yes to set the default value for the wipe_after_delete flag to true , which wipes the blocks of a virtual disk when it is deleted.

Using the wipe after delete functionality is a technology preview feature.

Web Server Configuration

Provide the organization name to use for the automatically generated self-signed SSL certificate used by the Manager web server.

Enter Yes to make the Oracle Linux Virtualization Manager landing page the default page presented by the web server.

Enter Automatic to generate a self-signed SSL certificate for the web server. Only use self-signed certificates for testing purposes.

Enter Manual to provide the location of the SSL certificate and private key to use the web server.

Data Warehouse Sampling Scale

Set the Data Warehouse sampling scale, either Basic or Full. This step is skipped the Data Warehouse is not configured to run on the Manager host.

Enter 1 for Basic, which reduces the values of DWH_TABLES_KEEP_HOURLY to 720 and DWH_TABLES_KEEP_DAILY to 0 . Enter 2 for Full.

If the Manager and the Data Warehouse run on the same host, Basic is the recommended sample scale because this reduces the load on the Manager host. Full is recommended only if the Data Warehouse runs on a remote host.

The Full sampling scale is a technology preview feature.

2.1.3В Logging in to the Administration Portal

After you run the engine-setup command to configure Oracle Linux Virtualization Manager, you should log into the Administration Portal to verify that the configuration was successful.

Preparing to Log in

It is recommended that you use the latest version one of the following browsers to access the Administration Portal

Microsoft Internet Explorer 11

If Oracle Linux Virtualization Manager was configured to use a self-signed SSL certificate, or an SSL certificate that is signed by a Certificate Authority (CA) that is not trusted by the browser (for example an Intermediate CA), you should install the CA certificate in the browser. Consult your browser’s instructions for how to import a CA certificate. You can download the CA certificate from the Manager at:

http:// manager-fqdn /ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA

Usually you access the Administration Portal using the fully qualified domain name of the Manager host that you provided during installation. However, you can access the Administration Portal using an alternate host name(s). To do this, you need to add a configuration file to the Manager as follows:

Log in to the Manager host as root.

Create the file /etc/ovirt-engine/engine.conf.d/99-custom-sso-setup.conf with the following content:

The list of alternate host names must be separated by spaces.

Restart Oracle Linux Virtualization Manager.

Logging in

You log in to the Administration Portal using a web browser and the default admin@internal user.

Go to https:// manager-fqdn /ovirt-engine . The Welcome page displays.

(Optional) Change the preferred language from the drop-down list on the Welcome page.

You can view the Administration Portal in multiple languages. The default language is based on the locale of your web browser.

Click Administration Portal . The Login page displays.

Enter admin for the Username and the password you specified when you configured the Manager.

From the Profile list, select internal and click Log In .

Next Steps

Now that you have configured and logged into the Manager, the next step is to add Oracle Linux KVM hosts, as described in Section 2.2, “Configuring a KVM Host”.

Logging Out

To log out of the Administration Portal , click the person icon in the header bar and click Sign Out . You are returned to the Login page.

2.2В Configuring a KVM Host

This section shows you how to configure and add a KVM host installed with Oracle Linux 7.6 (or later). To configure and add a KVM host with another supported operating system, see the operating system’s installation information.

For detailed information on the supported guest operating systems, see the Oracle В® Linux: KVM User’s Guide.

To manage an Oracle Linux KVM host using Oracle Linux Virtualization Manager, prepare the KVM host by performing a fresh installation of Oracle Linux 7.6 (or later) and enabling the required repositories, and then you add the host to a data center using the Administration Portal.

2.2.1В Preparing a KVM Host

Before you can add an Oracle Linux KVM host, prepare it by performing a fresh installation of Oracle Linux 7.6 (or later) and enabling the required repositories. You can download the installation ISO for the latest Oracle Linux 7 update from the Oracle Software Delivery Cloud at https://edelivery.oracle.com.

Install Oracle Linux 7 on the host.

Select Minimal Install as the base environment for the installation.

Do not install any additional packages until after you have added the host to the Manager, because they may cause dependency issues.

(Optional) If you use a proxy server for Internet access, configure Yum with the proxy server settings. For more information, see Yum Configuration in the Oracle В® Linux 7: Managing Software.

Subscribe the system to the required channels through ULN OR install the Release 4.3.10 package using yum and enable the required repositories.

For ULN registered hosts only : If the host is registered on ULN, subscribe the system to the required channels.

Log in to https://linux.oracle.com with your ULN user name and password.

On the Systems tab, click the link named for the host in the list of registered machines.

On the System Details page, click Manage Subscriptions .

On the System Summary page, select each required channel from the list of available channels and click the right arrow to move the channel to the list of subscribed channels. Subscribe the system to the following channels:

Источник

Оцените статью