Commit | Line | Data |
---|---|---|
920dae64 AT |
1 | Getting Started with SAM |
2 | ======================== | |
3 | ||
4 | SAM provides three wizard scripts to get started with SAM | |
5 | ||
6 | o getsolaris - create a directory with Solaris software | |
7 | o simulate - create a SAM configuration (rc-file) and start SAM | |
8 | ||
9 | These three wizard scripts are in the bin directory of the release. | |
10 | In this document we assume that this bin directory is on your PATH. | |
11 | ||
12 | There are man pages under the man directory of the release. Add the | |
13 | man directory to you MANPATH environment variable to see the man | |
14 | pages for the three wizard scripts. | |
15 | ||
16 | % man getsolaris | |
17 | % man simulate | |
18 | ||
19 | ||
20 | Solaris | |
21 | ======= | |
22 | ||
23 | First get a set of binaries to run Solaris | |
24 | To see which Solaris versions are available do: | |
25 | ||
26 | % getsolaris -p n2 -l | |
27 | ||
28 | This will output something along the lines of | |
29 | ||
30 | Use -v with one of: int12 | |
31 | ||
32 | Then use -v with the version you want to use: | |
33 | ||
34 | % getsolaris -p n2 -v int12 int12 | |
35 | ||
36 | This creates a directory int12 that contains a number | |
37 | of soft-links | |
38 | ||
39 | % cd int12 | |
40 | % ls -l | |
41 | total 42 | |
42 | ... | |
43 | ... 52 Mar 28 16:00 disk1 -> .../disk1 | |
44 | ... | |
45 | ||
46 | If you see the above you are ready to start running SAM. If not then | |
47 | check the error message: is the version correct? does the directory exist? | |
48 | getsolaris expects that the destination directory int12 does not exists. | |
49 | ||
50 | Now start SAM through the wizard | |
51 | ||
52 | % simulate -p n2 -c 1c1t -s -a -v | |
53 | ||
54 | This will create a SAM n2 configuration for the 1c1t (one strand) | |
55 | machine description (md). The -s option tells simulate to boot | |
56 | solaris, -a tells simulate to auto boot obp followed by solaris, | |
57 | and -v tells simulate to boot solaris in verbose mode. | |
58 | ||
59 | At the SAM prompt 'sam>>>' type run, and this should take you to | |
60 | the solaris login prompt. Login as root. | |
61 | ||
62 | A bigger configuration can be booted with | |
63 | ||
64 | % simulate -p n2 -c 1c2t -w2 -s -a -v | |
65 | ||
66 | using a two strand md (cpu0 and cpu2) and two worker threads. | |
67 | Make sure you use -w P on a machine with P or more cpus. |