Koozali.org: home of the SME Server

Change name of existing IBAY?

Lasse Johansson

Change name of existing IBAY?
« on: November 17, 2002, 04:16:04 PM »
I need to change the name of an existing IBAY, the "name" as well as the "describtion name".

How do I proceed?

Ruusvuu

Re: Change name of existing IBAY?
« Reply #1 on: November 18, 2002, 09:03:56 AM »
First:  Back up everything in the ibay
Second: mv ibayname newibayname
Third:  create a new ibay with the name you just changed the ibay to
Fourth:  Test it with:  http://192.168.1.1/newibayname

I have not yet rebooted my server, so I don't know what will happen then
I'm posting this, then rebooting my server

I will then post the results

Ruusvuu

Re: Change name of existing IBAY?
« Reply #2 on: November 18, 2002, 09:10:43 AM »
Ruusvuu wrote:
>
> First:  Back up everything in the ibay
Of course, this is at a shell prompt:
> Second: mv ibayname newibayname
> Third:  create a new ibay with the name you just changed the
> ibay to
> Fourth:  Test it with:  http://192.168.1.1/newibayname
>
> I have not yet rebooted my server, so I don't know what will
> happen then
> I'm posting this, then rebooting my server
>
> I will then post the results

I have rebooted the server and experienced no repercussions.
newibayname has the content of the old ibay
new virtual domain using newibayname as content produces the content of the old ibay

This was tested on 5.5

Happy migrating!

Lasse Johansson

Re: Change name of existing IBAY?
« Reply #3 on: November 18, 2002, 12:25:40 PM »
Thank you for your answer. I realize that this would be a way of doing it, but my question was really how to CHANGE the existing name...

I'm pretty sure this has to be done in the E-Smith database somewhere, but I would really like to more details...