18
Managing Linux in an Engineering College A Case Study

SouthEast LinuxFest 2015 - Managing linux in a engineering college

Embed Size (px)

Citation preview

Page 1: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

Managing Linux in an Engineering CollegeA Case Study

Page 2: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

My opinions are my own.

The Lawyers Made Me Do It

Page 3: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

About Me

Jason Edgecombe (@edgester)● Linux Administrator in the College of

Engineering at UNC Charlotte● OpenAFS contributor & buildbot admin● http://engrmosaic.uncc.edu● https://github.com/edgester● http://rampaginggeek.com

Page 4: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

The William States Lee College of Engineering at UNC Charlotte

● 5 Departmentso Civil and Environmental Engineeringo Electrical and Computer Engineeringo Engineering Technologyo Mechanical Engineering and Engineering Scienceo Systems Engineering and Engineering Management

● Various research centers (EPIC)

Page 5: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

College Stats

● 3322 Students who major in COE (Fall 2014)o 2710 undergrad, 612 grad

● 154 faculty (140 FTE), 60 staff FTE ● 4342 login accounts (May 2015)● 10 person IT team (full-time) + student

interns● 2 Linux admins

Page 6: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

What We Support

● 2 Managed platformso Mosaic Windows

1200+ Mosaic windows machineso Mosaic Linux

41 production servers(mix of bare-metal and VM’s)

65 Linux desktops (offices and research labs) 141 total Linux machines (that we manage)

● Assorted standalone boxes (research)

Page 7: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

What We DON’T Maintain

● The main campus network● Primary departmental/college web sites● Research compute cluster● Other stuff provided by university-level IT● Moodle● Campus ERP systems

Page 8: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

Mosaic Linux Platform

● 50+ commercial and open source software suites

● RedHat Enterprise Linux 5 (Client & Server)● Only IT staff have root/sudo● OpenAFS for network storage

(Linux & Windows)

Page 9: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

Key Philosophies

● High level of customer service● Lots of automation

o Scripted installation and management.(little or no imaging)

● Store everything in AFS (Windows & Linux)o Roaming profiles and home directories

● Workstations and servers are disposableo Primary disks must not contain persistent user data

Page 10: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

Remote Access

● Current: 10 servers, 8C/16T, 96GB RAM● Future: 2 servers, 8C/64T, 256GB RAM● Remote graphical and ssh access● Today: FreeNX over globally-accessible ssh

port● Near Future: Xrdp and ssh behind the VPN● Used by on-site and off-site users

Page 11: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

Current Automation

● Kickstart automated installation● Masterless cfengine w/AFS to distribute files● Scripts (Bash, Perl, Python)● Git for VCS and moving code changes

between environments● Folders of RPMs to designate patchsets

(separate from git)

Page 12: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

Future Automation/Platform

● RHEL7● RedHat Satellite (Puppet, Katello, Foreman, Pulp)

○ Use lifecycle environments to promote Dev→Test→Prod

○ Content views to synchronize puppet modules and RPMs

○ Reduce the dependency on a shared file system for our management tools

Page 13: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

Ongoing Challenges & Responses

● Usual suspects: budget & staff time○ Automate and streamline○ Engage stakeholders to set priorities○ Interns for some stuff

● Growth (12% student growth 2009-2014)○ Automate○ Set priorities

● Bimodal user populations○ Set expectations per application

Page 14: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

Ongoing Challenges & Responses 2

● Users want root/sudo (especially Elec. Eng.)○ Better customer service○ Make the managed offering irresistible

● Need to support centralized and distributed usage models○ Users can choose their support model○ Support both with a hybrid team

Page 15: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

Ongoing Challenges & Responses 3

● Divergent application requirements○ Install dependencies in separate folders with

applications○ Can’t always fix this. Can Docker help?

● Semi-trusted network○ Assume the attackers are inside the machines!○ Run fail2ban on workstations○ Be wary of applications that have little/no security

Page 16: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

Challenges Yet To Be Conquered!

● Research○ Special requirements that can’t be handled by the

managed offering. (security & technical)● Storage (More!)● Security

○ Risk of more one-offs○ Belligerent users

● Consolidation?

Page 17: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

The Future Is Uncertain

● Looking to replace our:o Network file systemo User Directoryo Backup system

● Docker● Cloud● Continuous Delivery

○ automated testing, logging, metrics

Page 18: SouthEast LinuxFest 2015 -  Managing linux in a engineering college

Discussionhttp://engrmosaic.uncc.edu