 |
» |
|
|
|
 |  |  |  |  | NOTE: If you are responsible for setting up your own account(s) for this course, you must have SM capability to install the course material. If you do not, please ask your system manager to install the material according to the following instructions. |  |  |  |  |
This section helps you to create the account structure for all users doing the MPE/iX exercises associated with this training. Equipment |  |
You should have the following equipment: One 900 Series HP 3000 (MPE/iX operating system) Two 7935 or 7937 disk drives (at least 1000 sectors per student account and 2000 sectors per course manager account) One tape drive (1600 bpi or 6250 bpi) One terminal per student, connected to the 900 Series HP 3000 One 900 Series lab tape (STORE format)
Procedure Summary |  |
There are nine steps in setting up the account structure for students taking the course. The following is a general description of the steps; each step is explained in greater detail on later pages, under "Step-by-Step Procedure". Notify system management and operations of course needs (disk space, paper). Restore the instructor's account from tape to disk. Modify the instructor's account capabilities. Verify the current job limit, session limit, and job security level.
Log on as the instructor and activate UDCs. Execute the ADVSETUP command file and its options to create the student accounts for either of the following courses: Fundamentals Skills Course: Create the Fundamental Skills accounts from scratch.
Advanced Skills Course: Purge the existing Fundamental Skills accounts and create new Advanced Skills accounts. - OR - Create the Advanced Skills accounts from scratch.
Execute the MOVEFILE command file to set up Advanced Skills account files.  |  |  |  |  | NOTE: Execute MOVEFILE only if you are setting up Advanced Skills accounts. This file creates job files that let you log on to each student account and move files over from the instructor account. |  |  |  |  |
Execute the CLEANUP command file to perform file management activities. Remove the tape from the tape drive and store it in a safe place. Create new student accounts as needed. Purge existing student accounts as needed.
Each of the steps will now be explained. Step-by-step procedure |  |
Notify system management and operations of the course requirements:
Disk space = 2000 sectors for course manager account
1000 sectors for each student account
Paper = full supply of line printer paper
JOBSECURITY = LOW (or if HIGH, operator must
ALLOW job management commands)
JLIMIT = greater than the number of students
SLIMIT = greater than the number of students
JOBFENCE = 7
OUTFENCE = 7
INPRI = 7
OUTPRI = 7
|
 |  |  |  |  | NOTE: If system management cannot set the JOBFENCE and OUTFENCE values as indicated, the student must check those values during module 3 to ensure that the jobs used in the activities behave as they should. |  |  |  |  |
Restore the instructor's account from tape to disk. Mount the MPE/iX course tape. Log on as MANAGER.SYS (and stay logged on until told to do otherwise!) Use the RESTORE command as follows to restore the instructor's account to the system:
FILE T;DEV=TAPE
RESTORE T;@.@.ACCT0;CREATE;SHOW
|
(0 in ACCT0 is a zero, not an "oh") You may have to reply at the system console as follows:
REPLY=pin#,ldev''(tape drive)
|
Once the restoration is complete, place the tape drive back online by pressing the ON LINE key of the tape drive. You should now have ACCT0, the instructor's account, on disk ). Enter the following command to verify that there are 42 files in the account:
LISTFILE @.@.ACCT0,2
Account: ACCT0 (instructor) DISC SPACE: 1568 (SECTORS)
User : USER0
Groups : CLASS (home) PUB PROJECT MYGROUP
Files : ADVSETUP MYUDC1 PFILE (future) FKEY1
AFILE MYUDC2 PROMPT1
AJOB MYUDC3 (This ROMAN1
CF P group
CLEANUP PR will be
COPYFILE PRX created
DELVAR PURMOVE by the
DOFILE RECUR ADVSETUP
HIC RELFILE command
HICOM SECFILE file.)
JOB0 SJT
JOB1 STATS
JOB2 T
JOB3 TERTIME
LF TESTFILE
MODINST WELCTEMP (template for welcome file)
MOVEFILE
MYFILE
MYFILE1
MYFILE2
MYJOB1
MYJOB2
|
Modify the instructor's capabilities, passwords, and home group with the following command file: MODINST is a command file that contains the following commands:
ALTACCT ACCT0;CAP=SM,AM,AL,GL,ND,SF,BA,IA,PH;PASS=MORE
ALTUSER USER0.ACCT0;CAP=SM,AM,ND,SF,BA,IA,PH;PASS=MONEY;HOME=CLASS
ALTGROUP PUB.ACCT0;ACCESS=(R,x:ANY;W,A,L,S:AL,GU)
ALTGROUP CLASS.ACCT0;CAP=BA,IA,PH;ACCESS=(R,W,A,L,x,S:GU)
|
Enter the following command and compare the account, user, and group capabilities and passwords with those listed above:
LISTACCT ACCT0;PASS
LISTUSER USER0.ACCT0;PASS
LISTGROUP PUB.ACCT0;PASS
LISTGROUP CLASS.ACCT0;PASS
|
If the capabilities do not match, use ALTACCT, ALTUSER, or ALTGROUP to change them accordingly.
Log on as the instructor and activate UDCs: Log on as USER0.ACCT0:
(home group = CLASS)
Account password: MORE
User password: MONEY
|
Verify that you are in the CLASS group:
Issue the following command to activate all of your UDCs:
Issue the following command to verify that MYUDC1 is activated:
Execute the ADVSETUP command file to create the students' accounts: Issue the following command: or You can now set up accounts for either the Fundamental Skills course or the Advanced Skills course. Each time that you execute ADVSETUP, you can set up accounts for one type of course. You receive the following prompt:
Are you setting up the Fundamental Skills course? (Y or N):
|
Fundamental Skills: Respond Y if you are setting up accounts for the Fundamental Skills course. You receive another set of prompts. Respond with 1 when you are first setting up the accounts. See step 7 if you are adding more accounts.
What is the number of the final
account or/ user you that want to create or
purge?
|
Respond with a number representing the last account that you that want created - usually the same as the total number of students. (See step 7 if you are adding more accounts.) You get this message when the accounts are created:
*** Creating new account ACCTx for Fundamental Skills ***
*** x account(s) created ***
|
Advanced Skills (General): Respond N if you are not setting up the Fundamental Skills accounts. You receive another set of prompts:
Are you setting up the Advanced Skills course? (Y or N):
|
Respond Y if you are setting up accounts for the Advanced Skills course.
Advanced Skills (Fundamental Skills accounts already exist):
************************************************************
*** ACCTx accounts may already exist for the Fundamental ***
*** Skills course. Be careful not to purge any accounts ***
*** that may still be in use. If any accounts on the ***
*** system are no longer in use, you can purge them and ***
*** reuse them for the Advanced Skills course by answer- ***
*** ing YES to the following prompt. ***
************************************************************
Do accounts/users from Fund. Skills already exist (Y or N):
|
Answer Y only if you previously executed ADVSETUP and created student accounts for Fundamental Skills. This ensures that the old accounts are purged and the new ones are created. You get this message:
*** Press P to purge old Fund. Skills accounts. ***
Purge Create Quit Modify
|
Respond P to purge the old Fundamental Skills accounts:
What is the number of the first account/user?
|
Respond with the number of the first Fundamental Skills account you wish to purge.
What is the number of the final account that you want to create or purge?
|
Respond with a number representing the last account that you want purged--usually the same as the total number of students. You now see this message:
*** ACCTx through ACCTy will be purged ***
Proceed with purging? (Y/N)
|
Respond Y if you want to continue purging the old accounts. You now get the following prompt(s) and message(s): Respond Y as long as you want to purge accounts:
ACCOUNT ACCTx TO BE PURGED? (YES/NO)
ACCOUNT ACCTy TO BE PURGED? (YES/NO)
*** Creating new account ACCTx for Advanced Skills ***
*** Creating new account ACCTy for Advanced Skills ***
*** x accounts created ***
|
Advanced Skills (Fundamental Skills accounts do not exist. Create new Advanced Skills accounts):  |  |  |  |  | NOTE: Skip to Step 5 for the rest of the procedure. |  |  |  |  |
Do accounts/users from Fundamental Skills already exist
(Y or N):
|
Answer N if this is the first time that you are setting up accounts.
Purge Create Quit Modify?
|
Respond C to create the Advanced Skills accounts.
What is the number of the first account/user?
|
Respond with 1 if you are setting up Advanced Skills accounts for the first time. See step 7 if you are adding more accounts.
What is the number of the final account/user?
|
Respond with a number representing the last account that you want
created - usually the same as the total number of students. See step 7 if you are adding more accounts. You see these messages:
*** Creating new account ACCTx for Advanced Skills ***
*** Creating new account ACCTy for Advanced Skills ***
*** z accounts created ***
|
Example #1: Suppose that you want to set up accounts for ten Fundamental Skills course students. Your responses to the prompts would be as follows:
Are you setting up the Fundamental Skills course? Y
Purge Create Quit Modify? C
What is the number of the first account/user? 1
What is the number of the final account/user? 10
*** Creating account ACCT1 for Fundamental Skills ***
*** Creating account ACCT2 for Fundamental Skills ***
.
.
.
*** Creating account ACCT10 for Fundamental Skills ***
*** 10 accounts created ***
|
Example #2: Suppose that those users now want to take the Advanced Skills course. Your responses the prompts would be as follows:
Are you setting up the Fundamental Skills course? N
Are you setting up the Advanced Skills course? Y
************************************************************
*** ACCTx accounts may already exist for the Fund. Skills***
*** course. Be careful not to purge any accounts ***
*** that may still be in use. If any accounts on the ***
*** system are no longer in use, you can purge them and ***
*** reuse them for the Adv. Skills course by answering ***
*** YES to the following prompt. ***
************************************************************
Do accounts/users from Fund. Skills already exist (Y or N): Y
*** Press P to purge the old Fundamental Skills accounts ***
Purge Create Quit Modify? P
What is the number of the first account/user? 1
What is the number of the final account/user? 10
*** ACCT1 through ACCT10 will be purged ***
Proceed with purging? (Y/N) Y
ACCOUNT ACCT1 TO BE PURGED? (YES/NO) Y
ACCOUNT ACCT2 TO BE PURGED? (YES/NO) Y
ACCOUNT ACCT3 TO BE PURGED? (YES/NO) Y
.
ACCOUNT ACCT10 TO BE PURGED? (YES/NO) Y
*** Creating account ACCT1 for Advanced Skills ***
*** Creating account ACCT2 for Advanced Skills ***
*** Creating account ACCT10 for Advanced Skills ***
|
Example #3: Suppose that you purged or never had the Fundamental Skills course student accounts and you now want to create ten Advanced Skills course student accounts. Your responses to the prompts would be as follows:
Are you setting up the Fundamental Skills course? N
Are you setting up the Advanced Skills course? Y
*************************************************************
*** ACCTx accounts may already exist for the Fund. Skills ***
*** course. Be careful not to purge any accounts ***
*** that may still be in use. If any accounts on the ***
*** system are no longer in use, you can purge them and ***
*** reuse them for the Adv. Skills course by answering ***
*** YES to the following prompt. ***
*************************************************************
Do accounts/users from Fund. Skills already exist (Y or N): N
Purge Create Quit Modify? C
What is the number of the first account/user? 1
What is the number of the final account/user? 10
*** Creating account ACCT1 for Advanced Skills ***
*** Creating account ACCT2 for Advanced Skills ***
.
.
.
*** Creating account ACCT10 for Advanced Skills ***
*** 10 accounts created ***
|
When account creation is complete, you have the following student account structure for the respective courses. Issue the following command to verify that the accounts exist: (x is the number of each student account)
Fundamental Skills Course:
Account: ACCT1 to ACCTx (students)
User : USER1 to USERx
Groups : PUB MYGROUP YOURGRP
Files : empty empty empty
Advanced Skills Course:
Account: ACCT1 to ACCTx (students)
User : USER1 to USERx
Groups : CLASS PUB PROJECT
Files : empty empty empty
|
If you are creating Advanced Skills course accounts, after account creation, execute the MOVEFILE command file. MOVEFILE moves files from the instructor account to each student account. It does this by creating and streaming jobs that log on to each student account and execute the COPYFILE command file. COPYFILE does the actual copying of files from instructor to student account. Issue the following command: Answer the prompts as you did when executing ADVSETUP:
*** ENTER A ZERO (0) TO TERMINATE WHEN ANSWERING PROMPTS ***
What is the number of the first student account you just added?
What is the number of the final student account you just added?
|
As MOVEFILE executes for each student account, you see several messages on the screen. The most important are shown below: MOVEFILE START1 | Executes MOVEFILE. | #Jx STREAM MOVEPRx | Streams job to log on to student accounts.
PressCRat this point. | COPYFILE IS MOVED OVER | Copies COPYFILE command file to student account. | ALL FILES COPIED TO ACCTx | Executes COPYFILE and copies all files to student account. |
These messages repeat for each account created earlier, not necessarily in order. The process is complete only when ALL FILES COPIED ... message appears for the last account. When no more messages appear, press Return to return to the system prompt. When MOVEFILE has completed, the student account structure should
look like this. Issue the following command to verify:
LISTFILE @.@.ACCTx,2
Advanced Skills Course:
Account: ACCT1 to ACCTx (students)
User : USER1 to USERx
Groups : CLASS PUB PROJECT
Files : AFILE PFILE empty
CF
COPYFILE
DOFILE
HIC
HICOM
JOB0
JOB1
JOB2
LF
MYFILE
MYFILE1
MYFILE2
MYJOB1
MYJOB2
MYUDC1
MYUDC2
MYUDC3
PR
PRX
RECUR
SJT
STATS
TERTIME
|
The account users are USER1 to USERx. The home group is CLASS, and the logon
HELLO USERx.ACCTx
Account password: APASSx
User password: UPASSx
|
All student accounts now contain their necessary files.
At this point, perform file management activities to resecure files, delete variables, and purge temporary files created during MOVEFILE and COPYFILE execution. Execute this command: The CLEANUP command file actually executes three other command files (which can be executed separately on other occasions, if need be): DELVAR | Deletes all variables used by MOVEFILE. | PURMOVE | Purges temporary files. | SECFILE | Secures all previously released instructor files. |
The course account creation is now complete. To finish the installation, rewind and remove the tape from the tape drive. Fundamental Skills Course: You need the following amount of disk space for the initial student and instructor accounts:
GROUP and ACCOUNT DISK SPACE BY SECTORS
Course Manager or Instructor:
CLASS.ACCT0 2128
PUB.ACCT0 16
PROJECT.ACCT0 0
MYGROUP 0
YOURGRP 0
SUBTOTAL: 2208 sectors
Student:
PUB.ACCT 0
MYGROUP 64
YOURGROUP 0
SUBTOTAL: 0 sectors
TOTAL: 3136 sectors
|
Advanced Skills Course: You need the following amount of disk space for the initial student and instructor accounts
GROUP and ACCOUNT DISK SPACE BY SECTORS
Course Manager or Instructor:
CLASS.ACCT0 2128
PUB.ACCT0 16
PROJECT.ACCT0 0
MYGROUP 64
YOURGRP 0
SUBTOTAL: 2208 sectors
Student:
CLASS.ACCT 1552
PUB.ACCTx 16
PROJECT.ACCTx 0
SUBTOTAL: 1568 sectors
TOTAL: 3776 sectors
|
Create additional student account(s) as needed: Use ADVSETUP to create the accounts. Respond as you did in step 4. Just remember to specify the correct first and final account number and specify the C option. Example #1: Suppose that you already have ten Fundamental Skills accounts and want to add two more. You would respond to the prompts as follows:
Are you setting up the Fundamental Skills course? Y
Purge Create Quit Modify? C
What is the number of the first account/user? 11
What is the number of the final account/user? 12
*** Creating account ACCT1 for Advanced Skills ***
*** Creating account ACCT2 for Advanced Skills ***
.
.
.
*** Creating account ACCT12 for Advanced Skills ***
*** 12 accounts created ***
|
Example #2: Suppose that you purged Advanced Skills accounts ACCT5 and ACCT6 earlier, and now two new students need those accounts: You would respond to the prompts as follows:
Are you setting up the Fundamental Skills course? N
Are you setting up the Advanced Skills course? Y
*************************************************************
*** ACCTx accounts may already exist for the Fund. Skills ***
*** course. Be careful not to purge any accounts ***
*** that may still be in use. If any accounts on the ***
*** system are no longer in use, you can purge them and ***
*** reuse them for the Adv. Skills course by answering ***
*** YES to the following prompt. ***
*************************************************************
Do accounts/users from Fund. Skills already exist (Y or N): N
Purge Create Quit Modify? C
What is the number of the first account/user? 5
What is the number of the final account/user? 6
*** Creating account ACCT5 for Adv. Skills ***
*** Creating account ACCT6 for Adv. Skills ***
*** 2 accounts created ***
|
Example #3: Suppose that you already have ten Fundamental Skills accounts. USER2 and USER4 are ready to continue with Advanced Skills. You would respond to the prompts as follows:
Are you setting up the Fundamental Skills course? N
Are you setting up the Advanced Skills course? Y
*************************************************************
*** ACCTx accounts may already exist for the Fund. Skills ***
*** course. Be careful not to purge any accounts ***
*** that may still be in use. If any accounts on the ***
*** system are no longer in use, you can purge them and ***
*** reuse them for the Adv. Skills course by answering ***
*** YES to the following prompt. ***
*************************************************************
Do accounts/users from Fund. Skills already exist (Y or N): Y
*** Press P to purge old Fund. Skills accounts. ***
Purge Create Quit Modify? P
What is the number of the first account/user? 2
What is the number of the final account/user? 2
*** ACCT2 through ACCT2 will be purged ***
Proceed with purging? (Y/N) Y
ACCOUNT ACCT2 TO BE PURGED? (YES/NO) Y
*** Creating account ACCT2 for Adv. Skills ***
*** 1 account created ***
Are you setting up the Fundamental Skills course? N
Are you setting up the Advanced Skills course? Y
*************************************************************
*** ACCTx accounts may already exist for the Fund. Skills ***
*** course. Be careful not to purge any accounts ***
*** that may still be in use. If any accounts on the ***
*** system are no longer in use, you can purge them and ***
*** reuse them for the Adv. Skills course by answering ***
*** YES to the following prompt. ***
*************************************************************
Do accounts/users from Fund. Skills already exist (Y or N): Y
*** Press P to purge old Fund. Skills accounts. ***
Purge Create Quit Modify? P
What is the number of the first account/user? 4
What is the number of the final account/user? 4
*** ACCT2 through ACCT4 will be purged ***
Proceed with purging? (Y/N) Y
ACCOUNT ACCT4 TO BE PURGED? (YES/NO) Y
*** Creating account ACCT4 for Adv. Skills ***
*** 1 account created ***
|
For Advanced Skills accounts, enter MOVEFILE to copy files into the accounts. Just remember to specify the correct first and final account number as you did with the ADVSETUP command file.
Purge existing student account(s) as needed: Use ADVSETUP to purge the accounts. Answer N to the prompts asking if you are setting up Fundamental Skills or Advanced Skills accounts. Then specify the P option for purge and give the correct first and final account number.
|