VIRTUTECH CONFIDENTIAL    Previous - Up - Next

3   Simulated Machines

Simics scripts for starting Serengeti machines are located in the [workspace]/targets/serengeti/ directory, while the actual configuration scripts can be found in [simics]/targets/serengeti/.

3.1   Abisko

Abisko is a Sun Fire 6800 server with a single UltraSPARC-III Cu processor running at 75 MHz, and 256 MB of memory. It has one Ethernet adapter, one SCSI disk and one SCSI CD-ROM. The default configuration can be modified as described in section 3.3. An operating system must be installed on abisko before it can be used.

3.1.1   Abisko Scripts

abisko-common.simics
Starts the Abisko machine with the default configuration.
abisko-gcache-common.simics
Default Abisko machine with a g-cache cache model connected.
abisko-ma-common.simics
Default Abisko machine with a simple processor timing model connected. Simics must be stared in MAI mode (-ma) to run this script.
abisko-ooo-common.simics
Default Abisko machine with a simple out-of-order timing model connected. Simics must be stared in MAI mode (-ma) to run this script.
abisko-multi.simics
Example script with two Abisko machines in the same session, connected by an Ethernet link.
abisko-sol<version>-cd-install1.simics
Script for installing Solaris on the simulated machine, phase 1. <version> is one of 8, 9 and 10.
abisko-sol<version>-cd-install2.simics
Script for installing Solaris on the simulated machine, phase 2. <version> is one of 8, 9 and 10.
abisko-sol<version>-cd-install3.simics
Script for installing Solaris on the simulated machine, phase 3. <version> is one of 8, 9 and 10.

3.2   Sarek

Sarek is a Sun Fire 6800 server with a single UltraSPARC-III Cu processor running at 75 MHz, and 256 MB of memory. It has one Ethernet adapter, one SCSI disk and one SCSI CD-ROM. The default configuration can be modified as described in section 3.3.

The Sarek machine is configured for existing Solaris 8, 9 or 10 disk dumps. The disk dumps are only available for commercial customer with a special license agreement with Sun. Some common GNU utilities are installed on the disk images, such as bash, gcc, gmake and emacs. The SimicsFS file-system is also included.

Additional information:

3.2.1   Sarek Scripts

sarek-common.simics
Starts the Sarek machine with the default configuration.
sarek-dhcp-common.simics
Similar to sarek-common.simics, but gets the host name and IP address from the DHCP server.
sarek-gcache-common.simics
Default Sarek machine with a g-cache cache model connected.
sarek-ma-common.simics
Default Sarek machine with a simple processor timing model connected. Simics must be stared in MAI mode (-ma) to run this script.
sarek-ooo-common.simics
Default Sarek machine with a simple out-of-order timing model connected. Simics must be stared in MAI mode (-ma) to run this script.
sarek-multi.simics
Example script with two Sarek machines in the same session, connected by an Ethernet link.

3.3   Parameters for Machine Scripts

The following parameters can be set before running the abisko-common.simics, or sarek-common.simics scripts. Other .simics scripts may set some of the parameters unconditionally, and do not allow the user to override them. For example, the sarek-dhcp-common.simics script will always set the $create_network variable to yes.

3.3.1   abisko-common and sarek-common

$create_network
Set to yes if the script should create an Ethernet link and connect the primary Ethernet adapter to it.
$cpu_class
The type of processor to create. Should be one of ultrasparc-iii, ultrasparc-iii-plus, ultrasparc-iv and ultrasparc-iv-plus.
$disk_size
Size of the primary hard disk. This parameter must match any disk images that are added to the primary disk.
$do_boot
Set to no to stop at OBP prompt, without booting the OS.
$do_login
Set to no to prevent the script from logging in as root automatically when the operating system has reached the login prompt.
$eth_link
The Ethernet link to connect the primary Ethernet adapter to. This parameter should be set when a link already exist and the $create_network parameter is no.
$hostid
The hostid for the simulated machine.
$freq_mhz
The clock frequency in MHz for all processors.
$host_name
The host name used by the DHCP and DNS servers for this machine This variable will not change the host name set for the machine on the disk dumps.
$ip_address
The IP address used by the DHCP and DNS servers for this machine This variable will not change any IP address set for the machine on the disk dumps.
$mac_address
MAC address of the primary Ethernet adapter.
$megs_per_cpu
The amount of system memory, in MB, for each processor.
$num_cpus
The number of processors in the machine.
$os
The operating system to boot, one of solaris10, solaris9, and solaris8. Requires that a matching disk dump exists.
$rtc_time
Date and time of the real-time clock at boot.
$service_node
The service node to use for DHCP and DNS. This parameter should be set when a service noce already exist and the $create_network parameter is no.

VIRTUTECH CONFIDENTIAL    Previous - Up - Next