| VMS
FAQ Also see the Digital FAQ or ask the Wizard Startup Networking
Configuration
TroubleShooting
General
Bootup Options
L.A.T. not started on machine$ mc sysman set env/node=<node> %SYSMAN-I-ENV, current command environment: Individual nodes: <node> do @sys$common:[sysmgr]ltload.com "<node>" "FASTWIRE dev" %SYSMAN-I-OUTPUT, command execution on node <node>
Using accounting$ show accounting to see state of accounting $ set account/enable=(image,subprocess) enable elements of accounting $ account/since=today see accounting for today
Setting port charactistics$ set host/mop <server> # ACCESS Enter User> xxx Local> set priv PASS> SYSTEM Local> set port <port no> <command> To exit <Ctrl-D>
Starting diskquotas on a new disk$ run sys$system:diskquota diskquota> use <new disk> diskquota> create diskquota> rebuild
Process StatesRWASTRWAST is a Resource Wait for and AST-related event (AST Asyncronus Type) Reasons for going into state are
Rebuild disk quotas$ run sys$system:diskquota diskquota> use <disk> diskquota> rebuild Ethernet PortFor general information, enter the command ncl> show csma-cd station * all
TCPWareCreating and Deleting$ telnet <ip address> <listener>/create/timeout=30/log=temp The tna device name cannot be specified and the device is given $ deallocate <device> To delete a nta device UCXInitial Configuration@sys$manager:ucx$config all enable Will have to enter domain, ip address and subnet mask HostsTo show all hostsUCX> show hosts (/local) /local will only show hosts in host table To add a hostUCX> set host "<name>"/addr=200.200.200.2/alias=<name> To remove a hostUCX> set nohost "<name>" Address Resolution ProtocolARP is used to translate an ip-address to a physical ethernet address. It keeps a cache for twenty minutes To show the ARP table UCX> show arp
Remove ARP table entry UCX> set noarp ip-address NFSSetupFirst ensure all hosts that will be a NFS client are entered in the host database UCX> set host "galactus"/addr=200.200.200.2/alias=galactus Ensure that the NFS and PCNFS services are enabled UCX> show service If the services are not enabled run @sys$manager:ucx$config and enable NFS and PCNFS. Add
the default proxies and one for the user logon UCX> add proxy ucx$nobody/uid=-2/gid=-2/host=* UCX> add proxy john_s/uid=5/gid=5/host=* Setup up the maps for devices UCX> map "/dka200" dka200: (and set config map to make perm) Create Exports for directories on the disk Should now be able to NFS from a client TroubleshootingUse
the TCPIPTRACE to see what is happening, e.g. to trace the PCNFS server Domain Name ServerConvert the local host file to a name resolution table forward translationUCX> convert/ultrix bind/domain=savilljohn.com/log reverse translationUCX> convert/ultrix bind/domain="74.234.158.in-addr.arpa" the first three bytes of the IP address are given in reverse, i.e. the correct ip address is 158.234.74.xxx ShowUCX> show service bind/full Create the bind boot file for primaryUCX> set config bind/primary=domain="savilljohn.com" UCX> set config bind/primary=domain="74.234.158.in-addr.arpa" UCX> set config bind/primary=(domain="0.0.127.in-addr.arpa",file=named.local) UCX> set config bind/cache allow caching
For secondaryUCX> set config bind/secondary=(domain="savilljohn.com",host=<primary>) UCX> set config bind/secondary=(domain="74.234.158.in-addr.arpa",host=<primary>) UCX> set config bind/secondary=(domain="0.0.127.in-addr.arpa",file=named.local) UCX> set config bind/cache
For the clients and server to tell about the serverUCX> set config /domain="savilltech.com" UCX> set config /server=bart UCX> set name/system/enable
To add a new hostUCX> set host galactus/addr=200.200.200.2 UCX> convert/ultrix bind/domain=savilljohn.com/log UCX> convert/ultrix bind/domain="74.234.158.in-addr.arpa" UCX> set name/init RoutingReal devices are ge0,ze0 and se0. It is possible to create pseudo devices that enable a UCX host to have more than 1 IP address. A pseudo device is created which has a letter between the 2nd and 3rd character, e.g. sea0 is a pseudo device for se0. Could have sea1, sea2 etc. The a means it relates to physical device 0, b means 1 etc. To create a pseudo deviceUCX> set init sea0/host=200.200.245.3/net=255.255.255.0/broad=200.200.245.255 Also would need to do config to make addition permanent To make a machine a routerUCX> set protoco ip/forward UCX> stop routing UCX> start routing/supply Permanent UCX> set config start routing/supply UCX> set config ip/forward GatewayTo configure a gateway UCX> set route <addr with 0 where appropriate>/gateway=<addr>/perm UCX> set route 158.234.24.0/gateway=158.234.24.1/perm Creating and Deleting$ telnet/create <ip address> <listener> <number of tna> e.g. $ telnet/create 172.20.1.24 2004 11 would create tna11: on ip 172.20.1.24 using listener 2004 $ telnet/delete <number of tna> e.g. $ telnet/delete 11 TCP/IP trace$ tcpiptrace/full xxx.xxx.xxx.xxx /port=remote=<listener> /protocol=ip /packets=100 By default 100 buffers are used, but if more are needed can use /buffers=200 Also when using trace need to increase WSQuota to 2048, and may need to logout if a trace fails as it does not free up resources. On trace CR is 0A(10), LF is 0D(13) LATCPStarting@sys$manager:ltload.com "<node>" "<service comment>" Stoppinglatcp> set node/state=off Errors with VMSsystem-f-gbtfull Global Page Table FullGlobal sections are needed to map the Global Pages and the ratio should be around 1:150 $ mc sysgen sysgen> use current sysgen> show gblpages sysgen> show gblsections $ install list/global/sum Problems with a processCan issue command $ show proc/quota/id=xxxxxx which will show the quotas of a process. A more advanced mechanism is to use the system analyser $ analyze/system SDA> show summary same as a show system SDA> set process <process name> SDA> show process/pcb show all quotas and states SDA> show process/channel show all images used and devices VMSinstal alternate working directoryTo perform VMSinstal using another temporary area use the following command $ @sys$update:vmsinstal fswire90b mkb700: options awd=$disk:[temp] Break into a VAX
The above attack can be stopped if the system manager creates a file called SYSUAFALT.DAT which is the file used when uafalternate is set to 1. A more general break in is to perform a conversational bootup, and type set startup opa0: , and type spawn which will then allow you to have the SYSUAF file before anything else starts. Harware address of VaxPhase IV $ mc ncp show line xxx-0 char Phase V $ mc ncl show CSMA-CD station * ALL STATUS Connecting to Terminal ServersDefined in the file sys$manager:dsv$server_define.com To connect $ set host/mop <server name> Versions of softwareDECnetTo get version for decnet phase IV $ write sys$output f$getsyi("decnet_version") To get version for decnet phase V (O.S.I.) $ mc ncl show implementation Printer LA75 setup
AutogenChanges to modparams.datTo enable changes to modparams.dat $ @sys$update:autogen getdata reboot nofeedback To create autogen report$ @sys$update:autogen savparams testfiles generates a file sys$system:agen$params.report which new recommendations View files open on a disk$ show dev $1$dia0:/files Adding queuesBatch queue$ init/queue/autostart_on=(node::)/base=3/cpumax=08:00:00/job_limit=3/- _$ owner=[system] /port=(s:e,o:d,g:r,w:w)/wsdefulat=500/wsextent=2000/ - _$ wsquota=1000/batch/start node_batch Spawning out a process for a user$ spawn/out=<term>/in=<term>/nowait Setting a MSMAIL forwardmail> set forward/user=<user> "MX%""name@logica.com""" Disabling Event Dispatcher on a node$ mc ncl NCL> disable event disp out stream * NCL> disable event disp sink * NCL> delete event disp out stream * NCL> delete event disp sink * How do I change the default protections for files in a directory?$ set security/acl=(default_protection,s:rwed,o:rwed,g:rwed,w:rwed)/log <directory> How do I stop users from logging on to the console?The best option is to edit sys$manager:sylogin.com and add the following to check the terminal name and then if opa0: check against a list of authorized users: $
TERMINAL=F$TRNLNM("TT") - "_" - ":" |
Last Update: Friday, December
28, 1998
Copyright ©1998 SavillTech Ltd. All rights reserved.
Terms of use