system-administration

Release/Deployment/Maintenance process for a web service

Hi all, I'm doing research on some non-brittle release process techniques in a 24x7x365 web service environment. What are some of your favorite methods for releasing code from a development environment to a critical-production environment. This includes not only code changes -- but also database schema changes. Let's assume that everyth...

What Process is using all of my disk IO

If I use "top" I can see what CPU is busy and what process is using all of my CPU. If I use "iostat -x" I can see what drive is busy. But how do I see what process is using all of the drive's throughput? ...

How Do I Pursue A Better Career?

Greetings, Stack Overflow. My question today is, "How do I get from where I am at in my career and life to where I want to be?" Being unable to wander through every path in life, I seek heuristics (advice) from those who have or are travelling different paths. The Initial Condition I went to a technical school to become a video-game ...

GUI admin tool for managing production processes

I have several shell scripts, perl and java based processes running on a bunch of unix machines. I am looking for a dashboard like utility that can allow me to start, stop and monitor all these processes. right now, I have to do many of these jobs manually (e.g. each script sends me an email notification in the end indicating that it h...

Set Programatically a Windows Service Log on to Local System Account with Desktop interact.

Hello Everyone :) I have a Windows service built which is being installed by .NET 2.0's installutil /i command. It installs the service as with the following Account and Password: NT AUTHORITY\LocalService running my service with net start brings a Error 5: Access Denied Message. To remove it I've had to open up services.msc...

What methods/techniques/tools do you recommend for documenting systems and infrastructure (runbooks)?

Background I recently joined a small start-up after working at a large company. I'm not a professional system administrator, however, because of my programming and systems knowledge I am now the internal person managing our servers and infrastructure. In the past, I never needed to document our system information: passwords (for serve...

How can I extract a subtree from my svn repository into a new one?

We have a subversion repository with one directory that is: not really in need of revision control beyond the capabilities of RCS not versioned in conjunction with anything else in the repository modified about 6x as often as the rest of the repository Although I know that high rev numbers aren't a problem, nonetheless I'd like to pu...

Can anyone recommend a (linux) utility to monitor logs in realtime?

Is anyone aware of any linux utility that can monitor logs in realtime and trigger events based on specific log content? Thanks. ...

How can locked files be monitored on a WIN 2000 server

Hi, I'm interested to know what would be the best way to monitor locked files/open file handles on a win 2000 server. I am interested in a general system report that could show locked files or handles over time (over the course of one night, for example) without having to specify which processes are to be monitored specifically. Thanks...

command line/Powershell administration of networks behind NAT

Scenario. 3rd party admins want to administer systems with PS remoting/direct login of clients and servers behind NAT gateways. The systems are SBS 2003 or W2K3. all are behind NAT firwalls with varying RFC1918 subnets and no site to site VPNs (although a solution would likely require this.) Each site has its own unrelated AD setup. ...

Shared network folders usage by PHP scripts - is this possible from outside the domain?

I am having the following difficulties: Three servers A,B,C : A,B in the same network domain; C in another. PHP scripts executing on server A write to a shared folder on server B. The same scripts executing on server C fail to write to server B. PHP looks something like this: oject->Output('\\\\serverB\\sharedfolder\\file.dummy'); Is...

formatting shell output into structured data?

Are there any libraries (perl, python, ruby, etc) or other means of formatting the output of shell commands to a structured data format like JSON or XML to be processed by another application? Use case: Bunch of CentOS servers on a network. I'd like to programatically login to them via SSH, run commands to obtain system stats and eventu...

When should server maintenance affect implementation descisions?

Here's my situation... I'm writing a .Net/C# security system (authorization and authentication) for a large collection of web applications that require a single sign-on process. I'm using Active Directory as a data store and have written a very nice prototype that communicates with AD through LDAP. This component retrieves information a...

Should developers be given Domain Admin / DBA access rights?

I have just walked out of a meeting room steaming after having to unsuccessfully argue the case for retaining our (development team's) Domain Admin / Oracle DBA access privileges. We support day to day production issues as well as a nationally critical process that happens three times a week. On top of this our DBA has no SQL experience ...

What is the most secure way to retrieve the system Drive.

I know that the following should work: Environment.GetEnvironmentVariable("windir", EnvironmentVariableTarget.Machine) My problem with this call is that if for some reason someone decided to remove the "windir" Env Var , this won't work. Is there an even more secure way to get the System drive? ...

Usefulness of separating database files and trans logs among partitions

Some guys where I work are setting up a new database server for SQL Server. The server has a system drive that also stores backups and a single RAID 5 array for the database files. The RAID 5 array is logically partitioned into 2 drives. One is for the actual database files (MDF) and the other is for the transaction logs (LDF). The quote...

Deleted user 'postgres' - oops

I accidentally deleted the user 'postgres' user the #userdel command and no longer have access to the database. What can I do to create a new postgres user and how can I start postgresql again? If I have to re-install postgresql, do I just delete my current postgres setup by removing the /usr/local/postgresql-8.3.6/ directory? NOTE: I...

How much a Programmer should Know about System Admin?

How much should a programmer should know about system admin? I mean, obviously the more the better. But for the sake of argument, what is the average a programmer should know? I have seen my friend ( a programmer) does database schema design, database backup, database tuning, data migration etc. Sometimes I wonder whether he is a progra...

Local Machine Admin rights?

What is the opinion of everyone out there about having local admin rights for a developer on their local machine? Or at least the ability to do it such as through runas without having to rely on someone else? ...

Using schtasks to create a task with multiple schedules

Is there some way to use schtasks to create a task with multiple schedules ? ...