So now let’s see the engine-setup command. The engine-setup command is a command used to configure and set up the Oracle Linux Virtualization Manager engine after the installation of the engine package is done.
So the command is a part of oVirt engine package and is crucial for initializing and configuring the OLVM environment. So you run the engine-setup command on the host where you install the manager, and you’ll enter yes to configure the manager.
So the first question it will ask you– it’s interactive command, so it asks you whether you want to install the engine on this host or not. So you’ll select yes as the option. And for the remaining configuration options, you can provide the inputs or you can go with the default values.
So it is giving you an interactive question-based setup configuration. It’s actually dividing the configurations into multiple groupings. We’ll talk about these groupings as we go further in the slides. For now, you can go with using the questions or answering the questions with default values, or you can provide the required parameter values for the answers.
Once you have answered all the questions, the setup will display a list of values you entered similarly to a summary information about what you have selected with the questionnaire that was provided with the engine-setup command.
And then when the configuration is complete, details about how to log in to the administration portal are displayed. So once the summary is displayed, you will accept that particular summary page and you start installing and configuring your engine.
After the configurations are done, it will try to display the details about the portal access, how will you access the portal? It will display you the login information to the administration portal after the installation is complete.
Now when the engine setup is happening, as I said, we have got multiple configuration groupings that are actually given as questions. So they are actually grouping the questions into a set of groups, which are useful for configuring different components of your Oracle Virtualization Manager.
So engine configuration options are categorized into grouping like database configuration. The database configuration gives you the options to configure the PostgreSQL database that OLVM uses to store its data.
It prompts for database credentials, database name, and other related settings. It can also give you the options to set up and configure a local database instance if one is already available or configured locally or have an access to a remote database if you want to have a remote database configured.
Then we have got network configurations. It sets up the network parameters, including the host name, the IP address used by the OLVM engine. It configures your firewall settings to allow traffic on necessary ports if you enable automatically configure my firewall, if you select yes for that.
It will go for configuring your firewall, allowing you all the ports that are enabled on the system for your Oracle Linux Virtualization Manager. Then it goes in something which is called as administration user setup. It prompts for creation of the administration user and providing a password to that user.
It configures secure access to the OLVM web administration portal by this user. The default user name is the admin user and the password is provided at the time of installation. And then we have got the certificates and security configurations.
So it manages SSL certificate creation and configuration for secure communication. And you can use a self-signed certificate or import this self-signed certificate inside your browser to have access with certificate encryption and authorization.
It also gives you a categorization of service configurations, which sets up and enables necessary services to start the OLVM services at boot time. We talked about these services, what are the services available? So these services are configured and you can configure the services, start your Oracle Linux Virtualization Manager service at boot time.
It configures the oVirt engine service, ensures it starts automatically, and runs correctly. So these are the engine configuration options which are available for configuring your engine.
Then we have got the next set, which is once you have configured, the next thing you need to do is use an alternate hostname. So you’ll log in to your manager host as a root user and you will provide an alternative hostname, which refers to an additional hostname that can be used to access the OLVM engine.
And the feature is particularly useful in scenarios where the OLVM engine needs to be accessible via multiple network interfaces or with different hostname. So how will you do that? You log in to your manager as root user and then you will create the file, which is actually the engine-config daemon directory in which you will create a file, which is called as custom-sso-setup.conf.
It might already be available there. You can just try to edit that file and provide the alternative hostname there, or if it’s not available, you will create this file. Then you will list and go for SSO_ALTERNATE_ENGINE_FQDNS, where you provide the alternate fully qualified domain names for your engine machine.
So each of these names, like here, you can see in the example, it has given two hostname alias1 and alias2. So the list of alternate hostnames must be separated by a space and enclosed in quotations.
And then you will restart your Linux Virtualization Manager by running the systemctl command restart ovirt-engine that is restarting your service. Now why would I like to do the alternative host configuration? It gives me enhanced accessibility.
It provides multiple entry points to the OLVM engine, improving accessibility and user convenience. It gives you the options to load balance. You can distribute load across different host names. Increased flexibility, allows the network segmentation and tailored access based on different use cases and requirement.
So these are the reasons why I would go for configuring an alternate host name. And configuring an alternate host name is recommended from Oracle. And once you have done that, you will log in to your environment.
To log in to the environment, you will navigate to the web browser, you will access the web browser, and provide the address, which is the managers-fqdn, which is managers fully qualified domain name.
And if the port number is not defaulting to 443, if it’s a different port number that you have configured, then provide the port number with colon and port number. Otherwise, if it’s 443, it will automatically default to 443 port number. And then the application that you’ll access will be ovirt-engine.
Then you can change the preferred language. You can view the administration portal in multiple languages. And you can redefine these languages. You can change the language.
And once you are in the main page, you can go for clicking the administration portal, which will specify or take you to a login page where you will specify the username, the password that you have defined when the engine setup was happening, and then the default profile that you provide as the internal profile. And then you will click on the Login button to log in to your environment.
Recent Comments