$!++ $! FACILITY: $! NEWS_STARTUP.COM-TEMPLATE $! $! AUTHOR: $! Geoff Huston $! Copyright © 1988,1989,1990 $! $! FUNCTIONALITY: $! This file can be used as a template for the command procedure used to $! define NEWS logical names. $! $! The edited command file should be called at system boot time from the $! (cluster common) systartup command procedure. $! $! Version: $! V6.0 13-Sep-1990 GIH $!-- $! $! $!NEWS_ROOT REQUIRED FOR LOCAL DATABASE CONFIGURATIONS $ ! $ ! NEWS_ROOT points to the top of the directory hierarchy. Note that as the $ ! underlying directory tree may grow to up to 6 or so levels it is advisable $ ! to site this root directory close to the top of the directory structure $ ! on the device. $ ! $ DEFINE/SYSTEM/EXEC NEWS_ROOT $PUBLIC:[NEWS] $ ! $!NEWS_DEVICE REQUIRED FOR LOCAL DATABASE CONFIGURATIONS $ ! $ ! NEWS_DEVICE points to the same directory as NEWS_ROOT, but is setup $ ! as a concealed device. $ ! $ DEFINE/SYSTEM/TRANS=(conc)/EXEC NEWS_DEVICE DKA0:[PUBLIC.NEWS.] $ ! $!NEWS_MGR_ID REQUIRED FOR LOCAL DATABASE CONFIGURATIONS $ ! $ ! News manager accounts must own this identifier $ ! $ DEFINE/SYSTEM/EXEC NEWS_MGR_ID NEWSMANAGER $ ! $!NEWS_ADDRESS REQUIRED $ ! $ ! This is the Internet-format fully qualified domain name of the node $ ! if relevant, or the name of the cluster alias, or the local node $ ! $ != MULTINET_HOST_NAME $ != INTERNET_HOST_NAME $ DEFINE/SYSTEM NEWS_ADDRESS "SAO.AARNET.EDU.AU" $ ! $!NEWS_NODE OPTIONAL $ ! $ ! This is the name of the local node. Either SYS$CLUSTER_NAME or $ ! SYS$NODENAME (as relevant) is used if this name is not defined. $ ! $ != SYS$CLUSTER_NAME $ != SYS$NODENAME $ DEFINE/SYSTEM NEWS_NODE "SAO" $ ! $!NEWS_PATHNAME OPTIONAL $ ! $ ! This is the name of the local node used in the Path header. For uucp $ ! sites this is the uucp node name. For other sites it is the node address $ ! value. $ ! $ !~ NEWS_ADDRESS $ DEFINE/SYSTEM NEWS_PATHNAME "SAO.AARNET.EDU.AU" $ ! $!NEWS_ORGANISATION OPTIONAL $ ! $ ! Postings may include an organisation string. This may be defined per $ ! user, but a system wide logical name may be used to provide a system $ ! default value. $ ! $ DEFINE/SYSTEM NEWS_ORGANISATION "Australian National University" $ ! $!NEWS_TIMEZONE REQUIRED $ ! $ ! The definition of the local timezone. The relevant standard for $ ! timezones used within NEWS is RFC822. The RFC822 allows only a few $ ! formats on time zones. If is recommended that either the code "GMT" $ ! is used (if thats where you are) or a signed 4 digit number (hhmm), $ ! corresponding to the time difference between where you are and GMT $ ! is used. e.g +1000 for East Coast Australia, or -0800 for US Pacific $ ! $ DEFINE/SYSTEM NEWS_TIMEZONE "+1000" $ ! $!NEWS_MANAGER REQUIRED $!NEWS_MANAGER_DEV REQUIRED $ ! $ ! The "work directory" for news - normally sys$login of the news manager account $ ! $ DEFINE/SYSTEM/EXEC NEWS_MANAGER SYSDISK:[NEWS_MGR] $ DEFINE/SYSTEM/TRANS=(conc)/EXEC NEWS_MANAGER_DEV CSC3$DUB0:[NEWS_MGR.] $ ! $!NEWS_CACHE OPTIONAL $ ! If you wish to be an NNTP server then caching will imporve the efficiency $ ! of the server operation. You'll need to define the logical NEWS_CACHE $ ! (on one node only of a cluster!) $ DEFINE/SYSTEM/EXEC NEWS_CACHE "Now is the time" ! Must exist for News cache $ ! $ ! How to create the cache : $ ! $ mcr sysgen $ ! create news_root:news.cache/size=1400 $ ! $ set proc/priv=sysgbl $ ! $ run cachem $ ! Z ! to reset the cache $ ! $!USENET REQUIRED for server nodes $ ! $ ! USENET - the alias for the local NEWS administrator $ ! Logical names or Mail Forward entries are equally functional. $ ! $ DEFINE/SYSTEM USENET news_administrator $ ! $!NEWSMAIL OPTIONAL $ ! $ ! The USENET standard states that adjacent Unix hosts may be $ ! configured to mail individual news items to this account. $ ! Logical names or Mail Forward entries are equally functional. $ ! It is NOT generally required. $ ! $ DEFINE/SYSTEM NEWSMAIL newsmgr $ ! $!RNEWS OPTIONAL $ ! $ ! The USENET standard states that adjacent Unix hosts may be $ ! configured to mail news batches to the spool account of the $ ! news site. $ ! Logical names or Mail Forward entries are equally functional. $ ! It is NOT generally required. $ ! $ DEFINE/SYSTEM RNEWS newsmgr