クラウドおよびシステム管理 : Cisco Network Registrar

CNR サーバ ログの設定の変更方法

2003 年 2 月 19 日 - ライター翻訳版
その他のバージョン: PDFpdf | 機械翻訳版 (2013 年 8 月 21 日) | 英語版 (2005 年 10 月 26 日) | フィードバック

?p?????Q??
Changing Settings for CNR Server Logs

????


?T?v

?????????????ACisco Network Registrar?iCNR?j3.5.X ???O???o?[?W?????? 5.0.X ???A???O ?T?C?Y?????O?????????X???????@???????????????????BCNR ???T?[?o?????O ?t?@?C?????T?C?Y?????X?????????A???? 2 ???????@???????????B

  • mcdadmin ???[?e?B???e?B
  • CLI server [DNS|DHCP|TFTP] serverLogs ?R?}???h - ???????@???ANetwork Registrar 5.0 ???V???????????????????B

?\?t?g?E?F?A ?o?[?W????

?????????????????A?????\?t?g?E?F?A???o?[?W?????????????????????B

  • CNR 3.5.X ???O?A?????? CNR 5.0.X
  • UNIX ?????? NT ???o?[?W????

mcdadmin ???[?e?B???e?B???g?p

CNR 3.5.X ???O???v???Z?X?????~

CNR 5.0.X ?? nrcmd ?????X???s???????ACNR ?T?[?o ?G?[?W?F???g?????s???????????????K?v?????BCNR 3.5.X ???O???o?[?W?????????ANetwork Registrar ?T?[?o ?G?[?W?F???g?????~???A?????????X???s???????????N???????K?v???????????Bnrcmd ???I?????????A???X???L?????????????A?u?T?[?r?X?v?????~???A???N???????K?v???????????B???O ?I?v?V???????A?????????T?[?o ?v???Z?X?????????????R?}???h ???C?? ?I?v?V???????????????A???X???L?????????????A?v???Z?X???V???????????K?v?????B???????T?[?o?????~?A?N???A???????????[?h???A?????????T?[?o ?v???Z?X???i?????????????X???????????????????j???????~?????????J???????????????????A?T?[?o ?v???Z?X???V?????????????????????????????B

Solaris ?????A?????v???Z?X???????????~???????@?F
 > /etc/init.d/aicservagt stop
  > ps -leaf | grep nwr
  > kill -9 pid pid ... <all processes noted in the ps output>....

NT ???????@?F

> net stop "AIC Server Agent 2.0"

mcdadmin ???[?e?B???e?B?????s

  • ?????s???????????t?@?C???ibiglogs.txt?j?????????????B
[ config/clusters/1/trampolines/1/servers/1 ]
load_args = str:"-A nlogs=5 -A logsize=10000000"

[ config/clusters/1/trampolines/1/servers/2 ]
load_args = str:"-A nlogs=5 -A logsize=10000000"

[ config/clusters/1/trampolines/1/servers/4 ]
load_args = str:"-A nlogs=5 -A logsize=10000000"

?T?[?o???????I?????????????w???????????????B
 
servers/1 -- DNS ?T?[?o -- name_dns_1_log.x ?t?@?C??
servers/2 -- DHCP ?T?[?o -- name_dhcp_1_log.x ?t?@?C??
servers/3 -- UI -- ???O???K?v????
servers/4 -- TFTP ?T?[?o -- file_tftp_1_log.x ?t?@?C??
 
?i?t?@?C???g???q?? x ???A01?A02 ???????????A?w???????t?@?C???????????????????????j
 
  • mcdadmin ???[?e?B???e?B?????s?????A?t?@?C?????????????????B
    > mcdadmin -N admin -P password -o -i biglogs.txt

  • Network Registrar ???T?[?r?X?????N?????????B
    Solaris???????F> /etc/init.d/aicservgt start
    NT???????F> net start "AIC Server Agent 2.0"

serverLogs ?R?}???h?????s???@

CLI ???g?p?????A?T?[?o?????O ?t?@?C???????e???????????????i?????????A5 ?????t?@?C?????????T?C?Y?????????? 10 MB ???????????j?Anrcmd ?v???O???????N?????A?????????????????l???`?F?b?N???????B

nrcmd> server DNS serverLogs show
  
  100 Ok
  
  nlogs=3
  
  logsize=100000
???FserverLogs ?A?N?V???????ANetwork Registrar 5.0 ???V?????????????? server ?R?}???h???????A?????????O???????[?X?????g?p???????????B1 ???? 100 ?????O ?t?@?C?????A10 KB ???? 500 MB ???T?C?Y?????????????????????B

DHCP ?T?[?o?? TFTP ?T?[?o???????????? show ?R?}???h?????s???????B?????A???????????????X???????B

nrcmd> server DNS serverLogs nlogs=5 logsize=10M
  
  nrcmd> server DHCP serverLogs nlogs=5 logsize=10M
  
  nrcmd> server TFTP serverLogs nlogs=5 logsize=10M
  
  100 Ok

???X???L?????????????A?T?[?o ?G?[?W?F???g???????i???????I???j???A???N?????????B


関連するシスコ サポート コミュニティ ディスカッション

シスコ サポート コミュニティは、どなたでも投稿や回答ができる情報交換スペースです。


???A????


Document ID: 13391