获取机器的hostid准备生成license
来源:互联网 发布:js字符串去空格 编辑:程序博客网 时间:2024/05/23 21:52
Host IDs are unique identifiers for a particular machine. If you are installing a SySAM Sub-capacity-enabled product and are planning to use SySAM Sub-capacity to license a partition, or resource-set, then you must use thesysamcap utility to enter the host ID for the machine, partition, or resource-set. See the Sybase Software Asset Management Users Guide for more information.
To find your host ID, you can run the lmhostid utility included in the lmutil administration tool or use the appropriate operating system command. lmutil is included in your product distribution, or can be downloaded fromhttp://www.globes.com/support/fnp_utilities_download.htm#unixdownload.
To run lmhostid utility use the command:
> lmutil lmhostid
The type of host ID returned by lmhostid utility will depend on the platform. The following table lists the host ID types used for each platform along with the native OS command that can be used to obtain the host ID value:
PlatformHost ID TypeNative OS CommandWindows(*1)Ethernet Addressipconfig /all (use "Physical Address" value)Solaris32-bit HostidhostidLinuxEthernet Address/sbin/ifconfig eth0 (use "HWaddr" value)Mac OS XEthernet Address/sbin/ifconfig eth0 (use "ether" value)Tru-UNIX (Digital)Ethernet Addressnetstat -iIBM AIX32-bit Hostiduname -m (returns 000276513100), then remove both the first and the last two digits, and use the remaining eight digitsSGI32-bit Hostid/etc/sysinfo -s (convert to hex, or prefix #)HP-UX PA-RISC32-bit Hostiduname -i (convert to hex, or prepend with #)HP-UX ItaniumMachine IDgetconf CS_PARTITION_IDENT (prefix with "ID_STRING=")(*1) For Windows platforms, if your machine does not have a network adapter an alternate Hostid of type Disk Serial Number is supported. To get this host id, use the "lmutil lmhostid -vsn"command or get the disk's volume serial number by executing "DIR C:", remove "-" from the value and prefix "DISK_SERIAL_NUM=" to the serial number to get the host id.
Each host ID type has valid formats that will be checked when generating a license. Make sure the value entered matches these valid formats.
Ethernet addresses are 12 character hex values consisting of digits 0 thru 9 and characters A thru F. They may be entered in any of the following formats:
- 12AB34CD56EF
- 12-AB-34-CD-56-EF
- 12:AB:34:CD:56:EF
Host Ids are 8 character hex values consisting of digits 0 thru 9 and characters A thru F. They may be entered in the following formats:
- 12AB34CD
- 12AB-34CD
Note: For some platforms, Host Ids can also be entered in decimal formats, in this case prefix the host id with a "#" sign. Example: #1039716963
Disk Serial Number is always entered with a "DISK_SERIAL_NUM=" prefix. For example: DISK_SERIAL_NUM=3e2e17fd
Machine ID string is always entered with an "ID_STRING=" prefix. For example: ID_STRING=9c766319-db72-d411-af62-0060b05e4c05
ps:本文转载于http://hi.baidu.com/hexiong/blog/item/678462d9d7d3c92011df9b06.html
- 获取机器的hostid准备生成license
- Linux下的hostid
- Sybase ASE及其它产品的license获取与生成
- Sybase ASE及其它产品的license获取与生成
- lmhostid获取hostid为空问题
- 用scikit-learn的三种词袋(BoW)生成方法为机器学习任务准备文本数据
- 获取 SourceTree License 许可证的步骤
- spark | spark 机器学习chapter3 数据的获取、处理与准备
- 获取机器的硬件信息并加密生成注册码
- license文件生成原理
- license文件生成原理
- 如何准备机器学习工程师的面试
- 如何准备机器学习工程师的面试 ?
- 如何准备机器学习工程师的面试 ?
- 如何准备机器学习工程师的面试 ?
- 如何准备机器学习工程师的面试 ?
- 学习机器学习前的准备
- C++获取Windows系统License信息的方法
- extern与static用法
- [HDOJ 1039] Easier Done Than Said? (基础,字符串) .
- Android4.0 多点触摸屏新手入门指南
- 经典古语
- android java获得root权限调用linux命令
- 获取机器的hostid准备生成license
- 3D(三维变分同化)模式的安装和运行(一)
- char、varchar和varchar2的区别(zt)
- Spring学习之Bean装配、生命周期。。
- Ubuntu10.04 32位编译Android 4.0源码
- sqoop使用心得~~~
- Hymn to the red October (zz)
- 开源网站
- 培训心得 2012年2月27日