ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaly_5.4.0.1/rzalyapplications.htm

110 lines
7.4 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="topic" />
<meta name="DC.Title" content="Application considerations for independent disk pools" />
<meta name="DC.Relation" scheme="URI" content="rzalyplan.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2002, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2002, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzalyapplications" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Application considerations for independent disk pools</title>
</head>
<body id="rzalyapplications"><a name="rzalyapplications"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Application considerations for independent disk pools</h1>
<div><p>When you are designing or restructuring your application environment for
use with independent disk pools, there are several things you should be aware
of. A few of these considerations include the existence of multiple databases,
the objects that can and cannot be created in an independent disk pool, how
the library list works, and the placement of programs and data in the correct
database.</p>
<p>When a primary independent disk pool is made available for the first time,
a new database with the same name is also generated by default. See <a href="rzalydatabases.htm">Independent disk pools with distinct databases</a> for more information.
If you write an application to access files and libraries in a disk pool group,
you must specify how to access that specific database. Some of your options
include:</p>
<ul><li>Use the Set ASP Group <a href="../cl/setaspgrp.htm">(SETASPGRP)</a> command.</li>
<li>In an <a href="../db2/rbafzmst02.htm">SQL
environment</a>, use CONNECT to specify the right database. To achieve
the fastest performance, make sure that the database to which you perform
an SQL CONNECT operation corresponds with your current library namespace.
You may need to use the SETASPGRP command first to achieve this. If the SQL
CONNECT function is not operating within the same library namespace, the application
uses Distributed Relational Database Architecture<sup>(TM)</sup> support,
which can affect performance.</li>
<li>Use the Change Job Description (<a href="../cl/chgjobd.htm">CHGJOBD</a>) command to set the initial ASP group in the
job description for a user profile. </li>
</ul>
<p>As you write applications that create objects, you must know which objects
are supported. See <a href="rzalysupportedunsupportedobjects.htm">Supported and unsupported object types</a>. If your application uses the Create Library (<a href="../cl/crtlib.htm">CRTLIB</a>) command, you must specify CRTLIB
ASP(*ASPDEV) ASPDEV(<em>asp-device-name</em>). If you do not specify these parameters
for CRTLIB, the library is created in the system disk pool by default. However,
if you use the SQL statement, CREATE COLLECTION, the default for the IN ASP
clause is the current library namespace.</p>
<p>When you are operating in an SQL environment, permanent SQL
objects cannot span independent disk pool boundaries. For example, you cannot
create a view of an independent disk pool object in the system disk pool.
This action fails. </p>
<p>A similar concept is true for commitment control with independent disk
pools. If you are connected to an independent disk pool relational database,
you cannot make committable changes against objects in any other disk pool.
When commitment control is active, you have read-only access. You can make
committable changes against QTEMP, but you might receive error messages.
</p>
<p>It might also be helpful to understand how the library list works when
independent disk pools are implemented. When the library list includes QSYS,
QSYS2, or SYSIBM, the <a href="rzalymultiplesystemlibraries.htm">Multiple system libraries</a> in the independent disk pool (QSYSnnnnn, QSYS2nnnnn,
SYSIBnnnnn) are searched before the libraries in the system disk pool. If
the object is found in the independent disk pool, the system disk pool will
not be searched. In addition, if you switch to a different disk pool group,
any libraries that were in the previous library list are removed from the
current library list. </p>
<p>You also need to carefully consider where you store data, applications,
and application exit programs. It is recommended that data should be stored
in independent disk pools. If your independent disk pools are dedicated to
the server, it might work to store applications and exit programs in the
system database so that they are always accessible, regardless of what disk
pool group is associated with a job. If you use the independent disk pool
in a clustered environment, you must remember that when the disk pool is
switched to another server, the exit program must be available there as well.
In this case, it may be more appropriate to store the applications and exit
programs in the independent disk pool. Remember that the cluster resource
group (CRG) exit program cannot exist in an independent disk pool.</p>
<p id="rzalyapplications__v5r3"><a name="rzalyapplications__v5r3"><!-- --></a>If you are using the independent disk pool in a clustered environment,
you must also remember that the user profiles are not stored in the independent
disk pool. They are kept in the system disk pool. If an independent disk pool
fails over or is switched to another node where the user profile does not
currently exist, a user profile might be created on the new node. For a user
profile to be created, it must own objects on the switchable disk pool, be
the primary group of objects on the switchable disk pool, or be privately
authorized to objects on the switchable disk pool. The new user profile has
no special authorities and the password is set to *NONE.</p>
<p>Authorization lists may also be created. For an authorization
list to be created, it must not currently exist on the target system and it
must secure an object on the switchable disk unit. When an authorization list
is created, the public authority is set to *EXCLUDE, and no users are given
private authority to it.</p>
<p>If you are operating in a clustered environment, see <a href="../rzaig/rzaigapplications.htm">Cluster applications</a> for more information
about writing and implementing highly available applications within your cluster.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzalyplan.htm">Plan for independent disk pools</a></div>
</div>
</div>
</body>
</html>