O.S. | Command | Required OS Version | Additional Information | Supported DBMS Versions |
HP-UX | swlist | HP-UX B.11.11 | HP 11i | Sybase 12.5.* |
Linux | uname -r | Linux 2.6.18 minimum kernel version | RHEL5 64-bit | Oracle 11gR2 |
Sun | showrev | SunOS 5.9 | Solaris 9 | Sybase 12.5.* Oracle 9iR2 |
Often Called* | Description | Suggested Value | Your Value |
$NSTGROUP | LeasePak users' group; the OS group that all LeasePak users must have as their primary group. | nst | |
Oracle DBMS primary installation group | orainv | ||
Oracle DBMS secondary installation group | oradba | ||
Sybase DBMS installation group | sybase |
Often Called* | Description | Suggested Name | Group Name | Your Name | Your Group |
Oracle DBMS installation user; Oracle software owner | oracle | orainv (primary) oradba (secondary) |
|||
Sybase DBMS installation user; Sybase software owner | sybase | sybase | |||
$NSTADMIN | LeasePak Release Administrator | nsadm62a | $NSTGROUP | ||
$NSTDBA | LeasePak Database Administrator | nsdba62a | $NSTGROUP |
OS | Typical Path | Your Path |
HP-UX | /SD-CDROM | |
Linux | /mnt/cdrom | |
Sun | /cdrom | |
Virtual CD All platforms requires about 300MB of space |
/shipcd mkdir /opt/shipcd ln -s /opt/shipcd /shipcd |
Parameter | Comments | Suggested Value | Origin | Your Value |
1 | Home Directory | |||
Standard part of all supported OSes. Each LeasePak user has as directory under /home on the application host. | ||||
Path | /home | OS | not optional | |
Size | calculate from numbers and sizes of user-generated reports plus an allowance for leasepak_error.log | 200 MB minimum; 4 GB normal | ||
2 | Temporary Directories | |||
Standard parts of all supported OSes. | ||||
Path | Used extensively by the NetSol Utility Scripts, and by some LeasePak reports, and the Queue Manager. | /tmp | OS | not optional |
Size | 1.2 GB minimum; 2 GB normal | |||
Path | Potential extensive use by the Queue Manager on Linux, and by some LeasePak processes. | /var/tmp | OS | not optional |
Part of the /var filesystem | ||||
Path | Potentially used by the Queue Manager on Linux. | /var/spool | OS | not optional |
Part of the /var filesystem | ||||
Size | /var filesystem | 1.2 GB minimum; 2 GB normal | ||
3 | Swap partition | |||
This is part of the standard OS install. Not optional | ||||
Size |
3 times physical memory is typical 40MB per concurrent LeasePak connection |
OS |
/ | .......................................$EFSDIR |/ opt | +------------+--------+------------+-------------+ | | ...........|.............|....$NSTDIR | |/ | | qm msi oracle sybase | | +---+------+ +------+-------+ | | ....|......|.......|.......................$QMPPATH | | / | | | | | / | | ......|.......................$TOPDIR | |/ | |/ | v61a v62a v61a v62a cst......................$CSTDIR | | | | | ....................|.......................$QMDIR | | / | qm_3_17 qm_3_17 +-----+-----+ | | 6.10.8765 6.20.7654
/ | opt.......................$EFSDIR | nst.......................$NSTDIR | +--------------+---------------+ | | | | .........|...............|........$QMPPATH | / | | | / | ..............|........$TOPDIR | / |/ | qm_${INST_ID}62a v62a cst.......$CSTDIR | | | .............................|........$QMDIR |/ | qm_3_31 +-----+-----+ | | 6.20.8765 6.20.7654
Parameter | Purpose | Suggested Names | Notes |
$EFSDIR | A file system that holds non-OS-provided software packages | /opt | Cannot be / |
$NSTDIR | Holds NetSol Technologies products | $EFSDIR/nst | nst is recommended |
$TOPDIR | Holds the Server instance of a LeasePak release | $NSTDIR/v62a | v62a is required |
$CSTDIR | Holds the End-User Customized Code Objects | $NSTDIR/cst | cst is recommended |
$QMPURPOSE | A component in names describing the Queue Manager and connecting it to a LeasePak instance. |
Linux: qm_${INST_ID}62a HP-UX & Solaris: qm/v62a |
component value formation is fixed |
$QMRELS | A component in path names for Queue Manager instances connected to LeasePak; specifically the final component of the path where the Queue Manager software and configuration is stored. Provides a clearly delineated division between different versions of the Queue Manager software. | qm_$QM_VERSION | component value formation is fixed |
$QMPPATH | This is the path at which the $QMRELS (see above) is located holding the Queue Manager software |
Linux: $NSTDIR/$QMPURPOSE HP-UX & Solaris: $EFSDIR/$QMPURPOSE |
may be overridden by operator |
$QMDIR | Holds the Queue Manager software and configuration | $QMPPATH/$QMRELS | path formation is fixed |
$SYSTMPDIR | System directory that holds temporary files for many applications |
Linux: /var/tmp or /tmp HP-UX & Solaris: /tmp |
Linux: choice between two system temporary directories HP-UX & Solaris: location fixed |
$QMTMPDIR | Directory used by the Queue Manager to hold its many temporary files. | $SYSTMPDIR/$QMPURPOSE | path formation is fixed |
$QMSPOOLDIR | Directory used by the Queue Manager to contain the filesystem components of the queues themselves, as well as the files that represent or contain jobs waiting for execution. |
Linux: /var/spool/$QMPURPOSE or $QMDIR/spool HP-UX & Solaris: $QMDIR/spool |
Linux: choice between two approaches under the system spooler directory traditional, under $QMDIR HP-UX & Solaris: single approach traditional, under $QMDIR |
Platform | Queue Manager Version $QM_VERSION |
Queue Manager Release $QMRELS |
HP-UX | 3_17 | qm_3_17 |
Linux RHEL5 | 3_31 | qm_3_32 |
Sun | 3_17 | qm_3_17 |
O.S. | Standard Filesystem |
HP-UX | HFS or VxFS |
Linux RHEL5 | ext3 |
Sun | UFS |
# | #1 | #2 | #3 | #4 |
Filesystems | ||||
# of filesystems | FS #1 Directories Min space req FS type |
FS #2 Directories Min space req FS type |
FS #3 Directories Min space req FS type |
FS #4 Directories Min space req FS type |
1 | $NSTDIR $QMTOPDIR $TOPDIR $CSTDIR 1.8GB Std FS |
|||
2 | $NSTDIR $TOPDIR $CSTDIR 1.5GB Std FS |
$QMDIR 300MB Std FS |
||
2 | $NSTDIR $QMDIR $CSTDIR 400MB Std FS |
$TOPDIR 1.4GB Std FS |
||
3 | $NSTDIR $CSTDIR 100MB Std FS |
$QMDIR 300MB Std FS |
$TOPDIR 1.4GB Std FS |
|
4 | $NSTDIR 10MB Std FS |
$QMDIR .3GB Std FS |
$TOPDIR 1.4GB Std FS |
$CSTDIR 100MB Std FS |
Installing LeasePak v62a across more than 4 separate filesystems is not recommended. The administrator should not relocate arbitrary parts of $QMDIR and of $TOPDIR to other filesystems, without guidance from NetSol. |
Parameter | Path | Owner:Group | Access Modes | Made By | Cfg Input |
$EFSDIR | /opt | OS values | OS values | OS or admin | no |
$NSTDIR | $EFSDIR/nst | root:${NSTGROUP} | 0750 | SETUP | no |
$TOPDIR | $NSTDIR/v62a | ${NSTADMIN}:${NSTGROUP} | 0755 | SETUP | yes |
$CSTDIR | $NSTDIR/cst | root:${NSTGROUP} | 0775 | SETUP | yes |
$QMPPATH | $NSTDIR/$QMPURPOSE or $EFSDIR/$QMPURPOSE | root:sys | 0777 | SETUP | yes |
$QMDIR | $QMPPATH/$QMRELS | ${NSTADMIN}:${NSTGROUP} | 0750 | SETUP | no |
$SYSTMPDIR |
Linux: /var/tmp or /tmp HP & Solaris: /tmp |
OS values | OS values | OS | yes |
$QMTMPDIR | $SYSTMPDIR/$QMPURPOSE | root:root | 0777 | SETUP | no |
Config:LNMDIR Config:SORTDIR Config:MBXDIR Config:TRACE |
$QMTMPDIR/lnm $QMTMPDIR/sor $QMTMPDIR/mbx $QMTMPDIR/log |
root:root | 0777 | SETUP | no |
$QMSPOOLDIR |
Linux: /var/spool/$QMPURPOSE or $QMDIR/spool HP & Solaris: $QMDIR/spool |
${NSTADMIN}:${NSTGROUP} | 0777 | SETUP | yes |
Parameter | Service location | SETUP Prompt |
Service name | Comments | |
$QMINITFNAME | $INITDIR | Install Queue Mgr startup/shutdown in rc1.d/rc3.d? |
nst_qm_${INST_ID}62a | handles starting and stopping the Queues | |
(no parameter used) | $INITDIR | Install Oracle startup/shutdown in rc1.d/rc3.d? |
nst_dbora | handles starting and stopping the Oracle instances listed in $DBMS_INSTANCES_LIST | |
(no parameter used) | $INITDIR | Install Sybase startup/shutdown in rc1.d/rc3.d? |
nst_dbsyb | handles starting and stopping the Sybase dataservers and possibly the backup server | |
$LPKD_SVC_ID | /etc/services | Install LeasePak TCP port in inet configuration? |
nst_lp62a${INST_ID}_$LEASEPAKD_PORT | Handles dispatch of connection requests to leasepakd | |
$MPWD_SVC_ID | /etc/services | Install mPower TCP port in inet configuration? |
nst_mp62a${INST_ID}_$MPOWERD_PORT | Handles dispatch of connection requests to mPowerd |
Name | Suggested Names | Notes | |
Oracle 9i - Solaris 9 | |||
/opt/oracle | base directory for Oracle installation. This would be the mountpoint if separate filesystems are used. | ||
$ORADIR | /opt/oracle/product/9.2 | becomes the value of $ORACLE_HOME | |
3.5 GB minimum | minimum disk space for /opt/oracle | ||
Oracle 11g - Linux RHEL5 | |||
/opt/oracle | The apex of the Oracle installation. This would be the mountpoint if a separate filesystem is used. | ||
$ORACLE_BASE | /opt/oracle/11 | Oracle's base directory for product installation | |
$ORA_PRODSRV | product/11.2.0/dbhome_1 | with ORACLE_BASE becomes the value of $ORACLE_HOME. This is the location of the 64-bit Oracle Database Server, which must be installed on all machines that are to support an Oracle Instance, such as a Combined Host (serves as both an Application host and as a DBMS Host in a Unified System), or as a DBMS Host in a Split System. | |
$ORA_PRODCLT | product/11.2.0/client_1 |
This is the location of the 32-bit Oracle Database client,
which is required for the LeasePak server processes to
communicate with and utilize an Oracle database. It must be
installed on all machnes that are to support LeasePak server
processes, such as a Combined Host (serves as both
an Application host and as a DBMS Host in a Unified System),
or as an Application host in a Split System.
When a machine serves as an Application host, the value of
$ORACLE_HOME is $ORACLE_BASEK/K$ORA_PRODCLT.
|
|
4.5 GB minimum 1.5 GB minimum |
disk space for /opt/oracle (Oracle 64-bit
server installation) disk space for /opt/oracle (Oracle 32-bit client-only installation) |
||
Additional disk space above the minimum is recommended to accomodate Oracle log and trace files |
System Topology | ||||||
Types | Unified System | Split System | ||||
Hosts | Combined Host | Application Host | DBMS Host | |||
product/11.2.0 Directories | dbhome_1 | client_1 | dbhome_1 | client_1 | dbhome_1 | client_1 |
Software | 64-bit server | 32-bit client | * n/u | 32-bit client | 64-bit server | * n/u |
Name | Suggested Names | Notes |
Sybase 12.5.x - HP-UX 11i and Solaris 9 | ||
$SYBDIR | /opt/sybase | base directory for Sybase install. This would be the mountpoint if a separate filesystem is used. Becomes the value of $SYBASE. |
2 GB minimum | minimum disk space for /opt/sybase |
Description | Minimum Value | Your Value |
maxdsiz | ||
maximum data segment size for a process executing in memory | 0x08000000 (hex) | |
maxswapchunks | ||
maximum allocated swap space | configured swap space (in megabytes) / 2 * (size of swchunk) | |
maxusers | ||
resource allocation parameter | 4 * average number of concurrent users | |
msg* | ||
configure msgseg, msgmnb, and msgssz first, then set msgmax
|
||
msgseg | ||
number of message segments available on a single message queue | 4096 segments | |
msgmnb | ||
maximum size of all messages existing simultaneously on a single message queue | 32768 bytes | |
msgsz | ||
message segment size | 8 bytes | |
msgmax | ||
maximum size of any single message | 32768 bytes | |
nflocks | ||
maximum number of available file locks | 2000 file locks | |
nproc | ||
maximum number of concurrent processes | 20 + (8 * maxusers) | |
npty | ||
maximum number of available pseudo ttys | 2 * maximum number of concurrent users | |
nstrpty | ||
maximum number of available streams-based pseudo ttys | 2 * maximum number of concurrent users | |
semmnu | ||
maximum number of processes with pending undo operations on a semaphore | 60 processes | |
swchunk | ||
swap chunk size | 2048 kilobytes |
# visudo(visudo is all one word). This places a lock on the /etc/sudoers file so only one user at a time can edit it, and puts the operator into a vi session on /etc/sudoers. Make the following changes:
User_Alias NST =make one and add the names of $NSTADMIN and $NSTDBA separated by commas after the =.
User_Alias NST = nsadm62a, nsdba62a
NST ALL=NOPASSWD:/bin/chown, /bin/chgrpthen make one.
:wq(ENTER)Now, anyone whose login name is in the User_Alias NST can run chown and chgrp as if they were logged in as root.
# yum install xinetd
Description | Minimum Value | Your Value |
msgsys:msginfo_msgmax | ||
maximum size of any single message | 32768 bytes | |
msgsys:msginfo_msgmnb | ||
maximum number of bytes on a single message queue | 32768 bytes | |
rstchown | ||
enable users to chown their own files | 0 | |
semsys:seminfo_semume | ||
maximum number of processes with pending undo operations on a semaphore | 60 processes |
Description | Suggested Value | Your Value | Done? |
Application Host Preparation | |||
OS Verification | |||
HP-UX B.11.11 | Sybase 12.5.* | ||
64-bit Linux 2.6.18 minimum kernel | Oracle 11gR2 | ||
SunOS 5.9 | Sybase 12.5.* Oracle 9iR2 |
||
Additional Application Host Preparation | |||
Setting HP-UX Kernel Parameters | |||
maxdsiz | 0x08000000 (hex) | ||
maxswapchunks | swap space/2 * (size of swchunk) | ||
maxusers | 4 * average concurrent users | ||
msgseg | 4096 segments | ||
msgmnb | 32768 bytes | ||
msgsz | 8 bytes | ||
msgmax | 32768 bytes | ||
nflocks | 2000 file locks | ||
nproc | 20 + (8 * maxusers) | ||
npty | 2 * max concurrent users | ||
nstrpty | 2 * max concurrent users | ||
semmnu | 60 processes | ||
swchunk | 2048 kilobytes | ||
/usr/bin/isql and the sudoers file in RHEL5 | |||
/usr/bin/isql | remove, rename, or relocate |
||
add to /etc/sudoers | User_Alias NST = nsadm62a, nsdba62a NST ALL=NOPASSWD:/bin/chown, /bin/chgrp |
||
Setting Solaris Kernel Parameters | |||
msgsys:msginfo_msgmax | 32768 bytes | ||
msgsys:msginfo_msgmnb | 32768 bytes | ||
rstchown | 0 | ||
semsys:seminfo_semume | 60 processes | ||
Application Host - Groups and Users | |||
Required OS Groups | |||
LeasePak Primary Group $NSTGROUP |
nst | ||
Oracle DBMS primary installation group | orainv | ||
Oracle DBMS secondary installation group | oradba | ||
Sybase DBMS installation group | sybase | ||
Required OS Users | |||
Oracle DBMS installation user; Oracle owner $ORAINSTACCT |
oracle (primary group=orainv;secondary=oradba) | ||
Sybase DBMS installation user; Sybase owner | sybase (primary group=sybase) | ||
LeasePak Release Administrator $NSTADMIN |
nsadm62a (primary group=$NSTGROUP) | ||
LeasePak Database Administrator $NSTDBA |
nsdba62a (primary group=$NSTGROUP) | ||
DBMS Host Preparation | |||
Oracle 9i on Solaris 9 | |||
mountpoint (if used) | /opt/oracle | ||
size of /opt/oracle | 3.5GB | ||
$ORADIR $ORACLE_HOME contains the Oracle database system software |
/opt/oracle/product/9.2 | ||
Oracle 11g on Linux RHEL5 | |||
mountpoint (if used) | /opt/oracle | ||
size of /opt/oracle | 3.5GB | ||
ORACLE_BASE base directory for Oracle software products |
/opt/oracle/11 |
||
$ORA_PROD contain the Oracle database system and database client software |
product/11.2.0/dbhome_1
or product/11.2.0/client_1 |
||
$ORACLE_BASE/$ORA_PROD the value of $ORACLE_HOME |
mandatory | ||
Sybase ASE 12.5 on HP-UX 11i and on Solaris 9 | |||
mountpoint (if used) | /opt/sybase | ||
size of /opt/sybase | 2GB | ||
$SYBDIR $SYBASE contains the Sybase database system software |
/opt/sybase | ||
Application Host - Devices and Filesystems | |||
CD-Rom | |||
CD-ROM Path | /SD-CDROM /mnt/cdrom /cdrom /shipcd |
||
Filesystem Sizes | |||
size of /home $HOME |
200MB to 4.0+GB | ||
size of /tmp | 1.2 to 2.0+GB | ||
size of /var | 1.2 to 2.0+GB | ||
size of swap | 3 x physical memory | ||
LeasePak Server and Queue Manager Directories | |||
$EFSDIR contains LeasePak, Oracle & Sybase |
/opt (must already exist) | ||
$SYSTMPDIR temporary directory |
/var/tmp (must already exist) or /tmp (must already exist) |
||
$NSTDIR contains LeasePak |
$EFSDIR/nst (SETUP creates this) | ||
$TOPDIR contains a LeasePak instance |
$NSTDIR/v62a (SETUP creates this) | ||
$CSTDIR contains end-user customized files |
$NSTDIR/cst (SETUP creates this) | ||
$QMPURPOSE common pathname component |
Linux: qm_${INST_ID}62a or HP-UX & SunOS: qm/v62a (component) |
||
$QMRELS common pathname component |
qm_$QM_VERSION (component) |
||
$QMPPATH contains the Queue Manager instance |
Linux: $NSTDIR/$QMPURPOSE or HP-UX & SunOS: $EFSDIR/$QMPURPOSE (SETUP creates these) |
||
Location of the queues belonging to the Queue Manager instance |
Linux: /var/spool/$QMPURPOSE or HP-UX & SunOS: $QMDIR/spool (SETUP creates these) |
Recognized platform ID | OS Type | OS Version |
hp11 | hp-ux | hp-ux11 |
hp11i | hp-ux | hp-ux11i |
sun8 or sol8 | sunos | solaris8 |
sun9 or sol9 | sunos | solaris9 |
rh4 | linux | rh4 |
rh5 | linux | rh5 |
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Shell | Commands to disable db_add_srvadm |
sh, ksh, bash |
NSTOPT_CREATE_SRVADM=N export NSTOPT_CREATE_SRVADM |
csh, tcsh |
setenv NSTOPT_CREATE_SRVADM N |
DBMS | Requirements for Creating the $SRVADM user |
Oracle | The following are the commands used to create the Oracle $SRVADM |
CREATE USER $SRVADM IDENTIFIED BY $PWD_SRVADM; GRANT CREATE SESSION TO $SRVADM WITH ADMIN OPTION; GRANT ALTER SESSION TO $SRVADM WITH ADMIN OPTION; GRANT CREATE USER TO $SRVADM; GRANT ALTER USER TO $SRVADM; GRANT DROP USER TO $SRVADM; GRANT CREATE ROLE TO $SRVADM; GRANT DROP ANY ROLE TO $SRVADM; GRANT CREATE TABLE TO $SRVADM WITH ADMIN OPTION; GRANT CREATE VIEW TO $SRVADM WITH ADMIN OPTION; GRANT CREATE TRIGGER TO $SRVADM WITH ADMIN OPTION; GRANT CREATE PROCEDURE TO $SRVADM WITH ADMIN OPTION; GRANT CREATE TABLESPACE TO $SRVADM; GRANT ALTER TABLESPACE TO $SRVADM; GRANT SELECT_CATALOG_ROLE TO $SRVADM; GRANT ANALYZE ANY DICTIONARY, ANALYZE ANY TO $SRVADM; ALTER USER $SRVADM DEFAULT ROLE SELECT_CATALOG_ROLE; ALTER USER $SRVADM DEFAULT TABLESPACE $ORA_DFLTSEG; |
|
Sybase | The Sybase $SRVADM is created as follows: |
use master go exec sp_addlogin $SRVADM, $PWD_SRVADM grant role sa_role to $SRVADM grant role sso_role to $SRVADM go |
DBMS | Requirements for Creating LLDBs & DBOs |
Oracle | The Oracle LLDB and its owner are the same entity. These are the requirements for creating the owner/LLDB: |
CREATE USER $MSIDB_DBNAME IDENTIFIED BY $PWD_MSIDB_DBNAME; CREATE ROLE msi_$MSIDB_DBNAME NOT IDENTIFIED; CREATE ROLE msir_$MSIDB_DBNAME NOT IDENTIFIED; GRANT CREATE SESSION TO $MSIDB_DBNAME; GRANT CREATE TABLE TO $MSIDB_DBNAME; GRANT CREATE VIEW TO $MSIDB_DBNAME; GRANT CREATE TRIGGER TO $MSIDB_DBNAME; GRANT CREATE PROCEDURE TO $MSIDB_DBNAME; GRANT ALTER SESSION TO $MSIDB_DBNAME; GRANT msi_$MSIDB_DBNAME TO $MSIDB_DBNAME WITH ADMIN OPTION; GRANT msir_$MSIDB_DBNAME TO $MSIDB_DBNAME WITH ADMIN OPTION; ALTER USER $MSIDB_DBNAME DEFAULT ROLE msi_$MSIDB_DBNAME, msir_$MSIDB_DBNAME; ALTER USER $MSIDB_DBNAME DEFAULT TABLESPACE $ORA_DFLTSEG QUOTA quota ON tablespace; where quota is either numberM if using a common storage segment (tablespace), or UNLIMITED if using a dedicated storage segment. |
|
The file $uetc/physdb.msirc must be updated, with
ownership given to $NSTDBA, and the contents: setenv MSIDB_SEG01 "tablespace,quota" where tablespace and quota must match the values used in creating the LLDB above |
|
Sybase | The Sybase LLDB is created as an actual Sybase database; its owner is created separately. Following are the requirements for creating the database: |
use master go create database $MSIDB_DBNAME on datadev = datasize log on logdev = logsize go exec sp_dboption $MSIDB_DBNAME 'trunc log on chkpt', true go use $MSIDB_DBNAME go checkpoint go exec sp_addgroup msi exec sp_addgroup msir go |
|
The 'trunc log on chkpt' option is NOT valid for production LLDBs and must be replaced with an option that will allow for proper database recovery in the event of failure or error. | |
The file $uetc/physdb.msirc must be updated, with
ownership given to $NSTDBA, and the contents: setenv MSIDB_SEG01 "datadev,datasize,DATA" setenv MSIDB_SEG02 "logdev,logsize,LOG" where the devices and sizes must match the values used in creating the LLDB above |
|
The Sybase database owner is created as shown below. If the $SYB_AUTODBO SETUP option is set to Y, then the database owner's name should be the same as the LLDB name ($MSIDB_DBNAME). | |
use master go exec sp_addlogin $DBO, $PWD_DBO exec sp_locklogin $DBO, 'lock' exec sp_modifylogin $DBO, defdb, master exec sp_locklogin $DBO, 'unlock' go use $MSIDB_DBNAME go exec sp_changedbowner $DBO go |
|
all | The NetSol Utility Script db_setup_phys may be run to update the physdb.msirc file. This interactive script requires the $SRVADM account password, but does not modify the database system master tables. |
Under this arrangement, the DBMS administrator will perform
the functions handled by the -b and possibly the -p options
of db_create; the $NSTDBA may thereafter execute
db_create -ocs. db_create will persist in requiring
the $SRVADM password; this is not actually used for the
-o, -c, and -s options.
These three options are equivalent to using: db_load_obj db_load_code db_set_security |
DBMS | Requirements for Creating non-Administrative Users |
Oracle |
CREATE USER $DBMS_USER IDENTIFIED BY $PWD_DBMS_USER; GRANT CREATE SESSION TO $DBMS_USER; ALTER USER $DBMS_USER DEFAULT ROLE NONE; ALTER USER $DBMS_USER DEFAULT TABLESPACE $ORA_DFLTSEG; |
Sybase |
use master go exec sp_addlogin $DBMS_USER, $PWD_DBMS_USER exec sp_locklogin $DBMS_USER, 'lock' exec sp_modifylogin $DBMS_USER, defdb, master exec sp_locklogin $DBMS_USER, 'unlock' go |
Oracle only - Requirements for tablespaces and datafiles |
To create a tablespace: CREATE TABLESPACE $TABLESPACE DATAFILE '$DATAFILE_PATH' SIZE $DATAFILE_SIZE ATTRIBUTES="AUTOEXTEND OFF EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO"; |
To add a datafile: ALTER TABLESPACE $TABLESPACE ADD $FILETYPE '$DATAFILE_PATH' SIZE $DATAFILE_SIZE AUTOEXTEND OFF; |
SETUP -hto list out the different options available. Does not install any software
SETUP $TOPDIR
to install all parts of the package (this is
sometimes called plain SETUP)
SETUP -b $TOPDIR
to install just the build part of the
package
SETUP -l $TOPDIR
(minus small L) to install a new
license file
# /shipcd/SETUP -h
Usage: SETUP [-Bbchlq] LeasePak-top-directory
options should be combined into single -... parameter;
order is not important; duplicates are ignored.
With no options, all install sections are performed:
Base, Config, QM, Build, and License
Options that include 'h' display this help screen
and then quit.
With any options present, Base, Config, QM, Build and License
are all turned off; the options then each turn a
particular section on again.
Options that include 'b' turn on Build
Options that include 'l' turn on License(s)
Enter a plus sign (+) to include the default banana in your response ... Enter the fruits you would like for breakfast. [banana]: |
Enter "*" to indicate blankness, or enter your own feeling [love]: |
This question has a variable default value [**]: |
# HLS |
Question | Your Value | |
Explanation | Default Value | ||
1 | |||
1a HLS |
A previous instance of LeasePak (v62a.$INST_ID) exists at this location; overwrite? (Y/N) [N] |
||
This question appears only if there is already an instance of
LeasePak already in the same $TOPDIR. To be considered to be a
pre-existing instance, the file $TOPDIR/etc/relscfg.msirc
must exist, indicating that the installation of the previous
instance at least completed the interview phase.
|
N | ||
1b HLS |
v62a previously installed at other location(s). Is this to be a separate install? (Y/N) [Y] |
||
If another instance of the release was installed at
another location on the Application host, and the
registry entries describing it are intact, then this question
is posed to the operator.
|
Y | ||
1c HLS |
Keep the identifier of the previous installation
(prev ID)? (Y/N) [Y] |
||
This question appears only if there was a previously installed
LeasePak Instance in the same $TOPDIR.
|
Y | ||
1d HLS |
Short identifier for this instance (2 to 4 characters) [**] | ||
This is the LeasePak Instance ID, and is not to be confused with the Oracle Instance name. The LeasePak Instance ID is used in the naming of some Queue Manager directories, and in the names of services connected directly to the LeasePak instance. | **On a new install, there is no default value. On an install in the same location, the ID from the previous LeasePak instance will default. | ||
1c HLS |
Comment to accompany the Instance ID when needed (0 to 20 characters) [**] | ||
The Instance ID Comment appears only in the entries in /etc/services for internet services directly connected to the LeasePak instance. | **On a new install, there is no default value. On an install in the same location, the ID Comment from the previous LeasePak instance will default. | ||
# HLS |
Question | Your Value | |
Explanation | Default Value | ||
2 | |||
2a HLS |
Name of the LeasePak Application Host [**] | ||
hostname of server where SETUP is being run; the hostname and uname -n commands should return the same value as both are used in LeasePak. Also, a cluster name may be used here for sites that support hot roll-over, where one diskarray can be supported by a second application host when the primary application host fails | **the result of the uname -n command | ||
2b HLS |
Path of End User Customized Code directory [$NSTDIR/cst] | ||
Must be a path outside of any specific release, yet should be within the NetSol area of the system. User-customized code, both SQL and shell script, is maintained here by the user for each build installed in an adjacent release instance. | $NSTDIR/cst, paralleling the $TOPDIR ($NSTDIR/v62a) | ||
# HLS |
Question | Your Value | |
Explanation | Default Value | ||
3 | |||
3a,b,c,d | Basic Queue Manager Directory Locations | ||
3a -L- |
Accept default Queue Manager paths? (Y/N) [Y] | ||
Linux only. HP and Solaris installations resume the interview
with question 3b.
N : questions 3b, 3c, and 3d are asked, where the operator may specify alternate paths.
Y :
the interview skips to question 3e, and the default Queue Manager paths will be used. |
Y | ||
3b HLS |
Parent of Queue Mgr $QMRELS directory [**] | ||
Linux: asked only if question 3a is answered with N HP & Solaris: always asked
This becomes the value of the variable $QMPPATH. $QMDIR
is formed by suffixing $QMRELS (qm_$QM_VERSION) to
$QMPPATH: $QMPPATH/$QMRELS. $QMDIR is the
directory that contains the Queue Manager software and
configuration files.
|
Linux: **$NSTDIR/$QMPURPOSE HP & Solaris: **$EFSDIR/$QMPURPOSE |
||
3c -L- |
Select system directory for temporary v62a files: 1=/tmp 2=/var/tmp [**] | ||
Linux: asked only if question 3a is answered N 1 - /tmp 2 - /var/tmp HP & Solaris: not asked mandatory value is #1, /tmp not editable
The Queue Manager makes extensive use of temporary files. This
question allows the Linux administrator to select one of
two supported system temporary directories, /tmp or
/var/tmp.
This selection (1 or 2) is stored in the variable
$QMSYSTMP.
In all cases, the temporary directory is formed by suffixing
$QMPURPOSE to the $SYSTMPDIR selected here:
$SYSTMPDIR/$QMPURPOSE is stored in the
environment variable $QMTMPDIR.
|
Linux: default is **2, /var/tmp HP & Solaris: not editable |
||
3d -L- |
Select directory for printer and batch queues: 1=$QMDIR/spool 2=/var/spool [**]: | ||
Linux: asked only if question 3a is answered N 1 - $QMDIR/spool 2 - /var/spool HP & Solaris: not asked mandatory value is #1, $QMDIR/spool not editable
The Queue Manager requires space to store the queue structures
and the batch and print files pending and during their execution
on the queue. This question allows the Linux administrator
to select one of two supported spooler directories,
$QMDIR/spool or /var/spool.
This selection (1 or 2) is stored in the variable
$QMSPOOL.
If the selection is #1, $QMDIR/spool, then that is the value
stored in $QMSPOOLDIR. If it is #2, /var/spool, then
the value stored in $QMSPOOLDIR is
/var/spool/$QMRELS.
|
Linux: default is **2, /var/spool HP & Solaris: not asked not editable |
||
3e,f,g,h,i | Required values for the Queue Manager (all supported platforms) | ||
3e HLS |
Install Queue Mgr startup/shutdown in rc1.d/rc3.d? (Y/N) [**] | ||
The $QMINITFNAME service (nst_qm_${INST_ID}62a)
starts and stops the Queue Manager depending on system
transitions from one run level to another.
Linux: installed using chkconfig utility, which places start or
kill links at every run level.
|
if $INITDIR/$QMINITFNAME: does not exist: **Y exists: **N |
||
3f HLS |
Shared memory key for Queue Mgr IPC [62000] | ||
The Queue Manager uses shared memory so that different processes running under it can communicate and avoid resource allocation conflicts. This key is the agreed upon identifier for that shared memory. It is also called Config:SYSTEM. | 62000 | ||
3g HLS |
Number of simultaneous jobs to allow for per queue[10] | ||
This parameter is highly variable depending on type of hardware,
the number of processors, LeasePak modules purchased, modules
normally run in EOP, EOP scheduling. EOP is
designed to run as many jobs in parallel as this parameter will
allow, within the constraints of logical dependencies of the
data. See
Job Limits.
|
10 | ||
3h HLS |
Number of Queue Mgr devices to configure in shared memory [150] | ||
The number of Queue Manager device slots to allocate in this LeasePak instance, stored in Config:MAXDEV. Roughly, this should be about 30% of the Config:MAXJOB parameter (see below, question 3i). | 150 | ||
3i HLS |
Number of Queue Mgr jobs to configure in shared memory [512] | ||
The number of Queue Manager job slots to allocate in this LeasePak instance, stored in Config:MAXJOB. Roughly equal to two times the number of concurrent users, plus four times the job limit for each batch queue, plus one for each print queue. See also Device and Job Slots. | 512 | ||
# HLS |
Question | Your Value | |
Explanation | Default Value | ||
4 | |||
In v62a: Question 4a is asked only on Solaris 9, Oracle 9iR2; Question 4b is asked only if the answer to question 4a is OS. |
|||
4a --S |
DBMS's to support in this release[] | ||
HP-UX: S - Sybase only Linux: O - Oracle only Solaris: select: O - Oracle S - Sybase OS - both |
|||
4b --S |
Primary DBMS in this release |
||
HP-UX: S - Sybase only; question not asked Linux: O - Oracle only; question not asked Solaris: select: O - Oracle S - Sybase The Primary Dbms becomes the one whose administrative environment is pointed to by the administrative accounts and thus is the database system accessible to $NSTADMIN and $NSTDBA by default. |
|||
4c HLS |
Naming convention (S=strict, L=Loose, N=New strict) (S/L/N) [S] | ||
NetSol recommends S, the Strict naming convention, and plans to make Strict the only and default choice starting in version v63a | S | ||
# HLS |
Question | Your Value | |
Explanation | Default Value | ||
5 | |||
The numbering of the remaining sections of the interview depend on
how many DBMS's are chosen. If only one is chosen, then it
makes up section 5; if two are chosen, then they make up sections 5
and 6. |
|||
Question 5a is asked only on Solaris 9, Oracle 9iR2, in v62a; Questions 5b and 5c are asked only on Linux RHE5, Oracle 11g, in v62a. | |||
5a --S |
Path of Oracle home [/opt/oracle/product/9.2] | ||
the directory where Oracle 9iR2 is installed on the host. The value of $ORACLE_HOME | /opt/oracle/product/9.2 | ||
5b -L- |
Oracle installation base path [/opt/oracle/11] | ||
the base directory where Oracle software products in Oracle 11gR2 are installed on the host; the name is stored in ORACLE_BASE. | /opt/oracle/11 | ||
5c -L- |
Oracle server product subdirectory; enter "*" to indicate this is an Application Host [product/11.2.0/dbhome_1]: |
||
the product sub-directory where the Oracle 64-bit
database server software is installed; the name is stored in
$ORA_PRODSRV; ORACLE_HOME is equal to
$ORACLE_BASE/$ORA_PRODSRV.
To support a local Oracle instance, either in a
Unified System or in a Split System as the
DBMS Host, the 64-bit database server should be
installed in ORACLE_BASE/product/11.2.0/dbhome_1.
To support the LeasePak server, either in a Unified System or
in a Split System as the Application Host, the
32-bit administrative Oracle Client software must be installed
in $ORACLE_BASE/product/11.2.0/client_1 (see Question 5d
below).
If this is an Application Host of a Split System, then
the operator should enter * to indicate this; there is no Oracle
database server product required on the Application Host
of a Split System.
|
product/11.2.0/dbhome_1 | ||
5d -L- |
Oracle client product subdirectory; enter "*" to indicate this is a DBMS Host [product/11.2.0/client_1]: |
||
The product sub-directory where the Oracle
32-bit administrative Oracle Client software is installed;
the name is stored in $ORA_PRODCLT;. On the
Application Host of a
Split System, ORACLE_HOME is equal to
$ORACLE_BASE/$ORA_PRODCLT.
To support a local Oracle instance, either in a
Unified System or in a Split System as the
DBMS Host, the 64-bit database server should
be installed in ORACLE_BASE/product/11.2.0/dbhome_1.
(see 5c above)
To support the LeasePak server, either in a Unified System
or in a Split System as the Application Host, the
32-bit administrative Oracle Client software must be
installed in $ORACLE_BASE/product/11.2.0/client_1.
If this is the DBMS Host of a Split System, then
the operator should enter "*" to indicate this; there is no
Oracle database client product required on the
DBMS Host of a Split System.
|
product/11.2.0/client_1 | ||
5e -LS |
Install Oracle startup/shutdown in rc1.d/rc3.d? (Y/N) [**] | ||
This will create the init service nst_dbora to stop and start the Oracle instances listed in /etc/netsol_dbms_instances |
Oracle 9iR2: if $INITDIR/dbora9i and $INITDIR/nst_dbora do not exist: **Y else **N Oracle 11gR2: if $INITDIR/nst_dbora does not exist AND the Oracle 64-bit database server product is installed: **Y else **N |
||
5f -LS |
Enter a plus sign (+) to include the default ** in your
response ... Oracle net service name(s) [**] |
||
The net service name by which the Oracle instance can be
found on the network; it must be defined in
$ORACLE_HOME/network/admin/tnsnames.ora
The meaning of this prompt is that the operator can enter several
Oracle net service names, as long as they exist in the file
$ORACLE_HOME/network/admin/tnsnames.ora. Wherever the operator
places a + in the input for this parameter, the default value
takes its place.
The first net service name is taken as the
primary database server. Typically, though not necessarily,
it runs on the combined host of a Unified System, or on
the DBMS host of a Split System, and any others run
remotely elsewhere on the network. The
primary database server may run remotely on the network as
well.
The database server name is copied into the variable
TWO_TASK prior to calling sqlplus to execute SQL
commands
Later on, this list of net service names is used to validate
the database server entered with the setup_new_env command.
|
**the first net service name in tnsnames.ora | ||
5g -LS |
Oracle default no-allocate tablespace for LeasePak users [users] | ||
Every Oracle database system user must have a default
tablespace.
The owner of the LLDB is granted the use of a tablespace
on which to build the LLDB. LeasePak users are granted an
Oracle role that permits them to access the objects in the
LLDB.
Therefore, LeasePak users do not require actual storage of their own
on their default tablespaces. However, they must still each
have a default.
This question requires the name of the tablespace which will be
assigned to the LeasePak users, and on which they will each have a
quota of zero, meaning that they cannot create their own
schema objects. This tablespace should already exist,
though its existence is not validated by SETUP.
Oracle usually creates a users tablespace; NetSol recommends
this as the answer to this question. However, the
administrator may designate any non-LeasePak and non-system
tablespace as the default for this purpose.
|
users | ||
# HLS |
Question | Your Value | |
Explanation | Default Value | ||
6 | |||
The numbering of the remaining sections of the interview depend on how many DBMS's are chosen. If only one is chosen, then that section is Section 5. If two are chosen, then those sections are 5 and 6. | |||
6a H-S |
Path of Sybase directory [/opt/sybase] | ||
The path where Sybase 12.5 is installed on the application host; this becomes the value of $SYBASE. | $EFSDIR/sybase | ||
6b H-S |
Install Sybase startup/shutdown in rc1.d/rc3.d? (Y/N) [**] | ||
This will create the init service nst_dbsyb. |
if exists $INITDIR/sybase12.5 or $INITDIR/nst_dbsyb **N otherwise **Y |
||
6c H-S |
Include Sybase backup server in startup/shutdown? (Y/N) [Y] | ||
This question appears only if the operator answers Y to question 6b; if the Sybase Backup Server has been configured to run from the application host, then it may be advisable to provide for its starting and stopping in conjunction with the dataservers | Y | ||
6d H-S |
Enter a plus sign (+) to include the default ** in your
response ... Sybase Dataserver name(s) [**] |
||
The dataserver name by which the Sybase database system
can be found on the network; it must be defined in
$SYBASE/interfaces
The meaning of this prompt is that the operator can enter several
Sybase dataserver names, as long as they exist in the file
$SYBASE/interfaces. Wherever the operator
places a + in the input for this parameter, the default value
takes its place.
The first dataserver name is taken as the
primary database server. Typically, though not necessarily,
it runs on the application host, and any others run remotely
elsewhere on the network. The primary database server may run
remotely on the network as well.
The database server name is copied into the variable
DSQUERY prior to calling isql to execute SQL
commands
|
**the first dataserver name in $SYBASE/interfaces | ||
6e H-S |
Sybase Backup Server name [**] | ||
This question is asked only if the answer to question 6c was Y. SETUP tries to obtain the backup server from $SYBASE/interfaces, but it can easily be fooled by names that match its algorithm too closely. The operator must type in the correct name if SETUP does not present the correct name as a default. This value is required in order to start and stop the backup server in coordination with the dataserver(s) through the init service nst_dbsyb | **An apparent backup server name from $SYBASE/interfaces | ||
6f H-S |
Automatically create Sybase database owner names? (Y/N) [Y] | ||
As described in db_create, each LLDB requires an owner, or DBO. If the operator selects Y to the SETUP question, then the DBO will always be created automatically with the same name as the LLDB, giving the semblance of operating the same way Oracle does. If the operator selects N, then the operator will have to provide a DBO name as well as a password each time an LLDB is created. | Y | ||
# HLS |
Question | Your Value | |
Explanation | Default Value | ||
7 | |||
The numbering of the remaining sections of the interview depend on
how many DBMS's are chosen. If only one is chosen, then this is
section 6; if two were chosen, then this is section 7.
These roles are discussed in detail in Admin Accounts. |
|||
7a HLS |
Database server administrator name [srvadm] | ||
The Database server administrator is a
database server-only role. This role is granted authority to
create new database system users, to grant them access to
LLDBs, to create new LLDBs.
The name of the Database server administrator is stored in the variable $SRVADM. |
srvadm | ||
7b HLS |
NST Admin login name [nsadm62a] | ||
The LeasePak release administrator is an OS user, responsible for managing the OS side of LeasePak. Often referred to as the $NSTADMIN, it owns the bulk of the OS files that comprise the release. Is the only user generally authorized to execute NetSol Utility Scripts commands | nsadm62a | ||
7c HLS |
NST DBA login name [nsdba62a] | ||
The LeasePak database administrator is an OS user, responsible for managing the DBMS side of LeasePak. Often referred to as the $NSTDBA, it alone can execute the $ubin/db_* utilities. | nsdba62a | ||
7d HLS |
NST group name [nst] | ||
The primary group, or login group, for all LeasePak user and admin accounts. Stored in $NSTGROUP. | nst | ||
# HLS |
Question | Your Value | |
Explanation | Default Value | ||
8 | |||
The numbering of the remaining sections of the interview depend on how many DBMS's are chosen. If only one is chosen, then this is section 7; if two were chosen, then this is section 8. | |||
8a HLS |
TCP port assignment for leasepakd inet daemon [6200] | ||
Any free TCP port available in /etc/services above 1024. The leasepakd service is installed with the service name nst_lp62a${INST_ID}_$LEASEPAKD_PORT. | 6200 | ||
8b HLS |
Max bad logins before lockout (0=disabled) [0] | ||
This parameter controls the bad-login lockout feature. The value must be 0 or greater. Zero disables the feature. Positive integers are taken to be the # of consecutive bad logins allowed before the system locks the user out. Only an administrator or administrative user can unlock such an account. | 0 | ||
8c HLS |
Install LeasePak TCP port in inet configuration? (Y/N) [**] | ||
Yes must be entered in order for the port to be installed and to be accessible to LeasePak client connections. |
If nst_lp62a${INST_ID}_- $LEASEPAKD_PORT exists in /etc/services, then **N else **Y |
||
# HLS |
Question | Your Value | |
Explanation | Default Value | ||
9 | |||
The numbering of the remaining sections of the interview depend on how many DBMS's are chosen. If only one is chosen, then this is section 8; if two were chosen, then this is section 9. | |||
9a HLS |
Install mPowerd daemon (Y/N) [N] | ||
If Yes is selected, questions 9b, 9c, and 9d are asked and the mPowerd service is installed with the service name nst_mp62a${INST_ID}_$MPOWERD_PORT. | N | ||
9b HLS |
TCP port assignment for mPowerd inet daemon [**] | ||
Always defaults to $LEASEPAKD_PORT + 6. The TCP port for the mPowerd internet service to listen for incoming XML client connections. Must be greater than 1024. | **$LEASEPAKD_PORT + 6 | ||
9c HLS |
Max bad logins before lockout (0=disabled) [0] | ||
This parameter controls the bad-login lockout feature. The value must be 0 or greater. Zero disables the feature. Positive integers are taken to be the # of consecutive bad logins allowed before the system locks the user out. Only an administrator or administrative user can unlock such an account. | 0 | ||
9d HLS |
Install mPower TCP port in inet configuration? (Y/N) [**] | ||
Yes must be entered in order for the port to be installed and to be accessible to mPower client connections. |
If nst_mp62a${INST_ID}_- $MPOWERD_PORT exists in /etc/services, then **N else **Y |
# /shipcd/SETUP /opt/nst/v62a 2010-04-15 12:39:18 SETUP /opt/nst/v62a: Loading setup VERSION file ... 2010-04-15 12:39:18 SETUP /opt/nst/v62a: Setting up top dir ... 2010-04-15 12:39:18 SETUP /opt/nst/v62a: Clearing /opt/nst/v62a ... 2010-04-15 12:39:18 SETUP /opt/nst/v62a: Loading in basic system image ... 2010-04-15 12:39:18 SETUP /opt/nst/v62a: Extending /shipcd/VERSION ... 2010-04-15 12:39:18 SETUP /opt/nst/v62a: Loading Queue Manager script library ... 2010-04-15 12:39:18 SETUP /opt/nst/v62a: Reading in extended version file ... 2010-04-15 12:39:18 SETUP /opt/nst/v62a: Running 'Configure Release' utility ... 2010-04-15 12:39:19: reg_rels: Start: -fi /etc/netsol.conf v62a 2010-04-15 12:39:19: reg_rels: End Configure Release -- Type Ctrl-C at any time to abort operation ==> 1. Instance Name <== Short identifier for this instance (2 to 4 characters) []: prod Comment to accompany the identifier when needed (0 to 20 characters) []: Production System ==> 2. Server Name <== Name of the LeasePak Application Host [leaseco]: Path of End User Customized Code directory [/opt/nst/cst]: ==> 3. Queue Manager <== No existing Queue Manager found Accept default Queue Manager paths? (Y/N) [Y]: n Parent of Queue Mgr qm_3_31 directory [/opt/nst/qm_prod62a]: /usr/shared/qm_prod62a Select system directory for temporary v62a files: 1=/tmp 2=/var/tmp [2]: 1 Select directory for printer and batch queues: 1=$QMDIR/spool 2=/var/spool [2]: 2 Install Queue Mgr startup/shutdown in rc1.d/rc3.d? (Y/N) [Y]: Shared memory key for Queue Mgr IPC [62000]: Number of Queue Mgr devices to configure in shared memory [150]: Number of Queue Mgr jobs to configure in shared memory [512]: 313 Number of simultaneous jobs to allow for per queue[10]: 8 ==> 4. DBMS configuration <== Naming convention (S=strict, L=Loose, N=New strict) (S/L/N) [S]: ==> 5. Oracle configuration <== Oracle installation base path [/opt/oracle/11]: Oracle server product subdirectory; enter "*" to indicate this is an Application Host [product/11.2.0/dbhome_1]: Oracle client product subdirectory; enter "*" to indicate this is a DBMS Host [product/11.2.0/client_1]: Install Oracle startup/shutdown in rc1.d/rc3.d? (Y/N) [N]: y Enter a plus sign (+) to include the default LEASECO in your response ... Oracle net service name(s) [LEASECO]: + SOLARIS_ORACLE Oracle default no-allocate tablespace for LeasePak users [users]: ==> 6. Required Leasepak & DBMS roles <== Database server administrator name [srvadm]: NST Admin login name [nsadm62a]: NST DBA login name [nsdba62a]: NST group name [users]: ==> 7. Leasepakd daemon configuration <== TCP port assignment for leasepakd inet daemon [6200]: Max bad logins before lockout (0=disabled) [0]: Install LeasePak TCP port in inet configuration? (Y/N) [Y]: ==> 8. mPowerd daemon configuration <== Install mPowerd daemon (Y/N) [N]: n ==> 1. Instance Name <== Release Inst Mode: NEW Instance Id: prod Instance Id Cmnt: Production System Top Directory: /opt/nst/v62a NST Directory: /opt/nst External File Sys: /opt LPIv62a.prod ==> 2. Server Name <== Unix OS type: Linux Server name: leaseco Release path: /opt/nst/v62a Release sequence: 620 Custom code path: /opt/nst/cst Init directory: /etc/init.d ==> 3. Queue Manager <== Install type: new Accept std paths? N Queue Mgr path: /opt/nst/qm/qm_prod62a/qm_3_31 QMI3_31.prod Queue Mgr in Rc? Y Queue Mgr shmemkey: 62000 Max Queue devices: 150 Max Queue jobs: 313 Queue Mgr systmp: 1 Queue Mgr tmp dir: /tmp/qm_prod62a Queue Mgr spool: 2 QueueMgr spool dir: /var/spool/qm_prod62a Queue Mgr purpose: qm_prod62a Queue job limit: 8 Queue job lim file: /opt/nst/qm/qm_prod62a/qm_3_31/library/qjob_limit Calc QMgr params? N ==> 4. DBMS configuration <== DBMS's in use: ora Primary DBMS: ora Naming convention: S ==> 5. Oracle configuration <== Oracle major rev: 11 Oracle base: /opt/oracle/11 Unified host: Oracle srv product: product/11.2.0/dbhome_1 Oracle clt product: product/11.2.0/client_1 Oracle home: /opt/oracle/11/product/11.2.0/dbhome_1 Oracle library: /opt/oracle/11/product/11.2.0/client_1/lib Oracle utility pth: /opt/oracle/11/product/11.2.0/dbhome_1/bin Oracle in Rc? Y Oracle inst acct: Oracle services: LEASECO SOLARIS_ORACLE Oracle service nm: LEASECO Oracle def tblspc: users Oracle NLS_LANG: American_America.WE8ISO8859P1 ==> 6. Required Leasepak & DBMS roles <== DBMS server admin: srvadm NST Admin login: nsadm62a NST DBA login: nsdba62a NST group: nst ==> 7. Leasepakd daemon configuration <== Leasepakd Port: 6200 Lockout Count: 0 Install Port? Y Port installtype: ni Port to replace: LPKI6200.prod Configuration complete 2010-04-15 12:46:29 SETUP /opt/nst/v62a: 'Configure Release' terminated normally Do you wish to [R]erun 'Configure Release' or to [C]ontinue with installation? (R/C): c 2010-04-15 12:46:51 SETUP /opt/nst/v62a: Response=c; continuing with installation ... 2010-04-15 12:46:51 SETUP /opt/nst/v62a: Loading the release configuration created by 'Configure Release' ... 2010-04-15 12:46:51 SETUP /opt/nst/v62a: Queue Manager installation type is new 2010-04-15 12:46:51 SETUP /opt/nst/v62a: Setting up Queue Manager dir ... 2010-04-15 12:46:52 SETUP /opt/nst/v62a: Installing Queue Manager ... 2010-04-15 12:46:52 SETUP /opt/nst/v62a: Attaching to Dedicated Queue Manager instance ... 2010-04-15 12:46:52 SETUP /opt/nst/v62a: Setting up basic Queue Manager configuration; Administrator must handle print and batch queue setup 2010-04-15 12:46:52 SETUP /opt/nst/v62a: Setting Queue Manager job limit ... 2010-04-15 12:46:52 SETUP /opt/nst/v62a: Queue Manager configuration complete 2010-04-15 12:46:52 SETUP /opt/nst/v62a: Queue Manager installed 2010-04-15 12:46:52 SETUP /opt/nst/v62a: Setting up Customized Software directory /opt/nst/cst ... 2010-04-15 12:46:52 SETUP /opt/nst/v62a: Installing build 6.20.3118 ... 2010-04-15 12:46:55 SETUP /opt/nst/v62a: Build 6.20.3118 installed 2010-04-15 12:46:55 SETUP /opt/nst/v62a: Attaching build 6.20.3118 to live ... 2010-04-15 12:46:56 SETUP /opt/nst/v62a: Build attached 2010-04-15 12:46:56 SETUP /opt/nst/v62a: Fetch license(s) ... 2010-04-15 12:46:56 SETUP /opt/nst/v62a: Copying /tmp/lplicense.ora ... 2010-04-15 12:46:56 SETUP /opt/nst/v62a: Install license(s) ... 2010-04-15 12:46:56 SETUP /opt/nst/v62a: Setting file protections on v62a 2010-04-15 12:46:56 set_access: Start: /opt/nst/v62a/boot/base_sys.prot 2010-04-15 12:46:56 set_access: End: /opt/nst/v62a/boot/base_sys.prot 2010-04-15 12:46:56 set_access: /opt/nst/v62a/boot/base_sys.prot: 45 Item(s); 0 Error(s) 2010-04-15 12:46:56 SETUP /opt/nst/v62a: Setting file protections on Build 2010-04-15 12:46:56 set_access: Start: /opt/nst/v62a/live/lib/bld.prot 2010-04-15 12:47:16 set_access: End: /opt/nst/v62a/live/lib/bld.prot 2010-04-15 12:47:16 set_access: /opt/nst/v62a/live/lib/bld.prot: 1764 Item(s); 0 Error(s) 2010-04-15 12:47:16 SETUP /opt/nst/v62a: Setting file protections on Queue Manager ... 2010-04-15 12:47:16 set_access: Start: /opt/nst/qm/qm_prod62a/qm_3_31/library/qm_3_31_rt.prot 2010-04-15 12:47:17 set_access: End: /opt/nst/qm/qm_prod62a/qm_3_31/library/qm_3_31_rt.prot 2010-04-15 12:47:17 set_access: /opt/nst/qm/qm_prod62a/qm_3_31/library/qm_3_31_rt.prot: 112 Item(s); 0 Error(s) 2010-04-15 12:47:17 SETUP /opt/nst/v62a: Setting protections on /opt/nst/cst ... 2010-04-15 12:47:17 SETUP /opt/nst/v62a: Loading basic shell function libraries ... 2010-04-15 12:47:17 SETUP /opt/nst/v62a: Creating Queue Manager release tmp directory ... 2010-04-15 12:47:17 SETUP /opt/nst/v62a: Setting up bottom-most Queue Manager tmp directory ... 2010-04-15 12:47:17 SETUP /opt/nst/v62a: Marking Queue Manager install complete ... 2010-04-15 12:47:17 SETUP /opt/nst/v62a: Creating Queue Manager release spool directory ... 2010-04-15 12:47:17 SETUP /opt/nst/v62a: Generating common configuration scripts ... Writing runtime msirc file... USEPKG boot vi.20 USEPKG unix rhes5 USEPKG ora 11g USEPKG dbms vi.20 USEPKG s7 3_31 USEPKG lprt vi.20 USEPKG vms vi.20 USEPKG msi vi.20 Writing lpkd file... USEPKG boot vi.20 USEPKG unix rhes5 USEPKG ora 11g USEPKG dbms vi.20 USEPKG s7 3_31 USEPKG lprt vi.20 USEPKG vms vi.20 USEPKG msi vi.20 Writing com file... USEPKG boot vi.20 USEPKG unix rhes5 USEPKG ora 11g USEPKG dbms vi.20 USEPKG s7 3_31 USEPKG lprt vi.20 USEPKG vms vi.20 USEPKG msi vi.20 File generation complete; installing new config files... Installation of config files is complete 2010-04-15 12:47:28 SETUP /opt/nst/v62a: Configuration generation is complete 2010-04-15 12:47:28 SETUP /opt/nst/v62a: Loading generated settings via boot environment ... 2010-04-15 12:47:28: reg_rels: Start: -r /etc/netsol.conf /opt/nst/v62a 2010-04-15 12:47:28: reg_rels: End 2010-04-15 12:47:28 SETUP /opt/nst/v62a: Performing LeasePak System installation ... 2010-04-15 12:47:28 SETUP: Oracle setup jobs require the password for '/ as sysdba' 2010-04-15 12:47:28 SETUP: Oracle setup jobs also require that the DBMS server processes be running Oracle '/ as sysdba' account 'sysdba' password: ****** 2010-04-15 12:49:55 lp_sys_install: Start - YNYNYN 2010-04-15 12:49:55 lp_sys_install: Install Queue Manager in rc? Y 2010-04-15 12:49:55 lp_sys_install: Installing Queue Manager ... 2010-04-15 12:49:55 lp_sys_install: Creating /etc/rc.d/init.d/nst_qm_prod62a ... 2010-04-15 12:49:55 lp_sys_install: Queue Manager complete 2010-04-15 12:49:55 lp_sys_install: Install Oracle 11g startups in rc? Y 2010-04-15 12:49:55 lp_sys_install: Installing Oracle 11g ... 2010-04-15 12:49:55 lp_sys_install: Creating /etc/rc.d/init.d/nst_dbora ... 2010-04-14 11:30:54 lp_sys_install: * * * Be sure to update /etc/netsol_dbms_instances ($DBMS_INSTANCES_LIST) as needed * * * 2010-04-15 12:49:55 lp_sys_install: Oracle 11g complete 2010-04-15 12:49:55 lp_sys_install: Install leasepakd port in xinetd configuration? Y 2010-04-15 12:49:55 lp_sys_install: Installing leasepakd xinetd config ... 2010-04-15 12:49:55 lp_sys_install: Installing service nst_lp62aprod_6200... 2010-04-15 12:49:55 lp_sys_install: Deleting any existing nst_lp62aprod_6200 or leasepakd_v62a_6200 from /etc/services and /etc/xinetd.d/nst_lp62aprod_6200 ... 2010-04-15 12:49:55 lp_sys_install: Removing nst_lp62aprod_6200 leasepakd_v62a_6200 from (x)inetd configuration ... 2010-04-15 12:49:55 lp_sys_install: Adding nst_lp62aprod_6200 to /etc/services ... 2010-04-15 12:49:55 lp_sys_install: Adding nst_lp62aprod_6200 to /etc/xinetd.d/nst_lp62aprod_6200 ... 2010-04-15 12:49:55 lp_sys_install: Restarting (x)inetd ... Stopping xinetd: [ OK ] Starting xinetd: [ OK ] Reloading configuration: [ OK ] 2010-04-15 12:49:55 lp_sys_install: leasepakd xinetd config complete 2010-04-15 12:49:55 lp_sys_install: Install mPowerd port in xinetd configuration? N 2010-04-15 12:49:55 lp_sys_install: End 2010-04-15 12:49:55 SETUP /opt/nst/v62a: Creating server administrator account(s), 'srvadm', in DBMS(s) ora ... 2010-04-15 12:49:55 db_add_srvadm: Add Oracle server administrator srvadm 2010-04-15 12:49:55 db_add_srvadm: Running commands as sysdba 2010-04-15 12:49:55 db_add_srvadm: Fetching count of srvadm logins in DBMS ora ... 2010-04-15 12:49:55 db_add_srvadm: Oracle server administrator 'srvadm' already exists 2010-04-15 12:49:55 db_add_srvadm: Oracle server administrator will be removed and recreated New Server Administrator 'srvadm' password: ****** 2010-04-15 12:50:40 db_add_srvadm: Oracle server administrator added 2010-04-15 12:50:40 db_add_srvadm: End 2010-04-15 12:50:40 SETUP /opt/nst/v62a: Locating nsadm62a and nsdba62a home directories ... 2010-04-15 12:50:40 SETUP /opt/nst/v62a: Performing DBMS-specific setup tasks ... 2010-04-15 12:50:40 SETUP /opt/nst/v62a: Creating admin environment for ora DBMS ... 2010-04-15 12:50:40 setup_new_env: -tnfc TEST adm_ora ora LEASECO non_admora_62a live; Start 2010-04-15 12:50:40 setup_new_env: Creating environment directory structure... 2010-04-15 12:50:41 setup_new_env: Creating logdb.*... 2010-04-15 12:50:41 setup_new_env: Creating envdb.msirc... 2010-04-15 12:50:41 setup_new_env: Creating msidba placeholder ... 2010-04-15 12:50:41 setup_new_env: Creating .lp*... 2010-04-15 12:50:41 setup_new_env: Setting environment security... 2010-04-15 12:50:41 setup_new_env: End 2010-04-15 12:50:41 SETUP /opt/nst/v62a: Setting file protections on bootstrap files ... 2010-04-15 12:50:41 set_boot_prot: Start 2010-04-15 12:50:41 set_boot_prot: Setting protections on miscellaneous boot files ... 2010-04-15 12:50:41 set_boot_prot: End 2010-04-15 12:50:42 SETUP /opt/nst/v62a: setup is finished #Post-SETUP TasksWhat You Need To Know To Understand This Section ...
- Environments
- LLDB
- Builds
- LeasePak
- LeasePak instance
- SETUP
- NetSol Technologies North America
- Distribution
- LeasePak license
- LeasePak client
- End of Period processing
- Internet services
- Upper Level Directories
- NetSol Registry
- General
- Users & Roles
- Queue Manager
In the following sections, the output from SETUP shown above is annotated and explained. Places where there is known to be a potential for problems are pointed out.
- SETUP begins with loading the VERSION file. This file is part of the CD image shipped by NetSol, and contains information that is universal to all LeasePak installations in v62a and information that is particular to the hardware platform for which the CD image is intended.
- The top directory is cleared out. If LeasePak was installed in this area previously, a number of elements of that installation are maintained:
- the $TOPDIR/env directories, except for adm_*
- user data sets in $datasets
- the previous installation's relscfg.msirc
- The basic system image (top directory tree) is laid down from CD.
- Additional variables based on the location of SETUP and $TOPDIR are set.
- The registry is searched for any previous installations of v62a on the same Application host.
- The Configure Release interview is run. Refer to SETUP Questions for important information about responding to the interview. The operator is given the opportunity to re-run the interview until satisfied with the results, which are displayed after each run.
After the operator types C to continue following the interview, the Queue Manager installation begins in the directory designated in the interview.
- If the Queue Manager was already installed in that location, certain data is preserved:
- Printer and Queue definitions: start_queues.com, the printer mapping commands from Config, and DEVINIT
- The previous installation's ATT attachment file
- The $QMDIR directory is cleared out and the image from the CD is laid down. A new ATT attachment file is written.
- The Config file is now self-customizing. The self-modifying file is run and customizes itself to create the new Config. However, the administrator must still enter the printer mapping commands.
- The queue job limit file is setup.
- The preserved data from the previous installation, if any, is restored. The preserved printer mapping commands are left in the file $QMDIR/library/PRIOR.QMLP. DEVINIT is restored, as is start_queues.com.
- If this is the first installation under the given $NSTDIR, then the $CSTDIR is set up.
- The build is installed from CD. It is linked to $TOPDIR/live to become the live build. A subtree for the build is created in $CSTDIR
- If the platform supports multiple database systems, and if the operator indicated in the interview that fewer than all are to be installed, then any others are removed from the newly-installed build. This means the $live/exe/$DBTYPE and $live/sql/$DBTYPE directories for each uninstalled database system are removed.
- The license file(s) for any remaining database systems should have been copied to the /tmp directory before running SETUP. If SETUP cannot find them, it stops and prompts for the operator to get the file(s) in place. SETUP will not proceed until a license for each installed database system has been found and retrieved.
- The license file(s) are copied into $CFGDIR, and also to their respective $live/exe/${DBTYPE} directories, where each is renamed to lplicense.dat
- The set_access command is run 3 times, once each for base system, for the build, and for the Queue Manager.
- set_access sets the owner, group and access modes of the files and directories in the list given to it.
- set_access is designed to tolerate a certain number of errors, usually 50, before aborting in error. The errors are reported to the screen, but only if they exceed the limit in quantity do these errors affect SETUP.
- There should be zero errors reported. If there are a few, but not enough to cause SETUP to abort, then it is possible that the installation was still successful. However, check with the NetSol Help Desk if any errors are reported during SETUP.
- SETUP creates the Queue Manager temporary directories, $QMTMPDIR/*.
- The Queue Manager spooler directory, $QMSPOOLDIR, is also created at this time.
- The program cfg_gen is then run. This program takes the relscfg.msirc created by the SETUP interview, the extended VERSION file now in $BOOTDIR/version.msirc, plus the templates in $live/lib/*.mtx and creates 3 files. These files define essentially the entire LeasePak release instance.
- The first file is ${HOST}_v62a_rt.msirc, and it contains setenv commands to build up the environment. When a LeasePak user logs into the Application host, this file is executed via the user's .lplogin or .lpprofile start-up file, and then that session is fully LeasePak enabled.
- The second file is ${HOST}_v62a_rt.lpkd, and it contains simple assignments that can be interpreted by leasepakd and mPowerd. When a LeasePak user logs into the Application host through the LeasePak Windows Client, this file is executed to ensure that the user environent is fully setup.
- The third file is ${HOST}_v62a_rt.com and it contains assignments to the environment in the Queue Manager DCL scripting language. It is executed at the beginning of every EOP batch job to ensure that the environment is fully configured before running the EOP driver.
- With the completion of the configuration generation, the release instance can now be registered in the /etc/netsol.conf registry. At this time, this file only associates the instance ID of the LeasePak instance with the top directory and thus also the release version of LeasePak.
- Next the program lp_sys_install is run. It is in charge of setting up the services requested by the operator via the interview. lp_sys_install does not start any of the init services; it only installs them.
- It sets up the Queue Manager init service, nst_qm_${INST_ID}62a, if requested.
- It sets up the Sybase init service, nst_dbsyb, if requested.
- It sets up the Oracle init service, nst_dbora, if requested.
- It sets up the leasepakd internet service nst_lp62a${INST_ID}_$LEASEPAKD_PORT on the $LEASEPAKD_PORT port.
- It sets up the mpowerd internet service nst_mp62a${INST_ID}_$MPOWERD_PORT on the $MPOWERD_PORT port.
- For each installed database system, do:
IMPORTANT NOTEFailed Login/Bad Password Message for Oracle 9iR2 srvadmIf SETUP created the $SRVADM account successfully, yet attempts to use the account receive failed login/bad password messages, the administrator should check for the following Oracle initialization parameter:
REMOTE_LOGIN_PASSWORDFILE = EXCLUSIVE
- Find home directories of $NSTADMIN and $NSTDBA
- For each installed database system, do:
- create adm_${DBTYPE} administrative environment
- if primary database system, copy .lp* from the newly created environment to the $NSTADMIN and $NSTDBA home directories
- Perform final owner/group/access mode changes
What You Need To Know To Understand This Section ...Once LeasePak is installed, the administrator should log onto the application host as $NSTADMIN, and execute:# gidThis produces output similar to the example below. This output should be emailed to the NetSol Help Desk, who will shortly email back the permanent license. The permenent license file should then replace the temporary license in the /etc directory.% gid VX/RT 00 01 53 48 46 21 00 00 0000 0 VX/BASRT 00 01 53 48 46 21 00 00 0000 0 VX/SMG 00 01 53 48 46 21 00 00 0000 0 VX/DCL 00 01 53 48 46 21 00 00 0000 0 VX/BASIC 00 01 53 48 46 21 00 00 0000 0 VX/RMS 00 01 53 48 46 21 00 00 0000 0 VX/JSP 00 01 53 48 46 21 00 00 0000 0 VX/SOR 00 01 53 48 46 21 00 00 0000 0 VX/FMS 00 01 53 48 46 21 00 00 0000 0 VX/FLT 00 01 53 48 46 21 00 00 0000 0 VX/DATAX 00 01 53 48 46 21 00 00 0000 0 VX/VTWIN 00 01 53 48 46 21 00 00 0000 0 VX/FPP 00 01 53 48 46 21 00 00 0000 0 VX/QSORT 00 01 53 48 46 21 00 00 0000 0 B2/RMS 00 01 53 48 46 21 00 00 0000 0 B2/RT 00 01 53 48 46 21 00 00 0000 0 BP/RT 00 01 53 48 46 21 00 00 0000 0 B2/DATAX 00 01 53 48 46 21 00 00 0000 0 B2/QSORT 00 01 53 48 46 21 00 00 0000 0 BTRAN/BP 00 01 53 48 46 21 00 00 0000 0 B2/BTRAN 00 01 53 48 46 21 00 00 0000 0 BTRAN/QB 00 01 53 48 46 21 00 00 0000 0 BTRAN/CB 00 01 53 48 46 21 00 00 0000 0 QB/RT 00 01 53 48 46 21 00 00 0000 0 CB/RT 00 01 53 48 46 21 00 00 0000 0
What You Need To Know To Understand This Section ...After running SETUP, the administrator must complete the Queue Manager setup by defining site batch queues, printers and print queues, and associated devices.See the following sections:What You Need To Know To Understand This Section ...After running SETUP to install LeasePak/Oracle, if the administrator chose to have the Oracle init service nst_dbora installed, the file /etc/netsol_dbms_instances may need to be maintained./etc/netsol_dbms_instances contains an assignment to the variable ORA_INSTANCES. The value assigned to ORA_INSTANCES should be a quoted, space-separated list of Oracle instances to be started or stopped on the Application host when the run level changes. These values are used by the service nst_dbora to help manage these instances.