I have been reviewing the start/stop functions within the various rcx.d
entries and I think I have a handle on this....but I want to run this past
the reflecting pool of wisdom known as the Linux-390 list.

What I believe I need to do in order to get my boulder sized backups
without taking the linux LPAR all the way down/up is this:

Change to runlevel 2, and let the system handle getting various things down
through normal channels.

Runlevel 2 is going to start the following, by default (not sorted by
number - sorry)

S02dhclient
S10at
S05network
S10mysql
S07route
S10quota
S08proftpd
S10raw
S08snmpd
S11lpd
S01SuSEfirewall_init
S08syslog
S11smbfs
S01dummy
S10acct
S11xntpd
S01random
S10argus
S12cron

My question is this: Where does telnet get started, will it stay active
through a runlevel 3-2 shift and if not how does one start it. Secondly,
since I don't use the SuSE Firewall, is there a point to me having this in
rc2.d? I also wont need the SMBFS or mysql started. I'm just loathe to
remove things from rc2.d since they are 'stock' and would be replaced in an
OS upgrade

Why runlevel 2? I want everything to halt so I can run a script that will
take the file systems one by one and mount them read only and initiate a dd
disk copy to a matching set of spare volumes. I'm not sure that I want the
system in single user mode, since our operators really don't have anythign
to do with this, and I want to be able to telnet into the box if I have to
dial into work to fix things.

Once the dasd has been mirrored, I want to take it offline to linux, send
the system back to runlevel 3 and continue on. The one problem I'm having
is with a component of DB2 connect coming up. I have had to manually issue
db2start from the db2inst1 ID after the system is up, so I also need to
know if it's possible for a script to do an su to the db2inst1 ID and still
issue a command when it's time to bring the system back to runlevel 3

any examples of unix shell scripts that do things like this I could see
would be most helpful.

All this for lack of a backup client that doesn't suck, since I cant play
in the 3494 because nobody here trusts linux/amanda to handle it properly

Reply via email to