Operating System - OpenVMS
1753765 Members
6126 Online
108799 Solutions
New Discussion юеВ

Re: sysgen parameter CHANNELCNT not getting changed

 
SOLVED
Go to solution
Srikanth Arunachalam
Trusted Contributor

sysgen parameter CHANNELCNT not getting changed

Hi,

I need to set the value of CHANNELCNT sysgen parameter to a larger value. I perform the following :-
mc sysgem
SYSGEN> USE CURRENT
SYSGEN> USE ACTIVE
SYSGEN> SET CHANNELCNT 2048
SYSGEN> WRITE CURRENT
SYSGEN> WRITE ACTIVE
SYSGEN> EXIT

Is this not a dynamic parameter. I dont see the change in sys$system:params.dat. Please let me know how to make this change permenant.

Thanks,
Srikanth
13 REPLIES 13
Thomas Ritter
Respected Contributor

Re: sysgen parameter CHANNELCNT not getting changed

$mc sysgen
use current
show channelcnt

This will show the value.

Then reboot.
Andy Bustamante
Honored Contributor

Re: sysgen parameter CHANNELCNT not getting changed


Hi Srikanth,

First a few usage notes:
USE CURRENT opens the current parameter file on disk, sys$system:alphavmssys.par for Alphaservers. This is how your system will be configured following the next reboot. Following the next boot, CHANNELCNT should be set to your new values.

USE ACTIVE uses the live system parameters. This is what what your system is running right now.

Although you can set system parameters with SYSGEN, it's not recommended. You should edit sys$system:modparams.dat and add a line like one these:

CHANNELCNT=2048 ! comment date/reason
MIN_CHANNELCNT=2048 ! comment date/reason

Then use SYS$UPDATE:AUTOGEN.COM.

@sys$update:autogen savparams testfile

Review the report file, agen$params.report for warnings, errors, cautions.

Then

@sys$update:autogen setparams (reboot)

MODPARAMS.DAT is the recommended way to make changes and not have a future autogen overwrite your changes. At the very least add the new value for CHANNELCNT to spare some one down the line form having to document changes before tuning the system.

Chapter 1 of the System Manager's vol 2 goes into much more detail. See http://h71000.www7.hp.com/doc/82FINAL/aa-pv5nj-tk/aa-pv5nj-tk.HTMl.

Before you start anything, I'd also recomment creating a copy of the parameter file, sys$system:alphavmssys.par, vaxvmssys.par or ia64vmssys.par.

Andy
If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net
Morcos
Super Advisor

Re: sysgen parameter CHANNELCNT not getting changed

Hi Srikanth,

The params.dat file is created from the getdata phase.During this phase, autogen is getting data from the 3 inputs to autogen and putting them in the params.dat file.

In your case you are not using autogen, you are using sysgen:
to determine if a parameter is dynamic or static you should:
SYSGEN> SHOW CHANNELCNT , if there's a D so it's a dynamic and if no D it's static.

I think that CHANNELCNT is not dynamic , it's a static parameter and the system requires reboot.

also
SYSGEN> WRITE CURRENT , you are saving to alphavmssys.par(alpha server) and not to params.dat.

Hope this helps.
Ziad
Srikanth Arunachalam
Trusted Contributor

Re: sysgen parameter CHANNELCNT not getting changed

Hi,

Thanks for your response. I will modify them and give a reboot of the system.

Many thanks,
Srikanth
comarow
Trusted Contributor

Re: sysgen parameter CHANNELCNT not getting changed

As a comment.

Channelcnt effects other paraments, and
really should be changed via autogen.

That said, if you want to just change
it, then I'd recommend also setting
it in modparams.dat so that when Autogen
does get run you won't lose your changes.

Bob C
Srikanth Arunachalam
Trusted Contributor

Re: sysgen parameter CHANNELCNT not getting changed

Thanks everybody for your response. This parameter is now set.

Regards,
Srikanth
comarow
Trusted Contributor

Re: sysgen parameter CHANNELCNT not getting changed

I should have added it.

You should not be saying USE active or Write Active.

Srikanth Arunachalam
Trusted Contributor

Re: sysgen parameter CHANNELCNT not getting changed

Hi,

Can you please explain me the specific context you were saying not to use the command. Otherwise, I have managed to set it using modparams.dat already.

Thank you.

Srikanth A
Andy Bustamante
Honored Contributor
Solution

Re: sysgen parameter CHANNELCNT not getting changed

> USE ACTIVE
> changes
> WRITE ACTIVE

This sequence will modify the current system parameters in use. It will not be saved for the next boot. For dynamic parameters this is sometimes useful to avoid rebooting. For a paremeter like CHANNELCNT which requires a reboot this doesn't do anything.

> USE CURRENT
> changes
> WRITE CURRENT

This modifies the system parameters for the next reboot. Changes here are generally considered "fast and dirty." You can manage a system like this, however anyone following you is going to have problems.

Using AUTOGEN and the modparams.dat file allows you to provide a list of system modifications documented. Autogen uses this list, checks for releationships and will provide warnings in the AGEN$PARAMS.REPORT file. You can review this file, modify your modparams and rerun AUTOGEN. AUTOGEN tunes the "average system" and collects feedback from your environment. Your application and users may have additional requirements. The MIN_ and MAX_ prefix allow you to set boundries.

It's not unusual to run autogen, collect data for a few days, or over the "end of quarter" and rerun autogen. Pick your peak periods and tune around those.


Andy


If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net