[Spacewalk-list] proper way of migrating satellite server RHEL6 => RHEL7
Florin
portase.florin at medianetork.ro
Wed Dec 13 10:20:55 UTC 2017
Hi Michael,
Thanks, everything is working well,
spacewalk-setup --external-postgresql --skip-db-population
did the trick,
P.S I do think spacewalk how-to also should cover this kind of
scenario: Migrated the spacewalk server...
On 12.12.2017 11:23, Michael Mraka wrote:
> Florin Portase:
>> Hello,
>>
>> In our environment, we try to migrate a spacewalk server from rhel 6 to 7.
>>
>> So:
>> - orig => 1xVM RHEL6 [ 1xdisk for OS + 1xdisk 300G ] for
>> /var/satellite/redhat;
>> OS with spacewalk installed , using an external
>> postgres DB ( clustered )
>> - dst => 1xVM RHEL7 with same postgresDB from previous step
>> - exported vg rhn_data_vg
>>
>> So, I just attached the old disk from previous machine to the new one ,
>> import rhn_data_vg.
>>
>> Now , in order to connect to same database, what would be the next step ?
> Hello Florin,
>
> If you have Spacewalk already installed on your RHEL7 server reconfigure it
> to use the external database (db_* options in /etc/rhn/rhn.conf).
> In case you are going to install it use:
> spacewalk-setup --external-postgresql --skip-db-population
> and point it to the external postgresql when asked for db credentials.
>
> ...and of course don't forget about backup in case someting go wrong :).
>
> Regards,
>
> --
> Michael Mráka
> System Management Engineering, Red Hat
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
More information about the Spacewalk-list
mailing list