# # Sample configuration file for Hercules ESA/390 emulator # #------------------------------------------------------------------------------ # CPU Configuration #------------------------------------------------------------------------------ CPUSERIAL 002623 # CPU serial number CPUMODEL 2097 # CPU model number MODEL EMULATOR # STSI returned model PLANT ZZ # STSI returned plant MANUFACTURER HRC # STSI returned manufacturer LPARNAME HERCULES # DIAG 204 returned lparname CPUVERID FD # CPU Version Identification MAINSIZE 2048 # Main storage size in megabytes XPNDSIZE 0 # Expanded storage size in megabytes NUMCPU 2 # Number of CPUs ARCHMODE z/Arch # Architecture mode S/370, ESA/390 or z/Arch # ALRF DISABLE # ASN-and-LX-Reuse facility ECPSVM NO # VM Assist : NO or Level (20 recommended) #------------------------------------------------------------------------------ # OS Tailoring #------------------------------------------------------------------------------ LOADPARM 0120.... # IPL parameter OSTAILOR LINUX # OS tailoring SYSEPOCH 1900 # Base year for initial TOD clock # TZOFFSET 0 # Using UTC (GMT) #------------------------------------------------------------------------------ # Hercules Service Processor and Hercules Application Window #------------------------------------------------------------------------------ # MODPATH /usr/local/lib/hercules # Where to search for modules # LDMOD dyninst tcpip # Modules to be loaded # LDMOD hdtqeth.so #------------------------------------------------------------------------------ # Hercules Service Processor and Hercules Application Window #------------------------------------------------------------------------------ CODEPAGE default # CodePage conversion table DIAG8CMD disable # OS may not issue commands via DIAG 8 # HTTPPORT 8081 noauth userid password # HTTP server port # HTTPROOT /usr/local/share/hercules/ # HTTP root directory PANRATE FAST # Panel refresh rate #------------------------------------------------------------------------------- # Advanced Hercules Performance Tailoring # # +----------------------------------------------------------------+ # | Caution: Modification of these parameters may adversely | # | affect the performance of the host system | # | and/or Hercules. | # +----------------------------------------------------------------+ #------------------------------------------------------------------------------- # HERCPRIO 0 # Hercules process runs at Normal priority # CPUPRIO 15 # CPU thread(s) run at Low priority # DEVPRIO 8 # Device thread(s) run at Below Normal priority # TODPRIO -20 # TOD Clock and timer thread are Time Critical #------------------------------------------------------------------------------- # Integrated Hercules I/O Controller # # DEVTMAX 0 # Device threads, 8 on Windows, else unlimited CNSLPORT 3270 # TCP port number to which consoles connect # SHRDPORT 3990 # TCP port number for sharing DASD images on # this instance of Hercules (inactive) # .-----------------------Device number # | .-----------------Device type # | | .---------File name and parameters # | | | # V V V # ---- ---- -------------------- 0009 3215-C / noprompt 000C 3505 images/kernel.img images/generic.prm images/initrd.img autopad 001F 3270 # root's password is "fedora" 0130 9336 dasd/linux-fba.130 # CTC network # run "iptables -t nat -A POSTROUTING -s 192.168.200.0/24 -d 0.0.0.0/0 -j MASQUERADE" # for allowing the Fedora VM to access external networks 0600 3088 CTCI /dev/net/tun 1492 192.168.200.3 192.168.200.4 255.255.255.255 0601 3088 CTCI /dev/net/tun 1492 192.168.200.3 192.168.200.4 255.255.255.255