the field of converting any manual process into one that can be run mostly, or entirely, "hands-free"

learn more… | top users | synonyms

2
votes
5answers
3k views

How do I automate OS installation on 500+ machines?

My company has to image a large amount of machines by the end of the year. Each of the machines will have hardware RAID 1 and running CentOS 6. What options do I have for automating the OS ...
8
votes
4answers
3k views

How to automate slipstream?

Since years I use slipstreamed Windows installations. This works very well, but preparing them is tedious : 1 - install a Windows with the last slipstreamed version we have (automated install) 2 - ...
2
votes
2answers
1k views

My PowerShell script won't save to file when running using Task Scheduler; do I need to specify a specific argument?

I have a script that downloads a temporary Excel file, copies parts of it to a new file, and saves it to a specific location on the network. The problem is that the new file is never created/saved. ...
2
votes
1answer
168 views

HPSA (HP Server Automation) [closed]

Using HP SA (HP Server Automation) version 9 for automation and its Oracle database consumes inordinately large amounts of CPU resources. Anyone have a similar experience?
2
votes
1answer
290 views

Disabling reverse dns lookup for ssh connections; Why not..?

Upon seeing some failure with initial ssh connections timing out; I narrowed it down to the reverse dns lookup on ssh. I've found many articles articulating how to disable the lookup; but none saying ...
-3
votes
1answer
86 views

How can i set new domains to respond to my server [closed]

I would like to create a page for new clients in my hosting. When someone register a domain, sometimes that person don't have a dns, or the hosting didn't created the account. So the page will not ...
2
votes
2answers
758 views

How to detect APC UPS battery usage and run a script when on battery

I have a couple APC UPS - Smart-UPS RT 6000 RM XL Smart-UPS RT 5000 RM XL Unfortunately the power in my office likes to go out (out of my control) and hence the equipment powered by these UPS ...
3
votes
1answer
749 views

How can I systematically shut down Windows services in order?

We have this open source application that has three (3) services. For the purpose of this question, let's call them A, B, and C. Now, they have to be shut down in a specific order. That order would ...
2
votes
3answers
143 views

Control scheduled tasks execution

We are a small shop. I am mainly a programmer, but due to being the only one that risks to manage our servers, the task has fallen on me (yet I it is still a secondary function so I cannot give it too ...
0
votes
2answers
66 views

Performing task on remote window server 2003 machine

I have to perform various task such as restarting process, monitor process state check disk space, log monitoring on Window server 2003 machine. For this i am using remote desktop access which is very ...
1
vote
1answer
1k views

Shared files/templates between cookbooks

We have multiple cookbooks which reference the same files and templates and were wondering if there is a reasonable way to ensure all of these are the same file to ensure that none go out of date. An ...
0
votes
1answer
265 views

How do you make a host workstation boot into a Virtual Machine and shutdown Upon VM Shutdown

I'm dealing with a company that has 21 windows workstations. I'd like to install linux on them to host Windows via a virtual machine. I'd like each workstation to hide linux from the user, in that, ...
4
votes
1answer
586 views

Modifying the number of VCPUs in a VMware VM

In ESXi, what is the automation/script (I expect it would be using PowerCLI somehow) approach to modify the number of VCPUs in a VM? In context, when using our kickstarts, RHEL won't install the SMP ...
1
vote
3answers
268 views

SSH autologin works sporadically

I am installing 20 servers. On each, with a specific user I created a dsa key. I did cat key.pub from each server onto ~/.ssh/authorized_keys of the first server I verified all servers can log in ...
2
votes
2answers
189 views

Tool for automating Windows tasks that require input on a server?

Can you recommend software that records what you are doing and then plays back the commands as well as allowing you to save that recording and set it up as an automatic task? The reason I ask is ...
-4
votes
1answer
119 views

etckeeper user and system diffs [closed]

I'm looking for a way to keep user and system-made changes to /etc using etckeeper seperate automatically. Basically different commits for user and system. I'm sure many other sysadmins could benefit ...
1
vote
1answer
283 views

Automated test suite for linux servers and network devices?

Coming from a development background i'm used to automated (unit) testing before stuff goes live.Now i'd like to use the same approach to (new) linux (and some windows) servers and networkdevices. I ...
-2
votes
1answer
155 views

Telnet scripting server [closed]

I know this is old question, but I cant find anything on google. Is there any good software for centrally scripting telnet and ssh? Basically the following components: Telnet/SSH client, GUI, Server ...
0
votes
2answers
334 views

How to temporarely modify /etc/hosts [duplicate]

Possible Duplicate: How to permanently and irrevocably block websites on Firefox? I'd like to write a script that modifies /etc/hosts for a certain period of time. Motivation is ...
3
votes
2answers
4k views

Execute a command when a device is connected via USB

I currently have a system that backs up my Linux server onto a USB storage device on /media/usb. This all works correctly. However, I actually have 2 drives which we try to swap on a daily basis. Is ...
2
votes
2answers
130 views

Extract, combine, and automate several installers

Right now we have about 12 different pieces of software that we have to manually install on many machines. I want to extract the files from the MSI/EXEs and monitor registry changes. Then I would ...
1
vote
3answers
259 views

How Do I Migrate 100 DBs From One MS-SQL 2008 Server To Another? (looking for automation)

Let me start by saying that I am not a DBA, but I am in a position where I am responsible for moving just under 100 MS-SQL 2008 DBs from our current development server, to a new/better/faster ...
0
votes
1answer
55 views

How to find out what's automatically processing a file when placed in a folder

When I place a file in a particular folder, it gets deleted within a few seconds. I think there is some process that is doing something with the data in the file and then removing the file. What's ...
1
vote
0answers
280 views

Automate an interactive command which use /dev/tty

well pretty much it's in the title. I've a interactive command. This one ask for a password through /dev/tty. I use this command within a shell script. So the command should read the information ...
-3
votes
2answers
199 views

Open source app to manage and run commands on cloud servers? [closed]

I'm creating a SaaS platform, and I need a component / library that can create, delete and store the connection details for cloud servers. It also needs to support executing shell commands on these ...
1
vote
3answers
962 views

How to deploy new and changed files only via FTP

I'm working for a company who in some circumstances HAVE to deploy php web applications via FTP. I'm in the process of automating the deployment process and need to write a script to FTP the files to ...
1
vote
1answer
324 views

Need to trigger a program when Active Directory replicates

I am a .NET developer working on a project I inherited. I need to execute a small program when AD replicates to keep our DB with user information up to date. Is there a way when AD replicates to ...
1
vote
1answer
2k views

Is it possible to change a Windows hostname (NetBIOS name) using a script?

How can I change the hostname of a Windows server using a script? Doing this on a Linux server is very straightforward (change a couple file entries, and run the hostname command), but I don't know ...
1
vote
0answers
72 views

Adding a user to BES via Script?

I am looking for a way to add users to BES using a script to help automate new user creation process. Is this possible with using any of the resource kits from BlackBerry, or other methods than using ...
2
votes
3answers
8k views

How to automate DNS server reconfiguration for TCP/IPv4 and TCP/IPv6 in Windows 7?

I need to switch Internet Protocol Version 4 (TCP/IPv4) and Internet Protocol Version 6 (TCP/IPv6) settings for DNS server configuration from "Obtain DNS server address automatically" to hard coded ...
13
votes
7answers
15k views

How to set ulimits for a service starting at boot?

I need, for mysql to use large-pages, to set a ulimit - I've done this in limits.conf. However, limits.conf (pam_limits.so), doesn't get read in for init, only for "real" shells. I solved this before ...
4
votes
1answer
70 views

Is allowing automated subversion checkins a bad idea?

I'm a Systems Admin supporting a team of developers, and our subversion repository is protected by HTTP basic authentication tied to a single-signon solution. We also share our infrastructure with ...
-1
votes
3answers
2k views

How do I remotely deploy a software package on Linux system?

I have a software package I wrote in Mono and I want to be able to deploy it to Ubuntu server as part of my move to continuous integration and deployment work flow. I was wondering if there is a ...
0
votes
1answer
512 views

Automate wifi connection in bash using glob

Trying to apply these rationals on an ubuntu VM box to automate wifi connections but processing just into an infinite loop as I guess I'm not using glob as it should but can't find why/where the ...
1
vote
1answer
811 views

Can OpenVPN run and connect on startup?

I just set up an OpenVPN Server on an Amazon EC2 Instance. Now I want the client (me in this case) to connect to the server when my computer boots. I have read that it can be done by modifying a ...
2
votes
2answers
932 views

Start services.msc attached to remote computer

Is there a way to start services.msc already attached to a remote system (e.g. from command line)? I want to avoid clicking Action -> Connect to remote computer, because I have to do it so often...
3
votes
2answers
675 views

Automatically set static routes between two networks without dhcp or default gateway

I have a windows domain network with two different subnets. Both are connected trough VPN gateways. DHCP and default gateway is an exiting router blackbox. Unfortunately I have very limited control ...
1
vote
1answer
693 views

Removing non-present hardware with Devcon?

I'm automating the removal of a USB printer from machines with Windows XP SP3. To do this, I'm using Microsoft's Devcon Utility. Running the command: devcon findall *hp* Returns: ...
6
votes
2answers
1k views

How to copy many Scheduled Tasks between Windows Server 2008 machines?

I have several standalone Win2008 (R1+R2) servers (no domain) and each of them has dozens of scheduled tasks. Each time we set up a new server, all these tasks have to be created on it. The tasks are ...
1
vote
1answer
717 views

How do I automate the installation and configuration of a local printer?

I'm running Windows XP SP3. I have a fleet of laptop computers that I'm creating a master clone for. Each of these computers will have a different function when deployed so I've created a series of ...
29
votes
6answers
5k views

Automatically Configure New Computers

My company is in the process of upgrading all of our users from old Windows XP computers to newer quad-core Win7 computers. This is a good thing - it's long overdue that we upgrade our workstations - ...
1
vote
1answer
855 views

Multiple related resources in chef recipe

I need to run some commands depending on a result of previous execution, which again depends on some package being installed. On the first run, I'd expect something like: install package "XXX" get ...
1
vote
3answers
217 views

Automatically find permission problems of a directory

I often have the problem that a program - e.g. apache - may not access a certain file or directory. Solving the problem means to manually check the file and every single directory in the path up to ...
0
votes
2answers
556 views

ubuntu 10.04 automated LAMP configuration script with virtual hosts

I am looking for a set of bash scripts which can help me to automate the procedure of getting LAMP server up and running. Typically what I am looking for is boot a VPS (say linode) with Ubuntu ...
1
vote
3answers
6k views

How can I pass in a FTP username and password to WinSCP?

I'm scripting WinSCP, and need to dynamically pass in a FTP username and password, depending on which environment I'm using. However, the docs say, "WinSCP does not support providing the passphase ...
0
votes
1answer
1k views

Command Line - programmatically add/remove/rename BIND alias records?

For our local dev server, we routinely add and remove name alias records in our BIND/named server for our local network domain. I usually do this manually through Webmin, just out of convenience. But ...
1
vote
3answers
224 views

Setting up Tomcat on shared drive for clustered environment

We have a production environment with externally load-balanced Tomcat servers running on multiple servers, serving HTTP requests and maintaining stick sessions. Due to lack of complete build and ...
0
votes
1answer
164 views

DIY: automate cloning of Xen VMs, gold templete?

looking for DIY way without commercial tools like XenServer LabManager product.
0
votes
1answer
50 views

Software for scanning installation process? [closed]

I forgot what is the name of the very good software which make some kind of restore point (save registry, and program files folder, etc...) before installing any software. After you install some ...
0
votes
1answer
157 views

Deploy across multiple webservers, remove from load balancer on EC2

I'm wondering if there is a 3rd party application that can help me deploy a web project (website) to IIS across multiple web servers. While, taking one server out of the load balancer deploying, ...