望城区哪些楼盘:Changing Sun machine hostid with mdb | Akamit...

来源:百度文库 编辑:偶看新闻 时间:2024/05/02 09:05:29

Changing Sun machine hostid with mdb

Posted on April 28th, 2010

Copy hostid data from the kernel

root@sol1 # hostid8338e16eroot@sol1 # echo "hw_serial,0xa?B" | mdb -khw_serial:hw_serial:      32      32      30      31      35      34      33      30                32      32

Paste that data to the new host

bash-3.00# hostid850214febash-3.00# echo "hw_serial/v 32 32 30 31 35 34 33 30 32 32" | mdb -kwhw_serial:      0x32    =       0x32hw_serial+1:    0x32    =       0x32hw_serial+2:    0x30    =       0x30hw_serial+3:    0x31    =       0x31hw_serial+4:    0x35    =       0x35hw_serial+5:    0x34    =       0x34hw_serial+6:    0x33    =       0x33hw_serial+7:    0x30    =       0x30hw_serial+8:    0x32    =       0x32hw_serial+9:    0x32    =       0x32bash-3.00# hostid8338e16e