Use the sysamcap utility to configure sub-capacity licensing for the containment level (machine, partition, or resource set) and optionally, the name or ID of the resource set.
sysamcap capacity-level [resource_set_name] [-q] [-v]
MACHINE – the complete physical machine.
PARTITION – a sub-capacity partition of your machine.
On Solaris and HP-UX, the resource_set_name is the PSET ID obtained when creating the processor resource set via the psrset command, or equivalent.
On AIX, the resource_set_name is the name specified to mkrset, or equivalent.
DEFAULT – default configuration settings. SySAM uses the default license check pre-sub-capacity-support mechanism to check for licenses. Sub-capacity functionality is not available under the default setting.
sysamcap MACHINEExample output:
Set the following environment variable prior to starting the product. This only needs to be done once for each instance of the product that will run. SYBASE_SAM_CAPACITY=MACHINE:FC2F63B3C5C2F2770A2 Using this configuration licensing will be based on 32 logical processor(s), 16 processor core(s) and 2 processor chip(s). Sybase recommends use of a SySAM License Server, but if you wish to generate un-served licenses for using the product within this environment then you will need to specify the following host-id when generating licenses at the Sybase Product Download Center. MACHINE-ID=782bcb2f04e3
MACHINE:FC2F63B3C5C2F2770A2
export SYBASE_SAM_CAPACITY=MACHINE:FC2F63B3C5C2F2770A2
sysamcap PARTITIONExample output:
Set the following environment variable prior to starting the product. This only needs to be done once for each instance of the product that will run. SYBASE_SAM_CAPACITY=PARTITION Using this configuration, licensing is based on 4 logical processors, 1 processor core and 1 processor chip. Sybase recommends using a SySAM License Server; however, to generate an unserved licenses for your SySAM sub-capacity-enabled product you must specify the following type of host-id when generating licenses at the Sybase Product Download Center. PARTITION-ID=83f828fb
export SYBASE_SAM_CAPACITY=PARTITION
sysamcap RESOURCESET 1Example output:
Set the following environment variable prior to starting the product. This only needs to be done once for each instance of the product that will run. SYBASE_SAM_CAPACITY=RESOURCESET,1:8C348011FAC4836A6C Using this configuration licensing will be based on 2 logical processor(s), 2 processor core(s) and 1 processor chip(s). Sybase recommends use of a SySAM License Server, but if you wish to generate un-served licenses for using the product within this environment then you will need to specify the following host-id when generating licenses at the Sybase Product Download Center. RESOURCESET-ID=2179c53d-737f-11dc-b683-8b3cbe475233-PSET-1
export SYBASE_SAM_CAPACITY=RESOURCESET,1:8C348011FAC4836A6C