Reproducible custom mailing system for Linux

Problem

I have a large infrastructure consisting of several servers running Linux. For example, database servers, load balancers, application servers. There are many instances of all types of servers, and all of them must be reproducible.

Each type of server is basically a custom distribution. Personalization includes changes to upstream packages (another version of the upstream, build options, fixes, etc.), and possibly some additional custom packages.

For example, I need a server running the latest OpenLDAP slapd compiled with certain parameters and some fixes. And here everything gets complicated.

Upgrading to the latest slapd will also require updating the libraries on which it depends, which means rebuilding all packages that also depend on these libraries. That is, I basically need to rebuild a significant part of the distribution. I am looking for a solution that helps automate this process.

Decision requirements

Some kind of vague. I want to prepare everything necessary for creating my own distribution kit, give it a name (for example, ldap-server) and assign this name to the automatic build system at any time when I need to play the assembly.

I think this is what the Gengoo or LFS community should have. I also saw projects like ALT Linux Hasher , Fedora Mock, Debian pbuilder / sbuild, but I never used them.

Any ideas?

Thanks in advance!

+5
5

, ... ... ... , .

  • , XML GNU Make . XML + shell- script + python + Make/Autotools "core", .

  • - binaries/raw build . installwatch ( ), inotify, , . XML .

  • (XML) XML . XML (RPM ..)

  • ( ) script , ​​

  • , glib :)... . , /./configure . o , / o

  • /rsync -over-ssh , .

, . -, ( . -, ).

.

LFS... , , .

, , BSD Fedora.

, Suse Build Service, . ! , Suse.

+4

Nix Hydra .

  • Nix - .

  • Hydra - Nix. (AFAIU, .)

Nix , - . ( NixOS, Linux Nix.)

:

  • Disnix, Nix.
+5

ALTLinux girar-builder - ( hasher ), . Hasher - , , , .

, girar-builder (, ) , , , (= ) . , ( , - , ) ALTLinux ( ): " ". .

girar-builder , , , git.alt(girar-bulder).

, , ( ), ( Sisyphus) - , .

+1

, : mkimage-profiles, , ALT Linux, , . ( ), .

, ., , conf.d/server.mk:

distro/.server-base: distro/.installer use/syslinux/ui/menu use/memtest
    @$(call add,BASE_LISTS,server-base openssh)

distro/server-nano: distro/.server-base \
    use/cleanup/x11-alterator use/bootloader/lilo +power
    @$(call add,BASE_LISTS,$(call tags,server network))
    @$(call add,BASE_PACKAGES,dhcpcd cpio)

distro/server-mini: distro/.server-base use/server/mini use/cleanup/x11-alterator
    @$(call set,KFLAVOURS,el-smp)

OpenVZ, VM, ARM/PPC, git ( ) , .

PXE ( ) , - , .

netinstall ~ 17 ().

, ALT - , , :-) PS: LFS.

PS2: you can try something in real time with live-builder.iso on a system with 4 gigabyte RAM and a DHCP-enabled internet routed ethernet connection, just log in as altlinux, cd / usr / share / mkimage -profiles and make server-mini.iso

+1
source

I know little about this, but I think Suse Studio is worth a look.

0
source

All Articles