2007年10月20日土曜日

目的達成

玄箱にdebianを入れ、woody → sarge とのアップグレードがうまくいった。
aptが変な原因はsources.listに書いてあるサイトにもうwoodyの情報が残っていないためだったようだ。
deb http://ftp.jp.debian.org/pub/Linux/Debian/debian sarge main contrib non-free
deb http://ftp.jp.debian.org/pub/Linux/Debian/debian-non-US sarge/non-US main contrib non-free
deb http://security.debian.org/ sarge/updates main contrib non-free

として
apt-get update
apt-get dist-upgrade

でアップデートがうまくいった。

PowerPC Linuxということで、仕事で使っている某製品のエージェントをいれてみよう。
apt-get install rsh-client rsh-server

でrexecを入れて、rexec経由でエージェント導入!


bash$ winstlcf -g xxx.xxx.x.4+9494 -n kurobox "xxx.xxx.x.231 root xxxxxxxx"

Trying xxx.xxx.x.231...
locating files in C:/opt/Tivoli/bin/lcf_bundle.41100...
locating files in C:/opt/Tivoli/bin/lcf_bundle...

Ready to copy files to host xxx.xxx.x.231:
destination: xxx.xxx.x.231:/opt/Tivoli/lcf
source: netburst:C:/opt/Tivoli/bin/lcf_bundle.41100
files:
generic/lcfd.sh
:
:
lib/linux-ppc/libtthred.so

Continue? [yYna?]
Tivoli Light Client Framework starting on xxx.xxx.x.231
Oct 20 20:47:28 1 lcfd Command line argv[0]='/opt/Tivoli/lcf/bin/linux-ppc/mrt/lcfd'
:
:
Oct 20 20:47:28 1 lcfd Starting Unix daemon
Performing auto start configuration
Tivoli LCF daemon master autostart file is /etc/init.d/Tivoli_lcfd1.
Done.
ln: creating symbolic link `/etc/rc.d/rc2.d/S99Tivoli_lcf1' to `/etc/init.d/Tivoli_lcfd1': No such file or directory
:
* Tivoli Endpoint install failed for host xxx.xxx.x.231

LCF Install failed for the following machines: (see lcfhost.err)
xxx.xxx.x.231
bash$ wep kurobox

object xxxxxxxxxx.2.522+#TMF_Endpoint::Endpoint#
label kurobox
version 41100
id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
gateway xxxxxxxxxx.1.577#TMF_Gateway::Gateway#
pref_gateway xxxxxxxxxx.1.577#TMF_Gateway::Gateway#
netload OBJECT_NIL
interp linux-ppc
login_mode desktop, constant
protocol TCPIP
address xxx.xxx.x.231+9495
mac address (WOL) NONE
subnet mask (WOL) NONE
policy OBJECT_NIL
httpd tivoli:xxxxxxxx
alias OBJECT_NIL
crypt_mode NONE
upgrade_mode enable
last_login_time 2007/10/20-20:47:33
last_migration_time 2007/10/20-20:47:32
last_method_time 2007/10/20-20:47:33

bash$ wepstatus -a
Last known status of the endpoint(s):
Endpoint Gateway Interp Version OD Status Error Code(s)
---------------------------------------------------------------------------------------------
kurobox netburst-gw linux-ppc 41100 2 connected -


rcスクリプトの配置に失敗しているけど、動いたじゃないすか!
ということは、玄箱とSystem pで同じバイナリが動くということか。
箱に入って眠っているMacMiniのPPC Linuxでもやってみたくなってきた。

玄箱HG

外付けDISKの大きめなのが欲しくて今さら、って感じの
・玄箱HG
・Barracuda 7200.10 500GB IDE
を買った。

お約束らしいのでとりあえずDebianにしてみたんだけどaptの使い方がよくわからない。apt-get upgradeとかやってもおかしくなっちゃうし最新との差異がありすぎるのかしら。