Restrict number of users accessing MAI sessions

book

Article ID: 220916

calendar_today

Updated On:

Products

CA SOLVE:Access Session Management

Issue/Introduction

We will be doing some system work and need to restrict user access to the MAI screen to only those who are working on the system changes; regular users should not be able to access the MAI screen at this time.

Is there a command we can issue to do this?

Environment

Release : 5.0

Component : CA SOLVE:Access Session Management

Resolution

One option is to limit the number of users who can be logged in to SOLVE:Access concurrently.
This does not prevent users from accessing the MAI screen but it would prevent them from accessing any sessions.

 

This process assumes the system has been shut down /  IPLed and restarted:

1. have everyone logon to MAI that needs to be on.

2. Then change the MAXUSERS to that number. MAXUSERS determines the number of active users allowed at a given time. Setting this to the number of currently active sessions will block anyone else from accessing any sessions on MAI. It does not block the MAI session list as such, but anyone attempting to login will get an error.

So if you have 10 people who need to access the system, they can login and you can issue this command from your CMD screen

MAXUSERS - to show how many users are normally defined (note that value) along with the number of users currently logged in
Example:
maxusers                                                   
N11301 CURRENT MAXUSERS LIMIT IS 1000, NUMBER OF USERS IS 10.

To change the limit, simply issue

MAXUSERS 10

and you will see
maxusers 10                         
N11302 MAXUSERS LIMIT NOW SET TO 10.

 

Once you are finished working, you can issue the MAXUSERS command again with the value before the change.

Example:
MAXUSERS 1000 - and it will be set back to 1000 users and others can logon again.

The default value is 500. If you have changed that on a permanent basis, you will also have the MAXUSERS parameter defined in your $ACINIT proc.

You can issue

SH USERS to ensure only the desired users are logged in.
The background users are not included in the MAXUSERS count.

Should you find other users logged in who should not be, you can cancel them with
CANCEL U=userid