skip book previous and next navigation links
go up to top of book: HP OpenVMS Alpha Partitioning and Galaxy Guide HP OpenVMS Alpha Partitioning and Galaxy Guide
go to beginning of chapter: Creating an OpenVMS Galaxy on an AlphaServer ES40... Creating an OpenVMS Galaxy on an AlphaServer ES40...
go to previous page: Step 3: Upgrade the Firmware Step 3: Upgrade the Firmware
go to next page: Step 5: Initialize the System and Start the Console DevicesStep 5: Initialize the System and Start the Console Devices
end of book navigation links

Step 4: Set the Environment Variables  



Configure the primary console for instance 0.

CPU0 is the primary for instance 0. CPU1 is the primary for instance 1.

The following example is for an AlphaServer ES40 with three CPUs and 512 MB of memory divided into 256 MB + 192 MB + 64 MB:

P00>>> set  lp_count            2
P00>>> set  lp_cpu_mask0        1
P00>>> set  lp_cpu_mask1        6
P00>>> set  lp_io_mask0         1
P00>>> set  lp_io_mask1         2
P00>>> set  lp_mem_size0        10000000
P00>>> set  lp_mem_size1        c000000
P00>>> set  lp_shared_mem_size  4000000
P00>>> set  console_memory_allocation new
P00>>> set auto_action halt
If you have four CPUs and you want to assign all secondary CPUs to instance 1, the LP_CPU_MASK1 variable will be E. If you split the CPUs between both instances, CPU 0 must be the primary for instance 0, and CPU 1 must be the primary CPU for instance 1.

The following example shows LP_CPU_MASK values for secondary CPU assignments with primary CPUs:

Assign secondary CPU 2 with primary CPU 0 and secondary CPU
3 with primary CPU 1.
 
>>>set lp_cpu_mask0 5
>>>set lp_cpu_mask1 A
 
 
CPU Selection                         LP_CPU_MASK
 
0(primary partition 0)                2^0 =   1
1(primary partition 1)                2^1 =   2
2(secondary)                          2^2 =   4
3(secondary)                          2^3 =   8
The MEM_SIZE variables depend on your configuration and how you want to split it up.

You must set the console environment variable AUTO_ACTION to HALT. This ensures that the system does not boot and that you are able to enter the LPINIT command.


go to previous page: Step 3: Upgrade the Firmware Step 3: Upgrade the Firmware
go to next page: Step 5: Initialize the System and Start the Console DevicesStep 5: Initialize the System and Start the Console Devices