免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3257 | 回复: 4
打印 上一主题 下一主题

请问linux下如何仅用文字模式制作license?多谢了 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-02-27 16:58 |只看该作者 |倒序浏览
以前都是用x界面,很方便,但现在由于外部条件,只能使用文字模式,请教各位 制作license的步骤方法。

谢谢 ^_^

论坛徽章:
0
2 [报告]
发表于 2003-02-27 17:30 |只看该作者

请问linux下如何仅用文字模式制作license?多谢了

up

论坛徽章:
0
3 [报告]
发表于 2003-02-27 18:10 |只看该作者

请问linux下如何仅用文字模式制作license?多谢了

up

论坛徽章:
0
4 [报告]
发表于 2003-02-27 19:44 |只看该作者

请问linux下如何仅用文字模式制作license?多谢了

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

论坛徽章:
0
5 [报告]
发表于 2003-03-02 17:02 |只看该作者

请问linux下如何仅用文字模式制作license?多谢了

万分感谢,还是这里比较有人气  ^_^
比csdn的sybase版好
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP