Commit Graph

549 Commits (mr6.0)

Author SHA1 Message Date
Michael Prokop f16fb9f527 deployment: provide status report via http://$DEPLOYMENT_SYSTEM:4242/status
13 years ago
Michael Prokop 0d9e56473c deployment: do not modify /etc/hosts if retrieving hosts config
13 years ago
Michael Prokop 20f088d3b0 deployment: adjust vlan-raw-device on-the-fly during deployment
13 years ago
Michael Prokop 60ea9fd1ed deployment: do not overwrite /etc/hosts if it was retrieved from mgmt system
13 years ago
Michael Prokop ec3be7ff90 deployment: also retrieve /etc/hosts through mgmt REST API
13 years ago
Michael Prokop d900c22bf1 deployment: make sure MAC address for internal and external device are different
13 years ago
Michael Prokop f145200fa0 deployment: generate udev rules before messing with network setup
13 years ago
Michael Prokop 02973975db Support ngcpmgmt boot option to retrieve network configuration through REST API
13 years ago
Michael Prokop b4075cd10b deployment: always use b0 as bonding device name in vlan setup
13 years ago
Michael Prokop b3c9fc7acd deployment: do not use logit function in script executed inside chroot
13 years ago
Michael Prokop 79e6d207c8 deployment: support ngcpvlan boot option
13 years ago
Michael Prokop 9e4aa6ad61 deployment: support ngcpreboot option to reboot after deployment
13 years ago
Michael Prokop 24a121d935 deployment: stop monit process
13 years ago
Michael Prokop 14b48a3217 deployment: display PRO role in deployment logo/banner
13 years ago
Michael Prokop d3b88ba482 deployment: initial central logging
13 years ago
Michael Prokop 2542f22baa Remove --skip-comments from first mysqldump cmdline
13 years ago
Michael Prokop e1c8e6cd4f Make both mysqldump command lines do the same
13 years ago
Michael Prokop a0d690b764 Drop --no-data in mysqldump command line
13 years ago
Jon Bonilla 1603177439 update installer-release mapping
13 years ago
Michael Prokop 87fdc1c426 deployment: add irqbalance to list of processed to stop
13 years ago
Michael Prokop 3006e6b1bd deployment: display running processes if rereading disk partition fails
13 years ago
Andrew Pogrebennyk 5e8d5bacd4 use installer version 0.8.1 for 2.6-rc1
13 years ago
Michael Prokop 9ed359ecf5 Make deployment script aware of 2.6-rc1 release
13 years ago
Michael Prokop 464cfa590b Run adjust_hb_device also on sp2
13 years ago
Michael Prokop cc90fb589c Support installing i386 systems using arch=i386 boot option
13 years ago
Michael Prokop e776564597 Support ngcpnoupload boot option to skip upload cfg/db dumps
13 years ago
Michael Prokop b86d6ce2ef Provide bootoption to trace executed commands
13 years ago
Michael Prokop c2ada492aa netscript: do not stop kamailio process
13 years ago
Michael Prokop 3e753633ee Support GPT partition tables for large disks
13 years ago
Michael Prokop e60f8c33d3 netscript: raise installer version to 0.7.3
13 years ago
Michael Prokop e04d388384 Get rid of released Debian packages when installing trunk release
13 years ago
Michael Prokop c68e2a0ae7 deployment: skip comments inside DB dump
13 years ago
Michael Prokop fddb1b01dd Get rid of config*.yml, constants*.yml + ngcp-installer*deb before rebooting
13 years ago
Michael Prokop ad7e8c47ef Display note that the MySQL connect error isn't an actual problem
13 years ago
Michael Prokop 16a3423fbe netscript: support setting Debian release via debianrelease boot option
13 years ago
Michael Prokop bd2e2094c3 provide trunk "dumps" of config.yml and constants.yml
13 years ago
Michael Prokop e85f7c5e40 DB dump: check for "Dump completed"
13 years ago
Michael Prokop b6bb9681f2 Increase timeout for upload DB dump
13 years ago
Michael Prokop d8d9888963 Run ngcpcfg commands during adjust_hb_device and move code to earlier step for consistency
13 years ago
Michael Prokop 9e6078c20f Set hb_device in config.yml on PRO systems during deployment
13 years ago
Michael Prokop 29cf092a63 Only upload DB dump of CE trunk installations
13 years ago
Michael Prokop 73a1494c3c deployment.sh: also destroy voisniff-ng process
13 years ago
Michael Prokop 5c0ddf31ff Some additional checks regarding mysqldump
13 years ago
Michael Prokop 76271b74b8 deployment.sh: always install openssh-server
13 years ago
Michael Prokop 114dc5c8b9 drop unused local mirror stuff and instead support installing 2.1 release / Debian/lenny
13 years ago
Michael Prokop 708c300357 upload DB dump only when installing a trunk release
13 years ago
Michael Prokop b1f32be663 deployment: initial database dump support
13 years ago
Andrew Pogrebennyk 0acaca40f9 use installer version 0.7.2 for new v2.5 deployments
13 years ago
Michael Prokop c3596e7c0b Support Virtualbox harddisks
13 years ago
Andrew Pogrebennyk af32d6256c use installer version 0.7.1 for 2.5 release
13 years ago
Michael Prokop 2079d6fe58 deployment.sh: add exim4 to list of services to stop
13 years ago
Michael Prokop e83f0c4ccb Display deployment script version in logo
13 years ago
Michael Prokop 35226f02da Log script version and boot kernel cmdline to /var/log/deployment.log
13 years ago
Michael Prokop 24900dece5 try setting SCRIPT_VERSION in deployment.sh
13 years ago
Michael Prokop b4d2fdc6ab Testing what happens with git-svn
13 years ago
Michael Prokop 58de811421 Set Id / Rev keywords in deployment.sh (still testing)
13 years ago
Andrew Pogrebennyk 50efdb03ba use sipwise's percona repository when ngcpautobuildrelease is set
13 years ago
Andrew Pogrebennyk b1c76ba543 deployment: use 0.6.7 as installer version for 2.5-rc2
13 years ago
Michael Prokop 1345af1b68 Install acpi acpid acpi-support-base in all our systems
13 years ago
Michael Prokop b67911554a deployment: use 0.6.4 as installer version for 2.5-rc1
13 years ago
Michael Prokop 75db22cfe6 deployment: provide usage example for IPv6 autoconfiguration
13 years ago
Michael Prokop de9bbf4566 deployment: support virtio disks
13 years ago
Michael Prokop c21e139a4f deployment: also kill atd and dbus-daemon during deployments
13 years ago
Michael Prokop ddb948d1da deployment: do not error out if rereading partition fails
13 years ago
Michael Prokop fe379e4390 Force kernel to reread partition table
13 years ago
Michael Prokop bea56bd7c7 Support puppet environments
13 years ago
Michael Prokop ed48a9c203 Add support for puppet deployment
13 years ago
Michael Prokop 71e070fae8 deployment: release new installer version for 2.4 release
13 years ago
Michael Prokop 47b6f7e5d2 deployment: new installer version for 2.2 release
13 years ago
Michael Prokop e848f55316 deployment.sh: re-add mkswap command
14 years ago
Michael Prokop 8f975fc1eb drop the init script for handling swap partition in CE again, drop mkswap call
14 years ago
Michael Prokop 0f72b594b9 create swap partition in all systems and enable swap partition on 1st boot in CE
14 years ago
Michael Prokop c0d7949631 update installer version
14 years ago
Michael Prokop e41d9b5a0d update for 2.4 release
14 years ago
Michael Prokop 62e86dabb6 support new release autobuilds
14 years ago
Michael Prokop b11244efbb assume 127.0.0.1 $HOSTNAME for /etc/hosts on non-pro systems
14 years ago
Michael Prokop c0c8f4c996 shut down kantan process from inside Grml
14 years ago
Michael Prokop 008c3aca14 check for existing kernel module built by dkms
14 years ago
Michael Prokop 96bf363bd0 support autobuild release for installer
14 years ago
Michael Prokop a3e0babf13 always use ngcp-installer from trunk if building ngcptrunk, use bootoption ngcpautobuildrelease for autobuild releases
14 years ago
Michael Prokop 015858ebca deployment.sh: drop unused code
14 years ago
Michael Prokop a6e3829cf5 support ngcprelease bootoption to test unfinished releases
14 years ago
Michael Prokop d569b4ee57 check for /srv/mirror/debian, use ${DEBIAN_RELEASE} for mirror test
14 years ago
Michael Prokop cfd7d6324d use "sipwise" as ssh password
14 years ago
Michael Prokop 6c224c1a2a replace password grml2011 with just "grml" so we match the docs
14 years ago
Michael Prokop ac3fbc33f0 split final status report into two lines and fix typo
14 years ago
Michael Prokop 3d8dc3e1d6 be more verbose in logo screen and send installation details to logfile
14 years ago
Michael Prokop 972a97464a support kantan and ngcphalt bootoption
14 years ago
Michael Prokop 17042f4f8c support lenny as installation target and add platform version matrix
14 years ago
Michael Prokop 3256514bc4 export TRUNK_VERSION and make sure it is used correct inside subshell
14 years ago
Michael Prokop f67dff869d support trunk installer builds through ngcptrunk bootoption
14 years ago
Michael Prokop 9550cfa4fa drop dns-nameservers entry from internal network
14 years ago
Michael Prokop 2563982f23 do not set hostname entry pointing to 127.0.0.1
14 years ago
Michael Prokop afdbb30819 deployment.sh: always set internal network in pro systems, even when using dhcp
14 years ago
Michael Prokop 77932b819a deployment.sh: install firmware-bnx2[x] by default
14 years ago
Erhard Rank f7fba95e7c remove hardcoded vars, add defaults, reorder
14 years ago
Michael Prokop 058110cc1a deployment: do not create /etc/ngcp_ha_role + /etc/ngcp_ha_master if values are unset
14 years ago
Michael Prokop 0858a23db6 deployment.sh: provide udev rules on non-physical pro installs
14 years ago
Michael Prokop d7e7b9d3d3 deployment.sh: do not hardcode eth0
14 years ago
Erhard Rank ace26dcdeb new bootparms/options for carrier role/masterip
14 years ago
Erhard Rank 7372ff94e3 clean up downloaded profile files
14 years ago
Michael Prokop 82ca92a8f9 deployment.sh: do not hardcode eth1 for internal network configuration
14 years ago
Erhard Rank 6bc12843cd add var for netmask on eth1
14 years ago
Erhard Rank 21e7c5dd28 sleep 10 for inspecting config in not-interactive
14 years ago
Erhard Rank 3bf3f74522 use profile configuration directory
14 years ago
Erhard Rank 61afe42710 always use $IP1 and $IP2 instead of hardcoded IPs
14 years ago
Erhard Rank 27bb20c391 detach setting and export of vars for installer
14 years ago
Michael Prokop 4e5adf8919 fix quoting of installer and sp version check
14 years ago
Michael Prokop 9ff6a6149b Add explicit mkswap call to initialise swap partition
14 years ago
Erhard Rank dda2b8aa98 fix: check if both version numbers are present
14 years ago
Erhard Rank d5b2a2e065 Erratum: profile file overrides cmdline overrides bootparms
14 years ago
Erhard Rank 1ca453ab43 support specification of SP/CE and ngcp-installer version
14 years ago
Erhard Rank 7a3c4908a6 move profile file loading after command line processing
14 years ago
Michael Prokop 190120f9ff deployment.sh: do not use static URL for retrieving ngcpprofile; minor code improvements
14 years ago
Erhard Rank 2f16c289da load site specific profile file (from deb.sipwise.com/kantan/) with bootoption ngcpprofile=filename
14 years ago
Michael Prokop 3b71cbe24b deployment.sh: display information when deployment started in logo, drop duplicated code
14 years ago
Michael Prokop a88e2acffb deployment.sh: make sure PRO systems are being shipped with activated swap space
14 years ago
Michael Prokop 4e20b525c0 deployment.sh: to inform user about time it took to execute deployment script
14 years ago
Michael Prokop 92fce76e66 deployment.sh: make sure we don't leave any running processes
14 years ago
Michael Prokop 369a28d911 deployment.sh: invoke spce ngcp-installer with expected "y" in pipe.
14 years ago
Michael Prokop 236c3749b3 Implement support for eth1 as internal network.
14 years ago
Michael Prokop 6ec9cb2743 deployment.sh: make sure slow CD drives don't cause a race condition with local mirror.
14 years ago
Michael Prokop f4e6b584ae deployment.sh: whitelist PowerEdge raid controller.
14 years ago
Michael Prokop 231ffe5f7a deployment.sh: support running in IBM System x3250 M3 system
14 years ago
Michael Prokop fb6813974d Disable bonding by default and provide option "ngcpbonding" to enable it on request. Adjust installer params for HA v2 setup.
14 years ago
Michael Prokop 3d53a97bf9 Support Linux HAv3 as separate install option.
14 years ago
Michael Prokop 94e0c33934 Use latest installer version for spce, log output of installer in pro installer as well.
14 years ago
Michael Prokop 89f12546c5 Log output of ngcp-installer to separate logfile so we can use it in debug mode and capture its output.
14 years ago
Michael Prokop f22c5425e4 Support disabling local Debian mirror via bootoption nolocalmirror.
14 years ago
Michael Prokop 13b08c4f62 Do not use sfdisk in virtual environment but use parted as well.
14 years ago
Michael Prokop 5f9c726022 Support command line option ngcpnobonding.
14 years ago
Michael Prokop 4b40a7e8fd Make a backup of the installer logfiles for later investigation.
14 years ago
Michael Prokop ffc5eb0396 Use sipwise green as color for status logo.
14 years ago
Michael Prokop dc35303b45 Fix logic when pro edition is being used.
14 years ago
Michael Prokop 6073d24b47 Support bootoption ngcpnobonding.
14 years ago
Michael Prokop 2c15a157a6 use b0 only in pro edition, adjust quoting to catch possibly unset variables
14 years ago
Michael Prokop 7213c71360 deployment script: support new commandline options (ngcpip1, ngcip2,...) as bootoptions, improve validation checks
14 years ago
Michael Prokop 2e7728e465 Adjust sysrq-trigger for reboot.
14 years ago
Michael Prokop d02ee852f0 Support setting multicast address. Be more flexible WRT rebooting/halting the system.
14 years ago
Michael Prokop 8c816ac12e install acpi* packages on PRO edition
14 years ago
Michael Prokop 422702e264 support network bonding in PRO edition, drop haveged from install list (available only through our squeeze-backport-repos)
14 years ago
Michael Prokop 3f977178ab make network configuration more flexible, use variable DISK for disk usage, minor status message improvements
14 years ago
Michael Prokop a193eec5fa Execute script only Grml as safety check.
14 years ago
Michael Prokop 49b30de771 Deploy haveged to improve entropy source when running corosync-keygen.
14 years ago
Michael Prokop 646682fd8d When running ngcpsp2 default to hostname sp2.
14 years ago
Michael Prokop 29a0b775e7 Fix export of variable.
14 years ago
Michael Prokop c935e9b4d6 Invoke PRO ngcp-installer with arguments for automated installation.
14 years ago
Michael Prokop b3b256c64a support local mirror, bugfix for pipe handling, use ngcp-installer-latest of sppro repos
14 years ago
Michael Prokop d8d5174bb6 provide netscript and templates as separate package
14 years ago