Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Profile 23 update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
zBrain
Apprentice
Apprentice


Joined: 14 Apr 2006
Posts: 199

PostPosted: Sun Aug 18, 2024 1:20 am    Post subject: Profile 23 update Reply with quote

I am very nervous about how to do this properly in my circumstance.

I have a number of Gentoo servers (VMs) I maintain by compiling binaries on one and then installing those on the other machines.

It seems impossible to do all these steps safely and not end up with a broken install somewhere along the way.

Any advice?.
Back to top
View user's profile Send private message
freke
Veteran
Veteran


Joined: 23 Jan 2003
Posts: 1028
Location: Somewhere in Denmark

PostPosted: Sun Aug 18, 2024 7:11 am    Post subject: Reply with quote

Worked fine for my VMs following the steps in the newsitem; did my binhost first.

Just make sure you chose the correct profile (split-/merged-usr).

I would make sure @world is updated before starting profile-migration.
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3420

PostPosted: Sun Aug 18, 2024 10:03 am    Post subject: Reply with quote

Quote:
I have a number of [...] servers (VMs)

I used to do potentially risky stuff in this scenario after taking a snapshot of a VM. Pretty much any type of virtualization should offer you _some_ way to do a quick and easy rollback.

Also, virtual machines tend to make convenient testing environment, since oftentimes it's possible to clone a production server to an isolated network and do a test run against a prod data and config.
This more laborious approach was useful when whatever we were doing was likely to result in an extended outage, or if the outcome was uncertain.
_________________
Make Computing Fun Again
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20484

PostPosted: Sun Aug 18, 2024 6:39 pm    Post subject: Reply with quote

I'd clone a VM and work on the clone while leaving the original available for use.

Failure? Delete it and create another clone.
(Or revert to a snapshot.)

Success? Decommission the original as the clone can replace it.
(May require minor adjustments, such as IP, hostname.)
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum