Contenu connexe Similaire à Barcamp2010 (20) Plus de Ladislav Prskavec (20) Barcamp20102. Enterprise
• reliability and security
• scalability
• distributed infrastructure
• hw load balancer (F5, Cisco)
• cache (memcached)
• distributed FS (lmc sychronizer, HDFS)
• high availability (99.5% and more in SLA)
• easy maintenance and deployment
pondělí, 8. listopadu 2010
4. CIE
• Source Control Managment (Git, SVN,
CVS, ...)
• source, docs, supporting docs
• Engine (Hudson, phpundercontrol, CC)
• RPM, PhpDoc, QA tests
• Datastore (webDAV for RPM)
pondělí, 8. listopadu 2010
5. Deployment
• rsync, ftp, scp
• pear, phar
• os native (rpm, deb)
• scm (git push)
• capistrano
pondělí, 8. listopadu 2010
6. Deployment II
• CFengine http://www.cfengine.org/
• CentOS (Redhat Enterprise)
• RPM packages
pondělí, 8. listopadu 2010
7. App Current version
• PHP Aplication structure:
• /var/www/www.webnas.cz/current
• /var/www/www.webnas.cz/10.10.10-453
• symlink from app version to current
pondělí, 8. listopadu 2010
8. RPM packages
• spec file
• ant builder use rpmbuild
• build.properites
• shared build.xml
<!-- rpmbuild -->
<target name="rpm">
<echo message="SPEC: ${spec_file}" />
<exec executable="rpmbuild">
<arg value="--target=i386"/>
<arg value="-bb"/>
<arg value="${spec_file}"/>
</exec>
</target>
pondělí, 8. listopadu 2010