DB2数据库激活

联系:手机/微信(+86 17813235971) QQ(107644445)QQ咨询惜分飞

标题:DB2数据库激活

作者:惜分飞©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]

db2当前激活状态

[db2inst1@xifenfei ~]$ db2licm -l
Product name:                     "DB2 Enterprise Server Edition"
License type:                     "Trial"
Expiry date:                      "06/22/2012"
Product identifier:               "db2ese"
Version information:              "9.5"

Product name:                     "DB2 Connect Server"
License type:                     "Trial"
Expiry date:                      "06/22/2012"
Product identifier:               "db2consv"
Version information:              "9.5"

查看license文件

[db2inst1@xifenfei ~]$ db2licm -l db2ese_cV9.5CPU.lic 
Product name:                     "DB2 Enterprise Server Edition"
License type:                     "CPU Option"
Expiry date:                      "Permanent"
Product identifier:               "db2ese"
Version information:              "9.5"
Features:
DB2 Database Partitioning:        "Not licensed"
DB2 Performance Optimization ESE: "Not licensed"
DB2 Storage Optimization:         "Not licensed"
DB2 Advanced Access Control:      "Not licensed"
DB2 Geodetic Data Management:     "Not licensed"
DB2 pureXML ESE:                  "Not licensed"
IBM Homogeneous Federation ESE:   "Not licensed"
IBM Homogeneous Replication ESE:  "Not licensed"

Product name:                     "DB2 Connect Server"
License type:                     "Trial"
Expiry date:                      "06/22/2012"
Product identifier:               "db2consv"
Version information:              "9.5"

导入license文件

[db2inst1@xifenfei ~]$ db2licm -a db2ese_cV9.5CPU.lic 

LIC1402I  License added successfully.


LIC1426I   This product is now licensed for use as outlined in your License Agreement.  
USE OF THE PRODUCT CONSTITUTES ACCEPTANCE OF THE TERMS OF THE IBM LICENSE AGREEMENT, 
LOCATED IN THE FOLLOWING DIRECTORY: "/opt/db2/V9.5/license/en_US.iso88591"

再次查看db2激活状态

[db2inst1@xifenfei ~]$ db2licm -l
Product name:                     "DB2 Enterprise Server Edition"
License type:                     "CPU Option"
Expiry date:                      "Permanent"
Product identifier:               "db2ese"
Version information:              "9.5"
Features:
DB2 Database Partitioning:        "Not licensed"
DB2 Performance Optimization ESE: "Not licensed"
DB2 Storage Optimization:         "Not licensed"
DB2 Advanced Access Control:      "Not licensed"
DB2 Geodetic Data Management:     "Not licensed"
DB2 pureXML ESE:                  "Not licensed"
IBM Homogeneous Federation ESE:   "Not licensed"
IBM Homogeneous Replication ESE:  "Not licensed"

Product name:                     "DB2 Connect Server"
License type:                     "Trial"
Expiry date:                      "06/22/2012"
Product identifier:               "db2consv"
Version information:              "9.5"

各种数据库的激活方式不同(只讨论激活,不涉及授权问题):
1.oracle/mysql不需要激活,可以直接使用
2.sql server 需要序列号激活
3.db2需要license文件激活

此条目发表在 DB2 分类目录。将固定链接加入收藏夹。

DB2数据库激活》有 1 条评论

  1. 惜分飞 说:

    db2licm 命令使用说明

    [db2inst1@xifenfei ~]$ db2licm -h
    
    LIC1401I  Command line DB2 License Manager.
    
    Explanation: 
    
    The db2licm tool performs basic license functions in the absence of the
    Control Center. It adds, removes, lists, and modifies licenses
    registered on the local system. Execute db2licm tool with -l parameter
    to find out the product identifier for your product:
    
    
    
    db2licm [-a filename]
             [-e product-identifier HARD | SOFT]
             [-p product-identifier
             CONCURRENT | OFF]
             [-r product-identifier]
             [-u product-identifier num-users]
             [-c product-identifier num-connectors]
             [-g filename]
             [-x]
             [-l][show detail]
             [-v]
             [-?]
    
    The command options are: 
    
    -a       Adds a license for a product. Specify a file name containing
             valid license information. This can be obtained from your
             licensed product CD or contact your IBM representative or
             authorized dealer.
    
    -e       Updates the enforcement policy on the system. Valid values are:
             HARD and SOFT. HARD specifies that unlicensed requests will not
             be allowed. SOFT specifies that unlicensed requests will be
             logged but not restricted.
    
    -p       Updates the license policy type to use on the system. The
             keyword CONCURRENT can be specified for concurrent user policy.
             Specify OFF to turn off all policies.
    
    -r       Removes the license for a product. Specify the product
             identifier.
    
    -u       Updates the number of user entitlements that have been
             purchased. Specify the product identifier and the number of
             users.
    
    -c       Updates the number of connector entitlements that have been
             purchased. Specify the product identifier and the number of
             connector entitlements.
    
    -g       Generates compliance report. Specify file name where output is
             to be stored.
    
    -x       Resets license compliance information for the purposes of
             license compliance report.
    
    -l[show detail]
             Lists all the products with available license information,
             including the product identifier. Specify [show detail] to view
             detailed information about licensed features (if any).
    
    -v       Displays version information.
    
    -?       Displays help information. When this option is specified, all
             other options are ignored, and only the help information is
             displayed.