[Simh] SIMH VAXcluster on Raspberry Pi - some crucial files

Will Senn will.senn at gmail.com
Tue Feb 16 10:52:07 EST 2016


Thanks for the notes, Wilm. It may be a while before I put 'em to use, 
but they are in my archive now!

On 2/16/16 1:18 AM, Wilm Boerhout wrote:
> Below, as promised, some crucial files that I used to bring up my 
> PiCluster. YMMV.
> You could meke all Pi's and VAXen in the cluster identical, just 
> changing node names and network (MAC,DECnet,IP) addresses.
>
> /Wilm
>
> ===== Raspbina wheezy/jessie /etc/rc.local =====
>
> #!/bin/sh -e
> # This script is executed at the end of each multiuser runlevel.
>
> exec 2> /var/log/rc.local.log   # stderr to logfile
> exec 1>&2                       # stdout as well
> set -x                          # set verify :-)
>
> # get current IP params
> HOSTIP=`ifconfig eth0 | grep "inet addr" | gawk -- '{ print $2 }' | 
> gawk -F : -- '{ print $2 }'`
> HOSTNETMASK=`ifconfig eth0 | grep "inet addr" | gawk -- '{ print $4 }' 
> | gawk -F : -- '{ print $2 }'`
> HOSTBCASTADDR=`ifconfig eth0 | grep "inet addr" | gawk -- '{ print $3 
> }' | gawk -F : -- '{ print $2 }'`
> HOSTDEFAULTGATEWAY=`route -n | grep ^0.0.0.0 | gawk -- '{ print $2 }'`
>
> # Make tun/tap
> tunctl -t tap0 -u root
> ifconfig tap0 up
>
> # Now convert eth0 to a bridge and bridge it with the eth0 interface
> brctl addbr br0
> brctl addif br0 eth0
> brctl setfd br0 0
> ifconfig eth0 0.0.0.0
>
> # fix bridge MACaddress
> ifconfig br0 hw ether 08:00:2B:02:02:02
> # start bridge
> ifconfig br0 $HOSTIP netmask $HOSTNETMASK broadcast $HOSTBCASTADDR up
>
> # set the default route to the br0 interface
> route add -net 0.0.0.0/0 gw $HOSTDEFAULTGATEWAY
>
> # bridge in the tap device
> brctl addif br0 tap0
> ifconfig tap0 0.0.0.0
>
> # load kernel variables from /etc/sysctl.d 
> (https://wiki.debian.org/BridgeNetworkConnections)
> /etc/init.d/procps restart
>
> # mount NAS stuff
> mount -t nfs ODSW48-NAS.local:/shares/Netwerk /mnt/nas
>
> # Start a VAX, Big Brother VAXcluster master member
> screen -admO -S vaxclus -t VAXcluster -h 4096 /opt/simh-master/BIN/vax 
> /opt/simh-master/vaxclus.ini
> sleep 2
> screen -ls
>
> exit 0
>
> ===== simh raspi2.ini =====
> ; for simh V4.0 github (simh-master.zip)
> echo    -----------------------------
> echo        VAXserver 3900 512MB
> echo          Big Brother
> echo    -----------------------------
> echo
>
> ; unused devices:
> set lpt disable
> set rl disable
> set ts disable
>
> ; ka655x is built-in
>
> att nvr /opt/simh-master/BIN/nvram.bin
>
> set cpu 512M conhalt idle=VMS
> set rom nodelay
> set qba autoconfig
>
> ; DZ11 listen on port 10000 for TTA0-TTA3
> echo DZ11 --> TTAn:
> set dz enable
> set dz lines=4
> att dz 10000
>
> ; DUA controller
> set rq0 autosize
> set rq1 autosize
> set rq2 autosize
> att -e rq0 /vdisk/VMSV73.vdisk
> att -e rq1 /vdisk/VXTOOLS.vdisk
> att -e rq2 /vdisk/PAK.vdisk
> set rq3 disable
>
> ; file transfer
> set cr enable
> set cr autoeof
> att -a cr /mnt/nas/xfer.txt
> set cr translation=029
> sho cr
>
> ; MUA tape ctrl
> set tq tk70
> att -e tq /vtape/MUA0.vtape
> set tq1 disable
> set tq2 disable
> set tq3 disable
> sho tq
>
> ; Ethernet
> set xq mac=08:00:2B:19:02:54
> att xq tap:tap0
>
> set cpu noautoboot
>
> echo
> echo    ----------------------------------
> echo    Type "b[oot] cpu" to start the VAX
> echo    ----------------------------------
> echo
> ;boot cpu
>
> ===== VAX/VMS V7.3 MODPARAMS.DAT =====
>
> STARTUP_P2              = "CD"
>
> SCSNODE                 = "PIVAX2"
> SCSSYSTEMID             = 2*1024 + 49 ! DECnet 2.49
>
> VAXCLUSTER              =   1
> MSCP_LOAD               =   1
> MSCP_SERVE_ALL          =   1
> NISCS_LOAD_PEA0         =   1
> INTERCONNECT            = "NI"
> BOOTNODE                = "YES"
>
> ALLOCLASS               =  49
> TAPE_ALLOCLASS          = 249
>
> MAXPROCESSCNT       =    32 ! to keep demand on various resources low
>
> MIN_INTSTKPAGES     =    16 ! for TCPIP
>
> ! Generic tuning:
>
> MIN_CHANNELCNT      =   255
> MIN_ERRORLOGBUFFERS =    14
> MIN_GBLSECTIONS     =   520
> MIN_GBLPAGES        = 30000
>
> ! DECwindows:
>
> MIN_PQL_MPGFLQUOTA = 32768
> MIN_PQL_MASTLM     =   100
> MIN_PQL_MBIOLM     =   100
> MIN_PQL_MDIOLM     =   100
> MIN_PQL_MFILLM     =   100
> MIN_PQL_MBYTLM     =100000
> MIN_PQL_MPRCLM     =    10
> MIN_PQL_MENQLM     =   300
> !MIN_GH_RES_CODE    =  1584 (Alpha ony)
>
> ! for copying into OPA0:
>
> MIN_MAXBUF         = 16384
> TTY_TYPAHDSZ       =   512
> TTY_ALTYPAHD       =  8192
>
> ! for BACKUP
>
> MIN_WSMAX               = 50000
> MIN_PQL_MFILLM          =   300
> MIN_PQL_MWSQUOTA        = 32768
> MIN_PQL_MDIOLM          =   100
> !
> ! see HELP /MESS DME
> !
> MIN_PIOPAGES            =  2048
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh



More information about the Simh mailing list