<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:tocPath="Setting Group Reservations" MadCap:InPreviewMode="false" MadCap:PreloadImages="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="WebHelp" lang="en-US" xml:lang="en-US" MadCap:PathToHelpSystem="../" MadCap:HelpSystemFileName="Default.xml" MadCap:SearchType="Stem">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Manually Editing the Reservation File</title>
        <link href="SkinSupport/MadCap.css" rel="stylesheet" />
        <link href="Resources/Stylesheets/SFNT_Flare.css" rel="stylesheet" />
        <script src="SkinSupport/MadCapAll.js" type="text/javascript">
        </script>
    </head>
    <body>
        <p class="MCWebHelpFramesetLink MCWebHelpFramesetLinkTop" style="display: none;"><a href="../Default_CSH.htm#Manually_Editing_the_Reservation_File.htm" style="font-weight: bold;">Open the Table of Contents</a>
        </p>
        <div class="MCBreadcrumbsBox_0"><span class="MCBreadcrumbsPrefix">You are here: </span><a class="MCBreadcrumbsLink" href="Setting_Group_Reservations.htm">Setting Group Reservations</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">Manually Editing the Reservation File</span>
        </div>
        <h1><a name="kanchor76"></a>Manually Editing the Reservation File</h1>
        <p>For UNIX computers, you will need to edit the reservation file manually 
 rather than using the WlsGrMgr utility.</p>
        <p>A group specification consists of:</p>
        <ul>
            <li class="Bullets_1" value="1">The name of the feature 
 for which the reservation applies;</li>
            <li class="Bullets_1" value="2">The name of the group;</li>
            <li class="Bullets_1" value="3">The number of license 
 tokens reserved for that group;</li>
            <li class="Bullets_1" value="4">And the user names, host IDs, IP addresses (IPv4 and IP v6) of computers that belong to that group that will included 
 or excluded from using the feature.</li>
            <li value="5">
                <p class="SFNT_Note">The first expression (either include or exclude) used in the line always has the highest priority.</p>
            </li>
        </ul>
        <p>Group reservations should be entered according to the following format, 
 with one group per line:</p>
        <p class="code" style="margin-left: 40px;">feature_name[ 
 ,ver ]:group_name:num_of_licenses:{ 
 user_name | 
 computer }</p>
        <p>One or more of <span style="font-style: italic;">user_name</span> 
 and/or <span style="font-style: italic;">computer</span> may be specified, 
 but at least one value must be specified in the last field. Version number 
 is optional. If no version number is specified, only the feature name 
 is used.</p>
        <h3 class="SpacedHead"><span style="font-weight: bold;">Tip:</span> <![CDATA[ ]]></h3>
        <p class="SpacedPara">The characters 
 $ and ! have special meaning: $ indicates the computer name, and ! indicates 
 a logical NOT.</p>
        <p>For example, two users, one computer in <span style="font-style: italic;">group 
 1</span>:</p>
        <p class="code" style="margin-left: 40px;">stars:group1:2:tom bryant 
 $athena</p>
        <p>One user, one computer in <span style="font-style: italic;">group 2</span>:</p>
        <p class="code" style="margin-left: 40px;">stars:group2:1:doug 
 $0x4f3c5801</p>
        <p>One computer to be excluded from dots, two licenses to be reserved for 
 <span style="font-style: italic;">jill</span>:</p>
        <p class="code" style="margin-left: 40px;">dots:group1:2:!$0x592ae8b0 jill</p>
        <p class="SFNT_Note">In these examples, 
 the two groups denoted as <span style="font-style: italic;">group1</span> 
 are distinct because they specify different feature names. </p>
        <p>You can also edit a reservation file manually, on Windows as shown below:</p>
        <p class="code" style="margin-left: 40px;">featurename,[version],capacity 
 of license,flag,team group name,tokens reserved for teamgroup,capacity 
 reserved:teams included</p>
        <p class="code" style="margin-left: 40px;">featurename,[version],capacity 
 of license,flag,user groupname,team,sharing 
 tokens reserved,capacity reserved:users included </p>
        <p>The flag value can be any of the below:</p>
        <ul>
            <li class="Bullets_1" value="1">0 - Specifies capacity 
 reservations for teams</li>
            <li class="Bullets_1" value="2">1 - Specifies capacity 
 reservations for users/hosts</li>
            <li class="Bullets_1" value="3">2 - Specifies capacity 
 reservations for non-shared capacity licenses</li>
        </ul>
        <p>Taking into example a Pooled capacity license with capacity 
 3000, hard limit 4 and sharing limit 5 then the following file</p>
        <p class="code" style="margin-left: 40px;">f1,v1,3000:0:TG1:2:1000:team1 team2 team3</p>
        <p class="code" style="margin-left: 40px;">f1,v1,3000:1:UG1:team1:3:500:user1 user2</p>
        <p>will reserve 2 tokens(out 
 of 4) and 1000 capacity for team group TG1 consisting of team1,team2,team3. 
 Among the users of team1, 3 sharing tokens (out of 5) and 500 capacity 
 are reserved for user1 and user2 . </p>
        <p>&#160;</p>
        <script type="text/javascript" src="SkinSupport/MadCapBodyEnd.js">
        </script>
    </body>
</html>