[ovirt-users] Re: ovirtmgmt VLAN and IP Change

2022-02-20 Thread Strahil Nikolov via Users
You can try to edit the details in /var/lib/vdsm/persistence/netconf , but 
first make a backup of it.
 Best Regards,Strahil Nikolov
 
  On Sun, Feb 20, 2022 at 2:23, Abe E wrote:   Your method 
worked !
I additionally had to run the engine rename service script to change the 
hostname of the engine as well.
My only issue now is after readding all the nodes with new hostnames my main 
host node 1 will not allow me to remove and re-add as a new hostname as there 
is a gluster volume on it.

It will not let me remove to readd because theres a gluster on the volume, have 
you run into this?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BCVMP5ZLBLQENYTDTD4EJ555SFGHXX4B/
  
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QUTP7K6QCG3K7PNYUYX4XFFZXD6V2HHH/


[ovirt-users] Re: ovirtmgmt VLAN and IP Change

2022-02-19 Thread Abe E
Your method worked !
I additionally had to run the engine rename service script to change the 
hostname of the engine as well.
My only issue now is after readding all the nodes with new hostnames my main 
host node 1 will not allow me to remove and re-add as a new hostname as there 
is a gluster volume on it.

It will not let me remove to readd because theres a gluster on the volume, have 
you run into this?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BCVMP5ZLBLQENYTDTD4EJ555SFGHXX4B/


[ovirt-users] Re: ovirtmgmt VLAN and IP Change

2022-02-19 Thread matthew.st...@fujitsu.com
iSCSI environment.

-Original Message-
From: Abe E  
Sent: Saturday, February 19, 2022 2:09 PM
To: users@ovirt.org
Subject: [ovirt-users] Re: ovirtmgmt VLAN and IP Change

How did you do this if the host had a gluster volume on it though? Mine does 
not let me remove due to that.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: 
https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/45VOUTITSAE2NKUREWKZKEUJ43Q7KBL7/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HOEHKAKV5R6HNOKFPVHGGUPW43UVXAXI/


[ovirt-users] Re: ovirtmgmt VLAN and IP Change

2022-02-19 Thread Abe E
How did you do this if the host had a gluster volume on it though? Mine does 
not let me remove due to that.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/45VOUTITSAE2NKUREWKZKEUJ43Q7KBL7/


[ovirt-users] Re: ovirtmgmt VLAN and IP Change

2022-02-19 Thread matthew.st...@fujitsu.com
I had to do this for a number of hosts last year.

I put the host into maintenance, and then removed it.

I used 'nmtui' to change the hostname. (Changing hostname suffix from two 
digits to three digits)  (Probably could have used hostnamectl) 

I change directory to  /var/lib/vdsm/persistence/netconf/nets/ and edited the 
appropriate files.

I rebooted the host.

I logged back in, and checked the results.

I re-added the host to the datacenter.

-Original Message-
From: Abe E  
Sent: Friday, February 18, 2022 7:09 PM
To: users@ovirt.org
Subject: [ovirt-users] ovirtmgmt VLAN and IP Change

Hello All,

So due to some issues with provisioning new networks in our lab, I have to use 
a different VLAN in for my ovirt cluster.

Cluster -> 3 Hosts (Hyperconverged)
What I want to do is essentially change the Ovirtmgmt interface to another vlan 
but also change the IP Schemes, I wont be needing to change the storage network 
vlans.

I am just wondering how this is done safely. 
Can I through the engine, put the host 1 by 1 into maint mode and manually 
adjust the IPs and apply and reconfigure the switch port? What about the IP 
that the engine has set or would I change that manually through console once I 
change the ovirtmgmt vlan on all the nodes?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: 
https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5JTGYJ6K5CDYFQ22QFOFF4LP5XCHMSK7/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZFLGLN7G5TP7OOJFPLN2F6FS55H7YFMY/


[ovirt-users] Re: ovirtmgmt VLAN and IP Change

2022-02-18 Thread Abe E
When you say "As a side note because the engine doesn't make this very clear in 
the
UI: If you want to change the network used for the various roles,
(storage, VM, console, management, default gateway, migration) you do
so at the cluster level. (Main menu-> Compute -> Clusters -> Cluster
name -> Logical Networks) The roles are assigned to virtual networks,
not the interfaces on each host."

Does this mean I should be adding for example Vlan 100 (new MGMT vlan) to all 
the hosts, set the IP and then go to cluster and set this vl100 network as mgmt 
network?

Because when I attempt to change the IP on the ovirtmgmt interface of a node 
and then waiting, it doesnt apply. Even if while It is changing the config, I 
switch the native vlan of that port to vl100. 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ADQ73JZ5LICMMY3QSQTICDAGNPDUO7AZ/


[ovirt-users] Re: ovirtmgmt VLAN and IP Change

2022-02-18 Thread Patrick Hibbs
Hello,

Network configuration for an ovirt host is managed by VDSM. If you try
to make changes manually, such as through calling nmcli or manually
editing the network scripts via an ssh session on each host, VDSM will
just reset everything back to the configuration it had before. (It's on
a timer, and it will also happen if VDSM / the host restarts.)

To make permanent changes to the network configuration, you'll need to
configure the IP addresses / VLANs through the web admin interface for
each host.

The steps to do this safely are:

Go to web admin, Main menu -> Compute -> Hosts.

For each host,

1. Migrate or power off all running VMs. (You can see and control each
VM running on a host by clicking on the host's name and selecting the
"Virtual Machines" tab.)

2. Put the host into maintenance.

3. Click on the host's name and then go to the Network Interfaces tab.

4. Click on the "Setup Host Networks" button. For each interface listed
on the dialog, there is a pencil icon on the far right. Click on that
pencil to edit the configuration for that interface.

5. Make your changes as desired. A couple things to note:

Be careful about where you define a gateway, it will effect
the  host's routing table and can prevent the engine from being able to
contact that host.

The engine will not validate the IP configuration on the UI
screen. I.e. You can set any IP address / subnet mask even if it
doesn't match the network address / subnet mask of any other host on
the same logical network. Nor will the engine protect against reusing
an IP of an existing host on the network. (Regardless if said host is
registered with the engine.) Be careful when you type in those
addresses. They are functionally just a text box.

6. Once your changes are done make sure that the "Verify connectivity
between Host and Engine" and "Save network configuration" check boxes
are checked then, click on the OK button.

7. Wait a few minutes. The engine will update the interfaces and the
display in the host list. If the engine cannot complete the network
changes, it should revert them back to what they were originally.

As a side note because the engine doesn't make this very clear in the
UI: If you want to change the network used for the various roles,
(storage, VM, console, management, default gateway, migration) you do
so at the cluster level. (Main menu-> Compute -> Clusters -> Cluster
name -> Logical Networks) The roles are assigned to virtual networks,
not the interfaces on each host.

- Patrick Hibbs

On Sat, 2022-02-19 at 01:09 +, Abe E wrote:
> Hello All,
> 
> So due to some issues with provisioning new networks in our lab, I
> have to use a different VLAN in for my ovirt cluster.
> 
> Cluster -> 3 Hosts (Hyperconverged)
> What I want to do is essentially change the Ovirtmgmt interface to
> another vlan but also change the IP Schemes, I wont be needing to
> change the storage network vlans.
> 
> I am just wondering how this is done safely. 
> Can I through the engine, put the host 1 by 1 into maint mode and
> manually adjust the IPs and apply and reconfigure the switch port?
> What about the IP that the engine has set or would I change that
> manually through console once I change the ovirtmgmt vlan on all the
> nodes?
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/5JTGYJ6K5CDYFQ22QFOFF4LP5XCHMSK7/

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RSRY3SLNOGC5UJAOYFIGM4SH6SI2BY27/