windows - Automatic applications deployment -
windows - Automatic applications deployment -
i want automate applications/roles/features deployment (unattended) on windows 2012 r2 infrastructure, this project needs many hours of programming, why i'm asking here.
i want deploy next applications , roles : active directory, dns, sql server 2012, citrix xenapp server, citrix xendesktop server, citrix datacollector, citrix licence server, citrix storefront server.
so basic deployment on 8 servers (already installed on esxi, ip configuration only).
i imagined scenario :
i fill csv file contains of information, , execute powershell scripts deploy everything, can imagine 1 script phone call different scripts each components (sql, ad, dns, citrix etc..)
i don't want depend of tool (sccm, puppet or whatever..), reasons why want create scratch -> maybe i'm wrong.
i read there new feature called powershell dsc, simplify application deployment http://blogs.technet.com/b/privatecloud/archive/2013/08/30/introducing-powershell-desired-state-configuration-dsc.aspx there simple illustration : if need 4 iis webserver then, execute code :
configuration deploywebservers { node ("test1.domain.com","test2.domain.com","test3.domain.com","test4.domain.com") { windows-feature iis { name = "web-server" ensure = "present" } } } deploywebservers -outputpath "c:\scripts" start-dscconfiguration -path "c:\scripts" -verbose -wait -force
but in case i'll have 1 server per application/roles or feature, if understand well, feature interesting if need deploy same configuration on (x) servers
what's advice? should take write powershell script scratch? or take solution puppet or chef (much easier), in case i'll dependant of tool.
the best solution utilize sql database -> final goal of project web application database execute powershell scripts deploy infrastructure
of course of study web application, populate database through forms, , powershell scripts query database informations (ip address, client name, domain name, password, users...)**
thank advice.
chef or puppet easiest way forwards , both tools have been around long plenty not worry them disappearing off internents. both work, pretty much, out of box , , running in considerably lesser time if design own system.
having said that, benefit of going ps solution doesn't require agents installed on destination boxes(connectivity winrm). can wrap powershell module, hand out sysadmins , retain total command of what's going on under hood. ps solution give total control, improve understanding of underlying process - @ cost of time , other design headaches.
to sum up: if have time, or specific utilize case go ps. otherwise big boys , save reinventing wheel - or seventeen.
disclaimer: did ps thing previous employer.
windows powershell deployment automation puppet
Comments
Post a Comment