Example of D3Linux Coldstart
This example is taken out of Single Source:
001 N
002 Comment SRS. 12/16/2010.
003
004 comment Added the following command to /etc/rc.local to autostart D3
005 comment exec /usr/bin/d3 -l -n pick0 -a x
006
007 comment The following command was used to create turnkey telnet ports.
008 comment You need to be logged in with root priv. d3 -l
009 comment auto-xinet 7910 200 10
010 comment "auto-xinet (r to remove all telnet ports."
011 comment edit /etc/selinux/config and change SELINUX=disabled
012 comment then reboot
013 comment look in /etc/xinetd.d/telnet for telnet settings.
014
015 comment Use the following command to change a tape device to load
016 comment PMPROGRAMS.UPG.
017 comment chg-device 8 name=/saves/pmprograms.upg type=floppy density=pseudo
018
019 comment Use the following to load an abs patch.
020 comment chg-device 8 name=/D390/linux90xa3 type=floppy density=pseudo
021
022 comment ---------------------------------------------
023 comment Start of normal coldstart on the main server.
024 comment ---------------------------------------------
025
026 !mkdir -p /mnt/saves
027 !umount /mnt/ACTFAX
028 !mount -t cifs //10.120.1.4/ACTFAX /mnt/ACTFAX -o rw,username=administrator
,password=perfsingle101
029
030 !mkdir -p /mnt/POS.TRANSFER
031 !umount /mnt/POS.TRANSFER
032 !mount -t cifs //10.120.1.4/POS.TRANSFER /mnt/POS.TRANSFER -o rw,username=a
dministrator,password=perfsingle101
033
034 !mkdir -p /mnt/PPGPost
035 !umount /mnt/PPGPost
036 !mount -t cifs //10.120.1.4/PPGPost /mnt/PPGPost -o rw,username=administrat
or,password=perfsingle101
037
038 !mkdir -p /mnt/PSWSPost
039 !umount /mnt/PSWSPost
040 !mount -t cifs //10.120.1.4/PSWSPost /mnt/PSWSPost -o rw,username=administr
ator,password=perfsingle101
041
042 !mkdir -p /mnt/saves
043 !umount /mnt/saves
044 !mount -t cifs //10.120.1.4/saves /mnt/saves -o rw,username=administrator,p
assword=perfsingle101
045
046 START.RTC
047 Z CLEAR-JOBS
048 LOGON-LOCK (F
049 trap dcd exit (f
050 set-runaway-limit 50000
051
052 comment odbc-setup start
053
054 comment stop system check
055 syschk stop
056
057 comment Resize pm.programs in case it was not done on the last upgrade.
058 resize pm,, 503
059 resize pm.programs,, 503
060 resize runtime-errors 5003
061 resize jobs 2003
062 resize pointer-file 7001
063
064 F-RESIZE (U]N
065
066 COMMENT 280 dm PM 08:09:42 17 Dec 2010 MAIN.MENU
067 Z]PM]PM]FLUSH.SYNC.SLEEP]]]
068 COMMENT 1 dm PM 09:44:57 18 Dec 2010 BATCH.PROC.DRIVER
069 Z]PM]PM]SHL BATCH.PROC.DRIVER]]]
070 Z]PM]PM]SHL CALC.DLY.TOTALS]]]
071 Z]PM]pm]SHL COL.TRANSFER.POS]]]
072 Z]PM]pm]GET.EPO.RESULTS.SLEEP]]]
073 Z]PM]pm]SEND.OC.SLEEP]]]
074 Z]PM]pm]GET.DUR.SLEEP]]]
075
076 EXIT