4 ms·
> If I were you I'd recommend trying to get the two data centers to use the same images. Yes... we have tried... this is not going to happen. The battle I'm p
by tingletech 15y ago
> If I were you I'd recommend trying to get the two data centers to use the same images.
Yes... we have tried... this is not going to happen. The battle I'm picking is to get a compiler on production.
In SUSE dev and stage started as clones and production is very close to dev/stage but built by a different group; but in solaris land things are more divergent between dev stage and production because the openCSW packages were all installed on different days from the main public repository which is consistently being updated. Plus, since -dev is shared with ~30 developers and stage is shared with about ~10 developers and folks ask the dev/stage admins for different packages things start to diverge more as dependencies get upgraded.
Where I have problems is trying to compile things like GD and openquicktime that are used by some legacy processes that seem to be very sensitive to certain libraries being at the right version -- maybe this is not going to be an issue on SLES but I've been bitten in the past so many times by subtle library version issues and I find I have the best luck if I always rebuild my entire stack after any OS update or package changes.
I know it was another age (when in one day I might have to work on old SunOS, new Solaris, HP/UX, AIX, BSDi, and IRIX boxes -- and dev and stage machines were unheard of), but the grey beards (these dudes literally had awesome grey beards) I learned this trick from had a lot of experience and I still believe that building locally is the best bet unless you can guarantee the systems are identical in every detail (which I will never be able to do because I'm not a sysadmin anymore).
> If that's not possible and all the prod machines run the same image I'd build a package on one prod machine and install that on all of them.
I will only have one production vm for my app. The main application I run has ~6k unique visitors a day and ~130k unique visitors a month with an average of 4 pages per visit -- not super high load so I don't need multiple back end servers -- at least on my shared solaris host. I haven't done load testing on the vms yet -- but if I do need multiple production vms they will be able to clone the vms for me in production.