Computers & Internet Logo

Related Topics:

Anonymous Posted on Sep 05, 2008

Installing Image on Linux server through network

Hi

We have Linux server scattered all across N. America and everytime there is a corruption on OS, we have to send a new server to distance location to replace the corrupted one. I was wondering is there any way to install new images ( using acronis or ghost) to these servers remotly or from central server without having to install the image here in HO and then send the server out to remote location. Its just adds to logestics cost becuase there servers are dell power edge 1850 and they cost lo of money to ship.

  • Anonymous Sep 17, 2008

    Oh great news, the linux distribution we are using is RedHat Enterprise
    3. I have no expreinece in writing kickstart but i am curious. Is it
    like a batch file?



    thanks for your reply

×

1 Answer

Anonymous

Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that got 5 achievements.

Governor:

An expert whose answer got voted for 20 times.

Scholar:

An expert who has written 20 answers of more than 400 characters.

  • Expert 95 Answers
  • Posted on Sep 17, 2008
Anonymous
Expert
Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that got 5 achievements.

Governor:

An expert whose answer got voted for 20 times.

Scholar:

An expert who has written 20 answers of more than 400 characters.

Joined: Sep 16, 2008
Answers
95
Questions
0
Helped
69393
Points
255

If you're using any any flavor of redhat (RHEL, CentOS, Fedora), this can be easily done using kickstart. It's a preconfiguration utility to allow a user to simply type a single one line command after booting from a cd, and completely install a whole server remotely. Comment back with your linux distro, and maybe I can give more specific details.
Steven

  • Anonymous Sep 17, 2008

    It's similar to a batch file, except it has a very specific syntax it's expecting. I've written quite a fdw for network deployment when I was a junior administrator for Cal State San Bernardino. Here's an example script here you can see. There is a tool that's distributed with RHEL3 to create a custom kickstart. Then, to use the kickstart, you need to boot the server and enter the following command:
    linux kshttp://svn.ias.csusb.edu:8080/ks/cs366/n...
    Enter your url of the kickstart file of course. At install, it will ask you to assign an IP via static or dhcp, then it will use that ip to fetch the kickstart file. It will then instruct the linux install on how to install to the server.
    You'll notice a section called post at the end. This is a simple shell script-style command list. It can include almost any legal shell command in the file. It's a great time to setup things like httpd, or samba. You can even fetch custom config files in the post section, so at first boot it's completely setup. For example, in the post section, include a line that looks like this:
    cd /etc
    wgethttp://svn.ias.csusb.edu:8080/ks/cs366/h...
    tar zxvf httpd.conf.tar.gz
    And it will download all the apache config files, and put them in place before the firstboot even happens.
    You can also specify a remote system to pull the install files from, so at install you are pulling all the latest rpm's instead of the stale ones from the cd. However, this can go rather slow depending on the internet connection and the packages selected.
    Of course, I can offer premium assistance on this. I own a small computer consulting firm which is listed here on fixya called In Home Tech Support. (909) 724-4498. We setup and maintain a number linux installs all over the country.
    Steven


×

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

774 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

ADMIN Andrew
ADMIN Andrew

Level 3 Expert

73791 Answers

ADMIN Eric
ADMIN Eric

Level 3 Expert

42240 Answers

Brad Brown

Level 3 Expert

19190 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...