You need to take a look at the /etc/inetd.conf and setup the rc3.d
and rc5.d with "ln -s ../inetd S11inted"
|---------+----------------------------->
| | James Melin |
| | <[EMAIL PROTECTED]|
| | epin.mn.us> |
| | Sent by: Linux on |
| | 390 Port |
| | <[EMAIL PROTECTED]|
| | st.edu> |
| | |
| | |
| | 06/27/2003 04:08 |
| | PM |
| | Please respond to |
| | Linux on 390 Port |
| | |
|---------+----------------------------->
>------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc: (bcc: Eddie Chen/SIAC)
|
| Subject: Changing runlevels etc
|
>------------------------------------------------------------------------------------------------------------------------------|
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
-----------------------------------------
This message and its attachments may contain privileged and confidential information.
If you are not the intended recipient(s), you are prohibited from printing,
forwarding, saving or copying this email. If you have received this e-mail in error,
please immediately notify the sender and delete this e-mail and its attachments from
your computer.