Loading Protected Address Spaces

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

To load protected address spaces, use the commands in the following table at the System Console prompt or in NetWare Remote Manager on the Address Space Information page (access by clicking Protected Memory link in the navigation frame).

To Enter this command at the System Console prompt Do this on the Address Space Information Page of NetWare 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. (Optional) If you want to view the System Console screen when the module loads, check the Display System Console for Module Load check box.
  3. Click the Load Module Protected button.

[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 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. (Optional) If you want to view the System Console screen when the module loads, check the Display System Console for Module Load check box.
  3. Click the Load Module Protected button.

  4. (Optional) If you want to change the restart state to No, click the Yes button 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.

If the address space abends, the system will shut down the space, restart the space automatically, and reload 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. (Optional) If you want to view the System Console screen when the module loads, check the Display System Console for Module Load check box.
  3. Click the Load Module Protected button.

  4. (Optional) If you want to load more than one module in the same space, repeat Steps 1 through 3 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_filename in the Load NCF File Protected field.
  2. (Optional) If you want to view the System Console screen when the module loads, check the Display System Console for NCF Execution check box.
  3. Click the Load NCF File Protected button.

PROTECT LOAD_DB

Creates an address space called LOAD_DB and executes LOAD_DB.NCF to load modules into the protected space.



Previous | Next