- 论坛徽章:
- 0
|
sybase 12.5的license如何注册
Blackrose
级别: 大天使
注册时间: 2003-01-28
最后登录: 2003-10-26
帖子总数: 1980
精华帖子: 6
原创精华: 0
来自: 四川成都
在线状态: ...保密...
发表于: 2003-02-27 19:02 发表主题:
--------------------------------------------------------------------------------
SySAM LICENSE
In non-GUI mode, you have to do the following:
1. Create / edit the license.dat file manually.
At the installing time,if you use “install –c” to install ASE12,at the last step for install,install process will ask you whether you will get license information from a central host,if you make choice to Yes,the license file ($SYBASE/$SYSAM-1_0/licenses/license.dat) will not contain sample license information,only contain the host name and port information.
2. Do lmutil lmreread (forces license mgr to reread the license file), or start the license manager if it is not running.
A. Start the Manager:
In the directory $SYBASE/$SYSAM-1_0/bin:
UNIX: startd.sh $SYBASE/$SYSAM-1_0
or
$SYBASE/$SYBASE_SYSAM/bin/lmgrd -c $LM_LICENSE_FILE
WINNT:
sysam.bat d:\sybase\SYSAM-1_0 TRUE
Start up the license manager(lmgrd.exe,SYBASE.exe) and add the SYSAM as service to WINNT services.
sysam.bat d:\sybase\SYSAM-1_0 FALSE
Only start up the license manager(lmgrd.exe,SYBASE.exe),don't add the SYSAM as service to WINNT services.
B. Reread
Lmutil lmreread
3. Enable the feature in the ASE (sp_configure) and re-boot the ASE.
enable DTM
enable HA
enable cis
enable housekeeper GC
enable java
enable rep agent threads
enable sort-merge join and JTC
enable unicode conversions
enable xact coordination
The license.dat file gets created in the following directory:
$SYBASE/SYSAM-1_0/licenses
You should be able to edit the License.dat file using any editor. A typical license.dat file (for a local license manager) will have the following 3 lines:
SERVER <hostname>; ANY <port number>;
(where hostname is the machine with the license manager and
port number is the port on which the license manager is listening.)
VENDOR SYBASE <explicit full path name to $SYBASE/SYSAM-1_0/bin/SYBASE>;
USE_SERVER
An example of the first 3 lines would be:
SERVER hollywood ANY 29722
VENDOR SYBASE /remote/ec_releases/solaris/rel120/SYSAM-1_0/bin/SYBASE
USE_SERVER
After the above 3 lines, you have one INCREMENT line for each License as follows:
INCREMENT <feature name>; SYBASE 12.0 PERMANENT <feature count>; <authorization code>; \
<order number>; OVERDRAFT=10000 ck=0
For the above:
<feature name>; is the feature name found on the certificate.
<feature count>; is the feature count found on the certificate.
<authorization code>; is the authorization code found on the license certificate.
<order number>; is the order number found on the License certificate.
(A) Order Number 888999-1
(B) Feature Name ASE_SERVER
(C) Feature Count 1
(D) Software Version 12.0
(E) Authorization code AABBCCDD1122
(F) Product Description Adaptive Server Enterprise
for platform Sun Solaris
this would be:
INCREMENT ASE_SERVER SYBASE 12.0 PERMANENT 1 AABBCCDD1122 SN=888999-1 \
OVERDRAFT=10000 ck=0
An example license.dat file:
SERVER hollywood ANY 29722
VENDOR SYBASE /remote/ec_releases/solaris/rel120/SYSAM-1_0/bin/SYBASE
USE_SERVER
INCREMENT ASE_SERVER SYBASE 12.0 PERMANENT 1 AABBCCDD1122 SN=888999-1 \
OVERDRAFT=10000 ck=0
(Note that the '\' character above is a line continuation character.)
This is the only way to create / modify the license.dat file.
after changing this file you must:
1. do lmutil lmreread (or stop and start the license manager)
2. enable feature in ASE (sp_configure)
3. stop and start the Adaptive Server
我先看看再说。 |
|