4    Using the AlphaServer Partition Wizard

The AlphaServer Partition Wizard (APW) is a graphical application that simplifies the creation and management of partitions on AlphaServer ES47/ES80/GS1280 and GS80/GS160/GS320 platforms. The following topics are discussed:

4.1    APW Overview and Start Up

The APW runs on the AMS and, through a series of windows, enables you to work with partitions without having to know anything about the console commands involved. The APW works with both hard and soft partitions:

Whenever APW changes your hardware's configuration, it also changes the AMS configuration by adding, modifying and removing consoles as needed to match your partition configuration.

Before attempting to run the APW, make sure your system meets the installation requirements described in installation instructions.

4.1.1    Accessing the APW

You can run APW in two ways:

4.1.2    APW Features

The following list describes a few APW features. Detailed information is provided later in this chapter.

4.1.3    ES47/ES80/GS1280 and GS80/GS160/GS320 Platform Differences

You can use APW to create or modify partition maps for ES47/ES80/GS1280 and GS80/GS160/GS320 platforms. Although the process for doing so is similar, you will see some differences.

The principal difference is that on ES47, ES80, and GS1280 platforms, the partition map assigns each of the platform's Dual processor Module (Duo) to a partition. On GS80, GS160, and GS320 platforms, the partition map assigns Quad Building Blocks (QBBs) to a partition. Figure 4-1 shows the Resources window for GS80, GS160, and GS320 platforms and Figure 4-2 shows the Resources window for ES47, ES80, and GS1280 platforms. See Section 4.2.2 for information about the Resources window and the differences between to two platform series.

Figure 4-1:  QBB Resources Window

Figure 4-2:  Duo Resources Window

In this chapter, when the text and figures refer to duos and ES47, ES80, and GS1280 platforms, those references also pertain to QBBs and GS80, GS160, and GS320 platforms unless otherwise indicated.

The following list describes other differences you need to be aware of when working with the two different series of platforms:

4.2    Working with Partition Maps

When you invoke APW, the Current Partition Map for the selected platform is displayed (Figure 4-3). A warning message alerts you if the console for the selected platform is in use.

Selecting Resources... from the Current Partition Map brings up a new window that provides a graphical view of the Dual Processor Modules (duos) or Quad Building Blocks (QBB) assigned to each partition and displays information about them. In some cases, the duo shown may contain a duo filler module or may represent an empty duo slot. Figure 4-2 and Figure 4-1 show the Resource window for both platforms.

You move from the Current Partition Map window to the Work with Partition Maps (Figure 4-4) window, where you chose whether to modify an existing map or create a new one.

From within the Create or Modify a Partition Map (Figure 4-5) you can validate the configuration you selected, save your partition map to a file, and apply the map to your system.

The following sections describe the Current Partition Map window, the Resources window, the Work with Partition Maps window, and the Create or Modify a Partition Map.

4.2.1    The Current Partition Map Window

The Current Partition Map window (Figure 4-3) provides information about the partitions on the platform you selected. It is the starting point for using the AlphaServer Partition Wizard.

Figure 4-3:  Current Partition Map

The display fields for partitions in the Current Partition Map window are as follows:

You can cause the APW to rediscover the partitions and update platform information by selecting the Refresh Button.

4.2.2    The Resources Window

The Resources window (Figure 4-2 and Figure 4-1) provides a graphical view of the Dual Processor Module (duo) or Quad Building Block (QBB) assigned to each partition and displays information about them. You launch this window from the Current Partition Map and can keep it on your desktop as you move through the partition wizard. As you modify a partition map, the changes are reflected in the Resources window.

Each box at the top of the Resources window represents a duo or QBB, with a color representing the hard partition for that slot. The duo slot may contain a duo or a filler module, or it may be empty. A smaller box in the upper left corner displays the number assigned to the partition, with number 0 assigned to the first partition. A U indicates that the duo is unassigned.

The area below the duo grid displays information about the selected duo slot. You select a duo or QBB by moving to it via the mouse, the tab key, or the arrow keys and clicking on it. Selecting a duo or QBB shows the following information:

The columns of the Resources area of the window contain the following fields:

4.2.3    The Work with Partition Maps Window

From the Current Partition Map window, select Next to bring up the Work with Partition Maps window (Figure 4-4).

Figure 4-4:  Work with Partition Maps Window

In this window, you can perform one of the following actions:

After choosing the task you want to perform, press Next. The next window you see depends upon whether you selected to modify the current partition window or create a new one.

4.2.4    The Create or Modify a Partition Map Window

You see the Create or Modify a Partition Map window (Figure 4-5) when you modify the current partition map or load an existing one.

Figure 4-5:  Create or Modify a Partition Map Window

From this window, you can add, modify, or delete a partition, and bring up the Resources window. The following buttons are also on this window:

4.3    Modifying a Partition Map

If you choose to modify the current partition, click on the Modify the current partition map radio button and click Next. This will bring up the Create or Modify a Partition window (see Section 4.2.4), which contains a list of your current partitions.

Partitions running an operating system are disabled if you choose to modify the current partition map. Choose Modify the current partition map if:

From this window you can choose to add new partitions, modify existing partitions, or delete partitions.

None of the changes you make take effect until you commit them. (See Section 4.5.)

4.3.1    Adding a Hard Partition

When you add a hard partition, you must select the duos or QBBs that will be assigned to the partition. You can select a duo or duo filler even if it is currently assigned to another partition. (Figure 4-6).

Figure 4-6:  Add a Partition

You add a partition as follows:

  1. In the box on the left, select the resources that you want to move to a new partition. You do this by highlighting a duo or QBB and clicking on Add.

  2. Continue moving duos or QBBs from the left box to the right until you have the configuration you want.

  3. Look at the icon below the right-hand box. An X icon indicates a problem with your proposed partition. The problem is described as follows:

    Select different duos or QBBs by using the Add and Remove buttons until the icon turns to a check mark and says "The hardware requirements for a valid partition have been met."

  4. Type in a console name for the partition.

  5. Select the operating system that will run on the partition.

For ES47, ES80, and GS1280 platforms only:

  1. Type in a name for the partition. This will enable the firmware to identify the partition.

  2. Depending upon your system needs, you can use the following optional characteristics:

For ES47/ES80/GS1280 and GS80/GS160/GS320 platforms:

  1. Select OK to return to the Add or Modify a Partition Map window.

  2. See Section 4.5 for information about validating, saving, and committing a partition map. See Section 4.3.2 if you want to make changes to the partition you added.

Remember that when you are moving resources out of and into the left-hand box, you are modifying the platform's other partitions. You can see those changes in the Resources window, but they are not reflected by the use of the X and check mark icons below the right-hand box.

4.3.2    Modifying a Partition

To modify a partition, select the partition you want to modify by highlighting it and then click on the Modify... button to bring up the Add or Modify Hard Partition window (Figure 4-7). In this window, the resources of the partition you want to modify are listed in the box on the right, and the resources for all other partitions on this platform are listed in the box on the left.

Figure 4-7:  Modify a Partition

Proceed as follows:

  1. Using the Add and Remove buttons, move the duos or QBBs into or out of the box on the right until the resources of the selected partition meet your needs.

  2. Look at the icon below the right-hand box. An X icon indicates a problem with your proposed partition. The problem is described as follows:

    Select different duos or QBBs by using the Add and Remove buttons until the icon turns to a check mark and says "The hardware requirements for a valid partition have been met."

    Remember that when you are moving resources out of and into the left-hand box, you are modifying the platform's other partitions. You can see those changes in the Resources window, but they are not reflected by the use of the X and check mark icons below the right-hand box.

  3. Depending upon your system needs, you can use the following optional characteristics when modifying a ES47, ES80, or GS1280 platform:

  4. Press OK to return to the Add or Modify a Partition Map window.

See Section 4.5 for information about validating, saving, and committing a partition map. See Section 4.3.2 if you want to make changes to the partition you added.

4.3.3    Creating Soft Partitions

Each ES47, ES80, and GS1280 partition has a default soft partition on which the operating system runs. GS80, GS160, and GS320 do not have a default soft partition.

If you are running OpenVMS Galaxy, your partitions can have multiple soft partitions. The procedures for creating and modifying soft partitions are similar to the procedures you follow to create or modify hard partitions.

When you add a soft partition to an ES47, ES80, or GS1280, the default soft partition (Default_SP) is automatically removed.

The following steps show you how to create two soft partitions from the default soft partition. The steps are similar if the soft partition is not Default_SP.

  1. Highlight the platform you want to work with and open the APW.

  2. After APW finishes its discovery stage, the Current Partition Map window is displayed. Click Next. This brings up the Work with Partitions Maps window.

  3. Select Modify the current partition map and click Next. This brings up the Create or Modify a Partition Map window.

  4. Highlight the hard partition for which you want to create a soft partition and click Modify. This brings up the Add or Modify Hard Partition box.

  5. Change OS type to OpenVMS Galaxy. The Soft Partitions... button is made active.

  6. Click on the Soft Partitions... button. This brings up the Soft Partitions and Memory Assignment window.

  7. Click Add... This brings up the Add or Modify Soft Partition window.

  8. Highlight the duos or QBBs you want in the new soft partition and click on Add to move those duos or QBBs to the right-hand box. Continue until you have the resources you want in your soft partition.

  9. If the platform is an ES47, ES80, or GS1280, provide a name for the soft partition and for its console.

  10. Select OK. This returns you to the Soft Partitions and Memory Assignment window. Notice that you have only one partition. On ES47, ES80, or GS1280 platforms, the Default_SP is automatically removed.

  11. You can assign memory to this partition as follows:

    1. To assign shared memory to all soft partitions, specify an amount of memory and click on Apply.

    2. To assign memory to this partition, specify the amount of memory and click on Apply.

    The shared and total memory you assign are displayed in the slider bar. The full width of the slider represents the amount of memory available in the hard partition. You can leave some memory unassigned if any soft partition is set to Automatic memory assignment.

    Note

    On the Soft Partitions and Assigned Memory window, the Mem (MB) column shows the amount of memory that is local to duos or QBBs assigned to the soft partition. This amount of memory is available to the soft partition without Non-Uniform Memory Access (NUMA) delays.

    The Assigned (MB) column shows the amount of memory assigned to the soft partition. When the column's value is listed as Automatic, the firmware calculates the amount of memory assigned to the soft partition.

    For ES47, ES80, and GS1280 platforms, partitions with Automatic assignment display assigned memory as unspecified when viewed at the firmware's MBM command-line interface.

  12. To add the second soft partition, click on the Add button. Repeat the process, utilizing the hard partition's remaining resources.

4.4    Creating a New Partition Map

By choosing to create a new partition map in the Work with Partitions Maps window, you let the APW create a map based on criteria you specify (Figure 4-8).

Figure 4-8:  Partition Map Creation Criteria Window

To enable a field in the Partition Map Creation Criteria window, click in that field's check box. The first check box is enabled by default. Specify your criteria as follows:

  1. Select the number of partitions you want to create.

  2. Specify the minimum number of CPUs that each partition must contain.

  3. Specify if you want to count slots as well as current CPUs.

  4. Specify the minimum amount of memory in megabytes that each partition must have.

After you have enter the required information and click the Next button, you will either be taken to the Create or Modify a Partition Map window (Figure 4-5) or receive a warning message (Figure 4-9).

Figure 4-9:  Warning Message

If you receive a warning message, click the Back button to change the criteria you selected.

If a new map was created, you will receive a message alerting you to the need to modify it in order to provide a name for the partition and its console. The Create or Modify a Partition Map window is displayed. Continue as follows:

  1. Highlight the first partition and click on Modify... This brings you to the Add or Modify Hard Partition window.

  2. Type in a console name where indicated.

  3. Type in a partition name where indicated.

  4. Save or commit the map for that partition as described in Section 4.5.

  5. Repeat the procedure for any other partitions you created.

4.5    Saving, Validating, and Committing a Partition Map

You save, validate, and commit a partition map from the Create or Modify a Partition Map window (See Figure 4-5). The following sections describe these operations.

4.5.1    Saving a Partition Map

You can have multiple partition maps for the same platforms, thereby providing an easy way to configure your system to meet specific needs.

To save a partition map, do the following:

  1. In the Create or Modify a Partition Map screen, click the Save As... button. An information box is displayed.

  2. Supply a file name and, optionally, change the location to which the file is saved. Click Save. A message confirms that the file was saved successfully.

The default file extension is .pmf (partition management file). The default (and recommended) location is /usr/opt/ams/maps. When APW is launched from the AMS Web page, /usr/opt/ams/maps is the only location available for saving or loading a partition management file.

4.5.2    Validating a Partition Map

Before committing or saving a partition map, you can have it checked for any problems by clicking the Validate button. If the map is problem free, you will see the following message:

Otherwise, you will see one or more of the following messages:

Note

In the following list, name represents the name assigned to the partition on ES47, ES80, and GS1280 platforms. Because GS80, GS160, and GS320 platforms do not have names, the number of the platform will appear where name is represented.

The messages you see when validating a partition map will also be displayed when committing a map if you did not fix the problem or if you did not validate the map.

4.5.3    Committing a Partition Map

Committing a partition map applies the map to the system. To do so, click the Commit button. If the map has not been saved to a file, a message is displayed asking you to do so.

Before committing the map, APW first validates the configuration. If it finds any of the warnings listed in Section 4.5.2, you are prompted to respond Yes or No on whether you want to commit. If it finds any of the errors, you will be prevented from committing a map.

When the commit is accepted, it applies the map to the system and restarts the system. A status box shows the progress of the commit (Figure 4-10) and the commit status is written to the log file. (See Section 4.6.)

Figure 4-10:  Commit Status Window

After the map is committed, the commit is confirmed with the display of the Committed Partition Map window (Figure 4-11.)

Figure 4-11:  Committed Partition Map Window

4.6    Managing APW Files

APW creates log files and partition map files.

The APW log file contains a record of the transaction information and any errors that occur as the application runs. The file is saved to the folder /usr/opt/ams/logs. It creates a new log file for every session, but keeps only the 10 most recent files.

The naming convention for log files is apwlog-yyyy.mm.dd-s.txt, where yyyy is the year, mm the month, dd the day of the month, and s is the session. For example, if you use APW twice on May 21, 2003, the name of the log file for the second session is apwlog-2003.05.21-2.txt.

The information type for each entry is listed in brackets. This is for ease of sorting and processing.

APW partition map files are written to /usr/opt/ams/maps. This is done when you select the Save As... button and provide a file name. The default extension is .pmf.