Hello,

   I have already did this, set to remove in DB, mshost table. But I didin't 
changed this "in the "hosts" table, ensure that all the hypervisor hosts and 
SSVM/CPVM have their "mgmt_server_id" set to NULL (no value)" I will do right 
now.

   Thank you for confirmation!

Regards,
Cristian

-----Original Message-----
From: Andrija Panic <andrija.pa...@gmail.com> 
Sent: Wednesday, June 24, 2020 12:56 AM
To: users <users@cloudstack.apache.org>
Subject: Re: ACS 4.14 showing multiple Management servers under infrastructure 
(duplicated)

Hi,

the records in the mshost table are messed up

To fix:
- stop that single mgmt server
- check the records in the "mshost" table and mark ALL of those that should not 
exist (all, except that single one) as "Down" in the "State" field and add a 
date in the "Removed" field - this will make sure all of those old mgmt entries 
are NOT any more shown in the GUI, and are officially removed.
- for the single good mgmt server, observe it's "msid" value from that "mshost" 
table.
- in the "hosts" table, ensure that all the hypervisor hosts and SSVM/CPVM have 
their "mgmt_server_id" set to NULL (no value) - on the next boot, mgmt server 
will populate these fields with the "msid" of the single correct mgmt server 
record from the previous step - important in order to avoid delays in all hosts 
showing as Connected and Up
---- check with "SELECT * FROM host WHERE TYPE IN
('Routing','SecondaryStorageVM','ConsoleProxy') AND removed IS NULL;"
- start the mgmt server and confirm all hosts are Connected and UP (same for 
the SSVM/CPVM - worst case, destroy them both, will be recreated
shortly)

Best,




On Tue, 23 Jun 2020 at 17:25, <cristian.c@istream.today> wrote:

> Hello,
>
>
>
>       After the upgrade to 4.14 I see multiple Management servers 
> under infrastructure in UI, I have only one but not sure why is 
> showing multiple for different versions.
>
>
>
>      Please see the screenshot : https://imgur.com/FakSvVa
>
>
>
>
>
> Best regards,
>
> Cristian
>
>

-- 

Andrija Panić

Reply via email to