Mitel Forums - The Unofficial Source

Mitel Forums => Mitel MiVoice Business/MCD/3300 => Topic started by: sunspark on April 13, 2023, 05:29:02 AM

Title: secondary Host
Post by: sunspark on April 13, 2023, 05:29:02 AM
I just added a secondary ipbx for resiliency.
is there a way to assign ipbx2 to all users?
import/export doesn't work.
Title: Re: secondary Host
Post by: ralph on April 13, 2023, 07:58:20 AM
I've used import/export several times for that.

First I ensure that one user is already resilient.
Then I export all the users from the User and Devices form.
Then I copy the secondary host information from the resilient user to all the other users.
Next I import it all back.

That has worked well for me each time.

Ralph
Title: Re: secondary Host
Post by: sarond on April 13, 2023, 06:56:46 PM
Hotdesk users may need to be logged out first.

You can logout all users in maintenance commands
LOGOUT HOTDESK INTERNAL ALL

You can also logout a single user using a FAC. Maybe try one first as a test before logging every user out.
Title: Re: secondary Host
Post by: sunspark on April 14, 2023, 05:14:09 AM
I've used import/export several times for that.

First I ensure that one user is already resilient.
Then I export all the users from the User and Devices form.
Then I copy the secondary host information from the resilient user to all the other users.
Next I import it all back.

That has worked well for me each time.

Ralph

Hi Ralph ,
this is what I already tried to do before posting my request but I have an error message when I try to import the file (below)
Title: Re: secondary Host
Post by: sarond on April 14, 2023, 07:17:06 AM
Appears that the csv is corrupt and not lining up correctly.

The values aren't valid for those fields.
Title: Re: secondary Host
Post by: sunspark on April 17, 2023, 03:29:59 AM
Appears that the csv is corrupt and not lining up correctly.

The values aren't valid for those fields.

I exported the file, modified it, then imported it.
Title: Re: secondary Host
Post by: sarond on April 17, 2023, 08:26:50 PM
I can only go by the error in the screenshot.

e.g. 6905 IP should be the device type not the PKM  field.

There may be a comma too many or not enough somewhere. Are you opening the file with excel or just using a text editor.
Title: Re: secondary Host
Post by: sunspark on April 18, 2023, 05:28:17 AM
I export the file
I open it with Excel
I add the "secondary ipbx"
I save my CSV file
then open it with Notepad++
I replace all the ; by ,
then i import it again.
Title: Re: secondary Host
Post by: sarond on April 18, 2023, 08:37:20 AM
When saving from excel as a csv I've never had to open in another editor to replace ; with ,

When I save a csv it is still comma separated.

You could try opening the original csv in Notepad++ then do a find/replace
e.g.
find {guid of MiVB1},,
replace with {guid of MiVB1},{guid of MiVB2},