12-10-2008
A script to start and stop ramdisks in the Solaris OS
This article describes a start/stop script for ramdisks in the Solaris OS. Using this script you can start and stop one or more ramdisks either manually or automatically while booting the system. The script also supports an initial load of the data for the ramdisk after creating the ramdisk and a backup of the data on the ramdisk to another directory before destroying the ramdisk.
More...
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm a newbie to the Unix world Help!
I have to maintain a host of Sybase database servers sitting on Unix Sun Solaris 8...I've been tasked with finding/creating a way to auto start/stop Unix via unix commands, specifically when the Unix servers need to be restarted we want Sybase to start... (2 Replies)
Discussion started by: jjv1
2 Replies
2. Solaris
As the title. Thanks (1 Reply)
Discussion started by: eddsos
1 Replies
3. UNIX for Dummies Questions & Answers
Hi
how do I start or stop the network interfaces in Solaris 9
I have tried "/etc/init.d/network stop" but it doesn't work
thanks (1 Reply)
Discussion started by: eldiego
1 Replies
4. Solaris
Hi...all
database - 10g Rs 2 with ASM
platform - Sun Solaris V890 64bit
This is the step i use to auto start the database n ASM: (auto start can start but need to kill lsvcrun first)
1 dbora---script
2 start_shutdown_asm.ksh---script
3. Dbora file must be put under /etc/init.d directory... (0 Replies)
Discussion started by: adzuanamir
0 Replies
5. UNIX for Dummies Questions & Answers
i have two separate scripts that work nicely to curl and generate two files.. one html and one txt so a total of four.
When the script starts up i want it to:
call and run shellscripta
call and run shellscriptb
sleep for about 40 seconds
again run shellscripta
again run shellscriptb
check... (4 Replies)
Discussion started by: phpfreak
4 Replies
6. Shell Programming and Scripting
Hi All,
I would like to develop a shell script for stop & start an application server (1-4) on Solaris box. Here are the user requirements for this task.
1. User will input the option which server they wish to stop.
2. Will clear cache files from specific location.
3. ... (1 Reply)
Discussion started by: venga
1 Replies
7. Solaris
I have Big brother script, which start/stop Big Brother processes. Something got change on server and now I am not able to start/stop it. There is no change in script, as I compared it from other server. This service is being managed by bb user (group is also bb).
root@tsazdq04:/#... (6 Replies)
Discussion started by: solaris_1977
6 Replies
8. Shell Programming and Scripting
Hi,
I need to create a shell script for automated server patching, with the following scenario:
I have two Linux servers Primary and secondary.
Server patching should start on Primary 1st and then secondary.
1st check both servers are up and running.
Then stop primary and patching will... (1 Reply)
Discussion started by: rcroyal88
1 Replies
LEARN ABOUT DEBIAN
mklnim
MKLNIM(1) General Commands Manual MKLNIM(1)
NAME
mklnim - make Linux Netinstall Image
SYNOPSIS
mklnim outputfile [path-to-cdrom]
DESCRIPTION
mklnim is a shell script that takes a SuSE, TurboLinux or a RedHat CDROM, or equivalent disk directory, and creates a network bootable
image (NBI) that can be used with Etherboot (http://etherboot.sourceforge.net/) or Netboot (http://www.han.de/~gero/netboot.html). This
NBI, when booted via the network, will make the target computer behave just as if a CDROM boot (TurboLinux), or a floppy boot (RedHat and
SuSE) had been selected. A conventional install can be done from this point onwards.
There are several occasions when this technique is useful: 1. It can be used to quickly boot a target computer when the floppy loading is
very slow. 2. In the case of TurboLinux, it loads the CDROM initial ramdisk which does not require any further floppy loading. In the case
of RedHat, it only loads the floppy initial ramdisk which does not contain the material in the supplementary floppy, and may require more
floppy insertion. 3. It can start the install from a floppy of any size, not just 1.4 MB, or even from a floppyless machine, if one has a
boot ROM (providing no further floppy access is required). 4. It could be used as part of an automatic installation process.
Naturally, all this assumes that the infrastructure for diskless booting (bootp and tftp servers) has been set up.
BUGS
If supplementary floppies are required, this script doesn't include that material in the network boot image. Please feel welcome to fix
this problem.
SEE ALSO
Etherboot tutorial at http://etherboot.sourceforge.net/
COPYRIGHT
mklnim is under the GNU Public License
AUTHOR
Ken Yap (ken_yap@users.sourceforge.net)
DATE
Version 0.4 April 2000
25 April 2000 MKLNIM(1)