Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Register Memory

Status
Not open for further replies.

Brewdude

IS-IT--Management
Jul 23, 2001
4
US
I am running 256mgs of memory on our 3.2 server and have it registered with the following command:

REGISTER MEMORY 1000000 F000000

I am going to upgrade to 512 mgs of memory, any idea on what the hex converion is for 512mgs?
 
Dear Brewdude,

Below is the way you calculate the memory for novell server.
This is Novell Document for server 3.12. But the procedure is same for 3.x.
------------------------------------------------------------
There are 3 groups of things you need to do to register memory manually on an NW 3.x server.
1. Edit the startup.ncf file

2. Edit the autoexec.ncf

3. Move the autoexec.ncf to the boot partition

Editing the startup.ncf
There are 2 specific lines needed in the startup.ncf file and one to remove. First you will need to rem out the load line for you disk drivers, you will be adding them to your autoexec.ncf. Then you need to make sure the following to lines are present in the startup.ncf file, they are:
set auto register memory above 16 megabytes=off

set reserved buffers below 16 meg=200
Auto and register are 2 words, 16 must be numerals and not sixteen, megabytes and meg must be spelled out or abbreviated in their respective lines just as shown in the example, and it doesn't matter if there is a space before or after the = sign.
Editing the autoexec.ncf
When registering memory manually in NW 3.x the first few lines are key in whether this will work or not. If your file server name was FS1, the interenal ipx number was abc123, you have 128 meg of memory, and you are using and IDE drive then your autoexec.ncf file will look something like this:
file server name FS1

ipx internal net abc123

register memory 1000000 7000000

load ideata.ham

mount sys
In the register memory statement the 1000000 represents 16 meg in hex and the 7000000 represents 112 meg in hex. You will need to calculate the second number based on how much memory you have in your server. There are several shortcuts to calculating that second number but here is the sure fire formula:
total memory - 16 x 1024 x 1024 = Y ; then convert Y into hex

example: 128 - 16 = 112 ; 112 x 1024 x 1024 = 117440512 ; converted to hex is 7000000

The calculator in windows will work beautifully in scientific mode.
Netware requires memory to mount volumes. You may have 512 meg of memory and 24 gig of hard drive space, but if you do not have the register memory command before loading the disk driver you will be trying to mount 24 gig with only the first 16 meg of memory and for 24 gig that isn't enough. When we register the rest of the 512 meg of memory it will work fine.
When you load disk drivers in the startup.ncf file sys mounts automatically, when you load disk drivers in the autoexec.ncf this isn't the case. You will need to mount at least SYS so the rest of your autoexec.ncf file can run.
Moving the autoexec.ncf file to c:\server.312
server.312 is the default directory used as the server boot directory. If you are useing the root of C or another directory to boot the server you will need to take that into account when refering to the server.312 directory. Using anything other then server.312 is HIGHLY discouraged.
Because we are NOT loading disk drivers in the startup.ncf file the server will not be able to mount sys and find the autoexec.ncf, so we move that autoexec.ncf file to C:\server.312. There is no other parameter needed. The server will automatically find the autoexec.ncf file in the boot directory if it is there.
When doing this the thing many people forget to do is copy the autoexec.ncf file to a floppy before downing the server. If you down the server before getting a copy of autoexec.ncf on a floppy you will need to go back in and get it by either loading lan drivers manually or temporarily un-reming the disk drivers in the startup.ncf.
It is recommended that you remove the autoexec.ncf file all together from sys:system. Some people like to have that autoexec.ncf file say only one thing: ***ALL CHANGES TO THE AUTOEXEC.NCF FILE MUST BE MADE TO C:\SERVER.312AUTOEXEC.NCF *** This allows future administrators to know that the memory is being registerd manually.
>From here on out you can edit the autoexec.ncf file from the server console by typing:
load edit c:\server.312\autoexec.ncf


Please let me know if this document solved your problem. From:
Apoorva Gala
You can mail me at apoo1972@rediffmail.com
 
Unfortunately with a Compaq Proliant, you must register the memory in order to load it.

I was able to convert the 384mb to hex using 17000000 and all is working well.

thanx for your input.
 
FYI !

This is Just in case if any body else need the information. In my previous reply I have givin the formula for calculating the register memory statement.

IMPORTANT:
-----------

Now a days motherboards come with on board display memory.
So substract the amount of display memory from actual memory before calculating the final figure.

Ex: This is with 128 MB ram and 1 mb of display memory.

So that would bring the actual memory available to server would be 127 MB

example: ((128-1) - 16)= 111 ;

So,
111 x 1024 x 1024 = 116391936 ;
converted to hex is 6F00000. From:
Apoorva Gala
You can mail me at apoo1972@rediffmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top