02.12.2012 Views

OpenVMS Cluster Systems - OpenVMS Systems - HP

OpenVMS Cluster Systems - OpenVMS Systems - HP

OpenVMS Cluster Systems - OpenVMS Systems - HP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Building Common Files<br />

B.1 Building a Common SYSUAF.DAT File<br />

Table B–1 (Cont.) Building a Common SYSUAF.DAT File<br />

Step Action<br />

4 Merge the SYSUAF.DAT files from the other computers to the master SYSUAF.DAT by<br />

running the Convert utility (CONVERT) on the computer that owns the master SYSUAF.DAT.<br />

(See the <strong>OpenVMS</strong> Record Management Utilities Reference Manual for a description of<br />

CONVERT.) To use CONVERT to merge the files, each SYSUAF.DAT file must be accessible<br />

to the computer that is running CONVERT.<br />

Syntax: To merge the UAFs into the master SYSUAF.DAT file, specify the CONVERT<br />

command in the following format:<br />

CONVERT SYSUAF1,SYSUAF2,...SYSUAFn MASTER_SYSUAF<br />

Note that if a given user name appears in more than one source file, only the first occurrence<br />

of that name appears in the merged file.<br />

Example: The following command sequence example creates a new SYSUAF.DAT file from<br />

the combined contents of the two input files:<br />

$ SET DEFAULT SYS$SYSTEM<br />

$ CONVERT/MERGE [SYS1.SYSEXE]SYSUAF.DAT, -<br />

_$ [SYS2.SYSEXE]SYSUAF.DAT SYSUAF.DAT<br />

The CONVERT command in this example adds the records from the files<br />

[SYS1.SYSEXE]SYSUAF.DAT and [SYS2.SYSEXE]SYSUAF.DAT to the file SYSUAF.DAT<br />

on the local computer.<br />

After you run CONVERT, you have a master SYSUAF.DAT that contains records from the<br />

other SYSUAF.DAT files.<br />

5 Use AUTHORIZE to modify the accounts in the master SYSUAF.DAT according to the<br />

changes you marked on the initial listings of the SYSUAF.DAT files from each computer.<br />

6 Place the master SYSUAF.DAT file in SYS$COMMON:[SYSEXE].<br />

7 Remove all node-specific SYSUAF.DAT files.<br />

B.2 Merging RIGHTSLIST.DAT Files<br />

If you need to merge RIGHTSLIST.DAT files, you can use a command sequence<br />

like the following:<br />

$ ACTIVE_RIGHTSLIST = F$PARSE("RIGHTSLIST","SYS$SYSTEM:.DAT")<br />

$ CONVERT/SHARE/STAT ’ACTIVE_RIGHTSLIST’ RIGHTSLIST.NEW<br />

$ CONVERT/MERGE/STAT/EXCEPTION=RIGHTSLIST_DUPLICATES.DAT -<br />

_$ [SYS1.SYSEXE]RIGHTSLIST.DAT, [SYS2.SYSEXE]RIGHTSLIST.DAT RIGHTSLIST.NEW<br />

$ DUMP/RECORD RIGHTSLIST_DUPLICATES.DAT<br />

$ CONVERT/NOSORT/FAST/STAT RIGHTSLIST.NEW ’ACTIVE_RIGHTSLIST’<br />

The commands in this example add the RIGHTSLIST.DAT files from two<br />

<strong>OpenVMS</strong> <strong>Cluster</strong> computers to the master RIGHTSLIST.DAT file in the current<br />

default directory. For detailed information about creating and maintaining<br />

RIGHTSLIST.DAT files, see the security guide for your system.<br />

Building Common Files B–3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!