3.4 Loading Protected Address Spaces

You can create a protected address space when you load one or more modules.

Figure 3-10 Protected Memory Page in Novell Remote Manager

To load protected address spaces, use the commands in the following table at the System Console prompt or in the Memory Protection Console Interface fields on the Protected Memory page in Novell Remote Manager (accessed by clicking Protected Memory under the Manage Applications heading in the navigation frame).

Table 3-9 Procedures for Loading Protected Address Spaces

To

Enter this command at the System Console prompt

Do this on the Protected Memory Page of Novell Remote Manager

Example

Load one module into the next available protected address space.

[load] protected module_name

  1. Type module_name in the Load Module Protected field.

  2. Click Load Module Protected.

[load] protected database.nlm

Creates a new address space called address_spacen, where n is a numerical number, and loads database.nlm into it.

Load one module into the next available protected address space with restart functionality.

  • Restart functionality means that if the protected space abends, the system closes the space, cleans up its resources, restarts the space, and then reloads the module into it.

  • To prevent the server from restarting a memory space that continues to fault, use the Memory Protection No Restart Interval SET parameter (Memory category).

[load] restart module_name

  1. Type restart module_name in the Load Module Protected field.

  2. Click Load Module Protected.

  3. (Optional) If you want to change the restart state to No, click Yes in the Restartable column of the Address Space Information table.

restart database.nlm

Creates a new address space called address_spacen, where n is a numerical number, and loads database.nlm into it.

Load one module into a protected space with a user-defined name.

  • Use this command when you want to create your own name for the space.

  • Also use this command when you want to load more than one module into the same protected space.

  • Repeat the command for each module you want to load into the space.

  • You can also include the restart option on the same command line.

[load] address space = space_name module_name

  1. Type address space = space_name module_name in the Load Module Protected field.

  2. Click Load Module Protected.

  3. (Optional) If you want to load more than one module in the same space, repeat Steps 1 and 2 for each module you want to load.

[load] address space = db_space database.nlm

Creates a new address space called db_space and loads database.nlm into it.

[load] address_space = db_space restart test.nlm

Loads test.nlm into the db_space address space and also adds restart functionality to the address space.

[load] address space = db_space test.nlm

Loads the test.nlm in to the same db_space address space that the database.nlm was loaded into.

Load multiple modules at once using an .ncf file.

The command creates a protected space with the same name as the .ncf file and executes the .ncf file to load all the modules into the space.

protect filename

  1. Type NCF_filenamein the Load NCF File Protected field.

  2. Click Load NCF File Protected.

protect load_db

Creates an address space called load_db and executes load_db.ncf to load modules into the protected space.