Tivoli Inventory 3.6.2
Tivoli Inventory 3.6.2
Tivoli Inventory (1999 11 ) Copyright 1999 by Tivoli Systems, an IBM Company, including this documentation and all software. All rights reserved. Tivoli Systems Software IBM Tivoli. Tivoli Systems,,,,,,,... Tivoli Systems IBM Corporation. AIX, AS/400, IBM, OS/2, OS/390, RS/6000, Tivoli, Tivoli Management Framework, Tivoli Inventory Tivoli Software Distribution. Microsoft, Windows Windows NT Microsoft Corporation. UNIX X/Open Company Limited.,,. Tivoli Systems IBM, Tivoli Systems IBM., Tivoli Systems IBM,. Tivoli Systems IBM,,,. Tivoli Systems IBM. Tivoli Systems IBM.. 25-11, IBM.
... vii... vii... vii... viii... ix... ix... x 1 MCollect... 1... 1 MCollect... 2 MCollect... 4 MCollect... 6 2 MCollect... 9 MCollect... 11 MCollect... 12.... 13 Tivoli MCollect... 15 Inventory.... 17 Inventory... 17 RIM... 21 Inventory... 22 MCollect... 22 3 MCollect Inventory... 23 MCollect Inventory... 24 Tivoli Inventory iii
MCollect... 26... 26,.... 26... 27 Inventory... 30 Inventory... 30 Inventory... 32 RIM.... 32... 33... 36 MCollect... 37... 37... 38 CTOC... 38 Inventory... 39 Inventory.... 39 Inventory... 39... 39 Inventory... 40 TMR.... 41 A.... 43... 43.... 43... 44... 44... 45 MCollect... 45.... 46 iv 3.6.2
wcollect... 47 wcrtinvrcvr... 54 wcstat... 57 wgetinvrcvr... 60 wgetinvstat... 62 wgetipcoll... 64 wsetinvrcvr... 67 wsetipcoll... 70 B. MCollect... 73.... 73.... 73... 74 Inventory... 75.... 75 Inventory... 75 CTOC.... 76.... 77... 78... 78... 83... 91 Tivoli Inventory v
vi 3.6.2
Tivoli MCollect. MCollect MCollect Tivoli Inventory 3.6.2. PC UNIX inventory Inventory.. UNIX PC Inventory SQL(Structured Query Language),, repeater, MDist(Multiplexed Distribution) Tivoli Management Framework MCollect Tivoli Inventory, 3.6.2.. Inventory, 3.6.2, RDBDS(Relational Database Danagement Systems), RIM(RDBMS Interface Module), Inventory, 3.6.2 Inventory 3.6 3.6.1 Inventory 3.6.2 Inventory 3.6.2 Tivoli Inventory vii
Inventory 3.6.2 Inventory 3.6.2. Tivoli Inventory, 3.6 PC UNIX Inventory. Tivoli Management Framework, Tivoli Management Framework Tivoli Management Framework Framework. Scalable Collection User s Guide. 1, 1 MCollect MCollect. 2, 9 MCollect Tivoli Inventory, 3.6.2 MCollect. 3, 23 MCollect Inventory MCollect Inventory MCollect Inventory. A, 43 MCollect Tivoli. B, 73 MCollect MCollect. viii 3.6.2
..,,... pk:dl:,. MCollect. Tivoli Inventory, 3.6.2. AIX 4.x HP-UX NetWare OS/2 Solaris Windows, : AIX 4.21, 4.3, 4.3.1 4.3.2 IBM RS/6000, : HP-UX 10.20, 11.00 11 SP 1 HP9000/700 800 : Novell NetWare 3.12, 3.2, 4.1, 4.11, 4.2 5 IBM PC 486 : IBM OS/2 Warp 3.0, Warp 4.0 Aurora IBM PC 486, : Solaris 2.6 7 Sun SPARC : Microsoft Windows Windows 95, Windows 98 Windows 2000 IBM PC 486 Tivoli Inventory ix
Windows NT W, : Microsoft Windows NT 3.51 SP 5, 3.51 SP 9, 4.0 4.0 SP 4, 4.0 SP 5 4.0 SP 6 IBM PC 486 Tivoli. : tivoli@kr.ibm.com.. : 02-781-6114, 7114 : http://www.support.tivoli.com http://www.support.tivoli.com Customer Support Handbook. Tivoli. x 3.6.2
1 MCollect 1. MCollect MCollect, MCollect, MCollect Tivoli Inventory, MCollect... MCollect. MCollect. MCollect TMR(Tivoli Management Region)., MCollect.. MCollect., CTOC(collection table of contents)... Tivoli Inventory 1
Tivoli MCollect MCollect Tivoli. Inventory Inventory Inventory (Inventory ). MCollect Inventory Inventory ( 100, Tivoli ). MCollect Inventory MCollect. MDist(Multiplexed Distribution) repeater Repeater. MDist Tivoli. repeater repeater repeater. MCollect MDist repeater. MCollect MDist. repeater Tivoli Management Framework. MCollect repeater., Inventory MCollect. MCollect MCollect,.. v.. 2 3.6.2
MCollect v v CTOC. CTOC. CTOC CTOC., CTOC.. 1. MCollect MDist repeater repeater. Inventory RIM(RDBMS Interface Module) Tivoli Inventory. Inventory Inventory. Inventory., Inventory RIM.,,.,,.. Inventory.. Inventory Inventory RDBMS(Relational Database Management System). RIM ( Inventory RIM ) Inventory Inventory RDBMS. RIM MCollect. Tivoli Inventory 3
MCollect MCollect MCollect Inventory. Inventory MCollect., Inventory MCollect CTOC. 4 3.6.2
MCollect, MCollect CTOC Inventory., Inventory RIM.., MCollect Inventory. 26 MCollect 70 wsetipcoll. 1. MCollect. Inventory RIM. RIM CTOC. CTOC.., Inventory., MCollect. CTOC. CTOC.. CTOC. CTOC. Inventory., Inventory Inventory RIM. RIM, Inventory. Inventory.. Tivoli Inventory 5
MCollect MCollect MCollect. TMR. MCollect RIM,. MCollect. RIM., MCollect. Inventory RIM. RIM RDBMS. MCollect TMR. Inventory. MCollect TMR (TMR Inventory ). Tivoli. 33... MCollect, CTOC. MCollect 3, 23 MCollect Inventory. MCollect,. 6 3.6.2
MCollect MCollect. MCollect Inventory., ( ). 1. MCollect Tivoli Inventory 7
MCollect 8 3.6.2
2 MCollect MCollect Tivoli. MCollect Tivoli Management Framework. TMR(Tivoli Management Region) MCollect. MCollect,,. MDist(Multiplexed Distribution) repeater. 2. MCollect MCollect., Tivoli, repeater., repeater. repeater, MCollect Inventory. repeater, MCollect repeater. repeater repeater MCollect. MCollect MDist repeater., repeater,. MCollect MDist. Tivoli Inventory 9
MCollect : repeater r wcollect TMR odadmin. wcollect 47 wcollect. odadmin Tivoli Management Framework. repeater WAN critical. WAN.. 10 3.6.2
MCollect 2. MCollect MCollect repeater Tivoli Management Framework. MCollect Framework, MCollect Inventory Framework 3.6.1. Tivoli Inventory 11
MCollect MCollect Tivoli Inventory MCollect. 1. Tivoli Management Framework 3.6.1. Tivoli Management Framework. 2. MCollect (Tivoli MCollect ). MCollect (Inventory Inventory. 3. Tivoli( TME 10) Product Name 3.6.2 Tivoli( TME 10) Product Name 3.6.2 (MCollect Inventory ). Tivoli Inventory, 3.6.2. 4. TMR Inventory Inventory (Tivoli Inventory, 3.6.2, ). 17 Inventory. 5. Inventory RIM(RDBMS Interface Module). 21 RIM (Inventory RIM ). 6. Inventory. 22 Inventory. 7. MCollect Inventory MCollect. MCollect Tivoli Inventory, 3.6.2. Inventory MCollect. 12 3.6.2
MCollect Tivoli. 1. TMR Tivoli. 2. >..... 2. MCollect Tivoli Management Platform MCollect Service, 15 Tivoli MCollect., 3. Tivoli Inventory 13
MCollect 3...... 4. Tivoli CD-ROM... a., CD-ROM ( ). ( ). b.,.. c.. 5.. Tivoli Management Platform MCollect Service 14 3.6.2
MCollect. 2. MCollect Tivoli MCollect, TMR MCollect. 1. >..... Tivoli Inventory 15
MCollect 2., Tivoli Management Platform MCollect Service. 3. TMR MCollect. : MCollect. OS/390 OS/2 MCollect. 4., MCollect.. 5. MCollect.... Patch Install. 16 3.6.2
MCollect. wpatch MCollect. x, y z MCollect. wpatch -c $IMAGE_PATH/cdrom -i MCOLLECT.IND xyz wpatch Tivoli Management Framework. Inventory MCollect Inventory MCollect, Tivoli( TME 10) Product Name 3.6.2 Tivoli( TME 10) Product Name 3.6.2. Tivoli Inventory, 3.6.2. Inventory 2. MCollect TMR Inventory Inventory., Inventory. : Inventory RIM. 21 RIM. Inventory. Tivoli Inventory. 1. TMR Tivoli. 2. >..... Tivoli Inventory 17
MCollect Inventory ((Tivoli Inventory, 3.6.2, Receiver), 19 Tivoli Inventory, 3.6.2, Receiver., 3. 3...... 4. Tivoli CD-ROM... a., CD-ROM ( ). ( ). b.,.. c.. 5.. Tivoli Inventory, Version 3.6.2, Receiver. 18 3.6.2
MCollect 2. MCollect Tivoli Inventory, 3.6.2, Receiver TMR Inventory Inventory (Tivoli Inventory, 3.6.2, Receiver). MCollect RIM Inventory Inventory RIM. Inventory. 1. >..... Tivoli Inventory 19
MCollect 2., Tivoli Inventory, Version 3.6.2, Receiver. 3. TMR Inventory. : OS/390 OS/2 Inventory. 4., Inventory.. 5. Inventory.... Patch Install. 20 3.6.2
Inventory. : wpatch Inventory. TMR rainier fuji Inventory. wpatch -c $IMAGE_PATH/cdrom -i 362_RCV.IND @ManagedNode:rainier @ManagedNode:fuji MCollect wpatch Tivoli Management Framework. RIM Inventory MCollect, Inventory RIM RIM. Inventory RIM inventory. MCollect RIM inventoryn,, n., MCollect RIM, inventory1 inventory2. 2. MCollect Inventory MCollect RIM, wgetrim Inventory RIM.. wgetrim inventory, wcrtrim RIM. RIM RIM. RIM. fuji inventory1 RIM. wcrtrim -v Oracle -h fuji -d inventory -u tivoli -H /usr/oracle -s fuji.world inventory1 RDBMS password: wcrtrim wgetrim Tivoli Management Framework. Tivoli Inventory 21
MCollect Inventory wcrtinvrcvr Inventory. MCollect RIM Inventory Inventory RIM. wcrtinvrcvr 54 wcrtinvrcvr. : TMR Inventory. MCollect wsetipcoll m Inventory MCollect. Inventory HWProf MCollect. wsetipcoll -m YES @InventoryProfile:HWProf wsetipcoll 70 wsetipcoll. 22 3.6.2
3 MCollect Inventory Tivoli Inventory MCollect MCollect Inventory.. Inventory MCollect (24 MCollect Inventory ). MCollect Inventory (26 MCollect ).,, (26 ). RIM(RDBMS Interface Module) Inventory Inventory (30 Inventory ). RIM (32 RIM ). (33 ). MCollect (36 ). 3. MCollect Inventory Tivoli Inventory 23
MCollect Inventory, CTOC(Collection Tables Of Contents),, Inventory, MCollect Inventory (37 MCollect ). Inventory (40 Inventory ). TMR(Tivoli Management Regions) MCollect (41 TMR ). MCollect Inventory Inventory MCollect Inventory. Inventory MCollect... Inventory Inventory Inventory 1. MIF. 2. MIF. 3. RIM. 4. RIM,., CTOC. : CTOC, MCollect.. MCollect Inventory 24 3.6.2
MCollect Inventory CTOC. CTOC,. MCollect MCollect 1. CTOC. 2. RIM. 3.. CTOC. 4. CTOC. 5.. CTOC. 6. 1 5 Inventory. Inventory CTOC RIM., Inventory RIM RIM. RIM, Inventory.. Inventory Inventory MCollect wrpt repeater, wcollect r (26 ). MCollect MDist(Multiplexed Distribution) repeater ( ). wrpt Tivoli Framework. 3. MCollect Inventory Tivoli Inventory 25
MCollect MCollect 70 wsetipcoll MCollect Inventory. m MCollect., MCollect WIN_HW.. wsetipcoll -m YES @InventoryProfile:WIN_HW, m YES MCollect. @InventoryProfile:WIN_HW MCollect Inventory. wsetipcoll 70 wsetipcoll. wcollect. : wcollect,.. wcollect 47 wcollect., MCollect.,. 26 3.6.2
.. MCollect wcollect h. graceful graceful. immediate.,. h, s. wrpt,. wcollect r.,. MCollect... (*.dat *.log). $DBDIR/mcollect. $DBDIR/mcollect/depot. 3. MCollect Inventory $DBDIR., Tivoli Inventory 27
oserv. oserv $DBDIR., wcollect l... tmersrvd nobody (Tivoli ). :,. wcollect z., 40MB,..., 50MB 55MB, 45MB.. chunks. wcollect c chunk. chunk 1MB.,. 78. mcollect.log. wcollect d.,. wcollect g. 1MB. 28 3.6.2
... wcollect. t, o... i. 60. p. 5...,.,. MCollect. wcollect m, 10. wcollect e. ( ). 1. 3. MCollect Inventory Tivoli Inventory 29
Inventory Inventory Inventory MCollect. Inventory. Inventory Inventory. Inventory wcrtinvrcvr Inventory. wsetinvrcvr Inventory RIM.,,. wcollect Inventory. Inventory. wcrtinvrcvr, wsetinvrcvr wcollect A, 43. wsetinvrcvr s Inventory.., Inventory.,. wsetinvrcvr d Inventory. Inventory $DBDIR/inventory/stat_dir.. wsetinvrcvr n., 10 10 Inventory. Inventory wsetipcoll w Inventory,. wsetinvrcvr n 10. 30 3.6.2
Inventory wsetinvrcvr q., 5 Inventory. 10. wsetipcoll n wsetinvrcvr n q. : 1. q bundle_every_n_targets n bundle_every_n_minutes 0,,. 2. q bundle_every_n_targets n bundle_every_n_minutes, ( ). 3. wsetipcoll n BUNDLE. wcollect o Inventory. Inventory RIM., Inventory RIM, wcollect o 2. wsetinvrcvr r Inventory RIM., Inventory. 5. wsetinvrcvr r wsetinvrcvr t. Inventory timeout*retry_count., 20 20*1, 20. 20*2, 40. wsetinvrcvr t 30. 3. MCollect Inventory Tivoli Inventory 31
Inventory Inventory Inventory, Inventory Inventory. Inventory. Inventory Inventory. Inventory. Inventory, Inventory. Inventory. 1. MCollect Inventory Inventory. 2. Inventory. wdel @InventoryReceiver:inv_receiver wdel Tivoli Management Framework. 3. wcrtinvrcvr Inventory. RIM Inventory Inventory RIM. Inventory RIM. Inventory RIM, wgetrim Inventory., wcrtrim TMR RIM. 32 3.6.2
RIM Inventory RIM Inventory. MCollect RIM inventoryn, n., MCollect RIM, inventory1 inventory2. RIM 21 RIM.,... :...,... 3. MCollect Inventory Tivoli Inventory 33
, CTOC. CTOC. Tivoli Management Framework Tivoli., Tivoli Management Framework.. 1.. wcollect -x offlinks_range_to_prohibit_collectioncollector wcollect -h immediate wcollect -s 34 3.6.2
, offlinks_range_to_prohibit_collection ID. collector., odadmin odlist. Tivoli Management Framework. ID. wcollect -x "4,5,6,7" collector, ID. wcollect -x "4-7" collector ( ). wcollect x 47 wcollect. 2.. wcollect -x "" collector wcollect -h immediate wcollect -s 3. 34 1 2. 4.. 5. Tivoli. 3. MCollect Inventory Tivoli Inventory 35
wcollect s h., wcollect o t 0. :,. MCollect MCollect. MCollect. MCollect. MCollect. MCollect., Tivoli. 33 47 wcollect. chunk wcollect c chunk. IOM(interobject message) MCollect. chunk 1MB. chunk,. chunk MCollect. ( ) chunk. chunk 27 47 wcollect. : chunk Inventory.. IOM. wcollect t 36 3.6.2
. MCollect MCollect IOM. 29 47 wcollect. : MCollect. MCollect. MCollect MCollect. CTOC Inventory MCollect Inventory Inventory MCollect Inventory MCollect Inventory. A, 43.. wcollect.,,,, chunk,,,. 3. MCollect Inventory. wcollect collector Tivoli Inventory 37
MCollect, collector @ManagedNode:collector_name, @Gateway:collector_name @InventoryReceiver:inv_receiver. wcstat... wcstat collector collector @ManagedNode:collector_name @Gateway:collector_name. CTOC CTOC wcstat. CTOC CTOC ID,,,,,. CTOC. wcstat -v ctoc_id collector, ctoc_id CTOC collector @ManagedNode:collector_name @Gateway:collector_name.,,,., CTOC ID,,,,, ID,,.. wcstat -q [ioecd] collector 38 3.6.2
MCollect, [ioecd] (,,, ) collector @ManagedNode:collector_name @Gateway:collector_name. Inventory wgetinvrcvr RIM Inventory. a wgetinvrcvr Inventory.. 60 wgetinvrcvr. Inventory wgetinvstat Inventory. wgetinvstat, Inventory Inventory Inventory ID.,. 62 wgetinvstat. wsetipcoll m s. Inventory wgetipcoll MCollect.. a, MCollect Inventory. MCollect. 64 wgetipcoll 3. MCollect Inventory Inventory Inventory. Tivoli Inventory Inventory. Inventory 3.6.2 Inventory Crystal Report. Tivoli Inventory 39
MCollect Inventory. Crystal Report Tivoli Inventory, 3.6.2. Inventory Inventory. Inventory. wsetipcoll Inventory. s Inventory. h l. n.,. t.,. w. Inventory,,. wcrtinvrcvr wsetinvrcvr n q wsetipcoll n. wgetinvstat Inventory. wgetipcoll. A, 43.. 40 3.6.2
TMR TMR TMR., TMR MCollect TMR. TMR. TMR ID. TMR Tivoli Management Framework. TMR Inventory MCollect TMR MCollect. MCollect MDist repeater WAN(Wide Area Network)., WAN TMR, TMR A TMR B. TMR A Inventory. TMR A TMR B. TMR B., TMR A WAN TMR B Inventory.. 3. MCollect Inventory Tivoli Inventory 41
TMR 42 3.6.2
A Tivoli Inventory MCollect Tivoli. Tivoli UNIX PC.. []......... {},., ([ ]). wruninvquery [ i] [ T idl type] [ l t] query_name [input]... input (...). l t, A. Tivoli Inventory 43
. OR( ). query_name, ([ ]).,.. policy region. CLI(Command Line Interface). Tivoli..,. Tivoli..., lp01 lp01. wls wmv. wls @PolicyRegion:Servers wmv @ManagedNode:ayers rock @PolicyRegion:Servers @type:name, type name. TMR(Tivoli Management Region)., TMR. 44 3.6.2
. region. wls @ManagedNode:moria#moria Region wls wmv Tivoli Management Framework. MCollect. (/)..... wls wmv. wls /Regions/Servers wmv../servers/ayers rock /Regions/Servers /distinguished/parent/[type:]name, distinguished, parent, type, name.. Inventory MCollect., CLI MCollect. wcollect wcrtinvrcvr,,,. Inventory (TMR.). A. Tivoli Inventory 45
MCollect wcstat wgetinvrcvr wgetinvstat wgetipcoll wsetinvrcvr wsetipcoll, CTOC(Collection Table Of Contents),. Inventory. MCollect Inventory. MCollect Inventory Inventory. Inventory. Inventory MCollect, Inventory.. MCollect. wcollect wcstat (wcollect Inventory.). Inventory Inventory MCollect, Inventory MCollect.. v v Inventory. wgetipcoll wsetipcoll. Inventory. wcrtinvrcvr, wgetinvrcvr, wgetinvstat, wsetinvrcvr. MCollect. UNIX man Windows NT mcolcli.hlp. 46 3.6.2
wcollect wcollect,,,. wcollect [options] collector, collector @ManagedNode:collector_name, @Gateway:collector_name @InventoryReceiver:inv_receiver. options. [ s h immediate graceful] [ d 0 1 2 3] [ g debug_log_size] [ l runtime_location] [ z depot_size] [ c depot_chunk_size] [ i thread_idle_down_time] [ p thread_sleep_time] [ t max_input_threads] [ m max_input_retries] [ o max_output_threads] [ e retry_delay_time] [ r] [ x offlinks_range_to_prohibit_collection] [ f true false] A. Tivoli Inventory 47
wcollect wcollect.,., wcollect.., wcollect.. :,. wcollect h s. senior. : s. h {graceful immediate}.. graceful. immediate. : d {0 1 2 3} MCollect.. 48 3.6.2
wcollect 0. 1. 2. 3. 1. MCollect mcollect.log $DBDIR/mcollect. g debug_log_size mcollect.log MB. 90% 10%. 1MB. l runtime_location. (*.dat *.log)... tmersrvd nobody (Tivoli ). $DBDIR/mcollect $DBDIR/mcollect/depot. :,. z depot_size MB., 40MB.,., 50MB., 55MB, 45MB. c depot_chunk_size chunk KB. chunk. chunk 1024KB. A. Tivoli Inventory 49
wcollect,. i thread_idle_down_time. 60. p thread_sleep_time ( ).. 5. t max_input_threads.,. 5. m max_input_retries. 10. e retry_delay_time. o max_output_threads.,. 5. e retry_delay_time. 1. m max_input_retries. r.,. 50 3.6.2
wcollect wrpt.. x offlinks_range_to_prohibit_collection..,..,.. ( ).,. f {true false} CTOC. wcstat CTOC.,. @Gateway:collector_name @ManagedNode:collector_name. @Gateway:collector_name. @ManagedNode:collector_name. @InventoryReceiver:inv_receiver Inventory. wcollect. A. Tivoli Inventory 51
wcollect. wcollect @ManagedNode:aztlan. Collector: @ManagedNode:aztlan debug_level = DEBUG (all messages) debug_log_size =2MB runtime_location = /data/aztlan/aztlan.db/mcollect depot_size = 40 MB depot_chunk = 1024 KB thread_idle_down_time = 60 seconds thread_sleep_time = 5 seconds max_input_threads = 5 max_input_retries = 10 max_output_threads = 5 retry_delay_time = 1 seconds offlinks = log_completed_ctoc = true wcollect -h graceful @Gateway:drodriguez-gateway. wcollect -d 3 -l /tmp/dionicio/depot -z 80 @ManagedNode:aztlan :,. aztlan 2, 5, 6, 7, 8 11., aztlan (.). wcollect -x "2,5-8,11" @ManagedNode:aztlan 52 3.6.2
wcollect. wcollect -x "" @ManagedNode:aztlan wcstat, wrpt(tivoli Management Framework ) A. Tivoli Inventory 53
wcrtinvrcvr wcrtinvrcvr Inventory wcrtinvrcvr [ d status_directory] [ n bundle_every_n_minutes] [ q bundle_every_n_targets] [ r max_rim_retries] [ s {YES NO}] [ t RIM_retry_delay_time] ManagedNode wcrtinvrcvr Tivoli Inventory @InventoryReceiver:inv_receiver. Inventory Tivoli Inventory., (wsetipcoll n BUNDLE Inventory ). RIM. : TMR Inventory. admin, senior super d status_directory Inventory., Inventory $DBDIR/inventory/ stat_dir. n bundle_every_n_minutes (wsetipcoll n BUNDLE )., Inventory. 10. 54 3.6.2
wcrtinvrcvr,. 0, wcrtinvrcvr wsetinvrcvr q. qbundle_every_n_targets.. Inventory. 10. wsetipcoll n. : 1. q bundle_every_n_targets n bundle_every_n_minutes 0,,. 2. q bundle_every_n_targets n bundle_every_n_minutes, ( ). r max_rim_retries Inventory RIM.. 5. s {YES NO} Inventory. YES,. NO,.,. t RIM_retry_delay_time. timeout*retry_count., 30 30 * 1 30. 30*2 1. A. Tivoli Inventory 55
wcrtinvrcvr 30. ManagedNode Inventory. mckinley Inventory, 20 ( Inventory BUNDLE wsetipcoll ), RIM 3. wcrtinvrcvr -n 20 -r 3 mckinley wcollect, wgetinvrcvr, wgetipcoll, wsetinvrcvr, wsetipcoll 56 3.6.2
wcstat wcstat, CTOC,. wcstat collector wcstat v ctoc_id collector wcstat q [ioecd] collector, collector @ManagedNode:collector_name @Gateway:collector_name. wcstat.. CTOC.. senior collector wcstat.. @Gateway:collector_name, collector_name. @ManagedNode:collector_name, collector_name. v ctoc_id CTOC. A. Tivoli Inventory 57
wcstat q [ioecd].. i o e c d wcstat. aztlan. wcstat q c @Gateway:aztlan gateway. CTOC ID: wepm_ctoc_928780348 CTOC Properties: PRIORITY: 1 COLL_STATUS: TRUE SOURCE_NAME: drodriguez2 SOURCE_OID: 2112331601.2.19 SOURCE_METHOD: mc_get_data DEST_OID: 2112331601.1.675 INV_DDC::InventoryReceive DEST_METHOD: mc_request_collection DATAPACK: 2129 Client Properties: scan_id: 2147483647 Collection Status: CTOC_DONE #Retries: 0 CTOC CTOC. wcstat v ctoc3_11836_9110 @ManagedNode:calypso. 58 3.6.2
wcstat CTOC ID: ctoc3_11836_9110 CTOC Properties: PRIORITY: 1 COLL_STATUS: OK SOURCE_OID: 1637823410.2.19 DEST_OID: 1637823410.1.552#MCFTP::Server# DEST_METHOD: callback_method DATAPACK: 33637364 Client Properties: MC_DEST_DIR: /tmp Collection Status: QUEUED_OUTPUT #Retries: 0 wcollect A. Tivoli Inventory 59
wgetinvrcvr wgetinvrcvr Inventory. wgetinvrcvr [ a] [ d] [ n] [ q] [ r] [ s] [ t] wgetinvrcvr, RIM Inventory. user, admin, senior, orsuper a Inventory. d wcrtinvrcvr wsetinvrcvr status_directory.. n wcrtinvrcvr wsetinvrcvr bundle_every_n_minutes,. q wcrtinvrcvr wsetinvrcvr bundle_every_n_targets,. Inventory. Inventory. wsetipcoll n wcrtinvrcvr wsetinvrcvr. r wcrtinvrcvr wsetinvrcvr max_rim_retries, Inventory RIM. s Inventory 60 3.6.2
wgetinvrcvr. YES,. NO,. t wcrtinvrcvr wsetinvrcvr RIM_retry_delay_time,. timeout*retry_count., 30 30 * 1 30. 30*2 1. Inventory. wgetinvrcvr -a. Send bundled notification every: 1 minutes Send bundled notification every: 3 targets Max retries for RIM errors: 5 Retry delay time for RIM errors: 30 seconds Save status in the directory: /Tivoli/db/mckinley.db/inventory/stat_dir Save status in case of failure: YES wcollect, wcrtinvrcvr, wsetinvrcvr, wsetipcoll A. Tivoli Inventory 61
wgetinvstat wgetinvstat MCollect Inventory. wgetinvstat wgetinvstat a [ s] [ f] [ p] wgetinvstat i id [ i id]... [ s] [ f] [ p] wgetinvstat Inventory., Inventory Inventory Inventory ID.,,. Inventory_view, user, admin, senior super a ID,,,. s. f. p. i id ID. ID.,. wgetinvstat -a -f -s -p. 62 3.6.2
wgetinvstat Scan Id: 144 Profile Name: Hardware Start time: Thu Aug 05 17:18:57 1999 Elapsed time: 0 Days 0 Hours 0 Minutes 11 Seconds Clients completed: 3 Clients pending: 1 The following clients have successfully completed: mckinley aztlan-1 The following clients have failed: alioth-5 The following clients are still pending: suntmp18-3 Scan Id: 145 Profile Name: Hardware Start time: Thu Aug 05 17:18:57 1999 Elapsed time: 0 Days 0 Hours 0 Minutes 11 Seconds Clients completed: 0 Clients pending: 1 The following clients have successfully completed: The following clients have failed: The following clients are still pending: suntmp11 wcollect, wcstat A. Tivoli Inventory 63
wgetipcoll wgetipcoll MCollect Inventory Inventory. wgetipcoll [ a] [ h] [ l] [ m] [ n] [ s] [ t] [ w]@inventoryprofile:profile_name wgetipcoll MCollect.. Inventory_view, user, admin, senior super a MCollect Inventory. h Inventory. l Inventory. m MCollect. YES, MCollect. NO, MCollect. n MCollect.. IMMEDIATE. DONE. BUNDLE Inventory. wcrtinvrcvr, wgetinvrcvr wsetinvrcvr. 64 3.6.2
wgetipcoll s. YES,. NO,. t.. SUCCESS FAIL ALL w, Inventory. NOTICE_GROUP Inventory LOG_FILE wsetipcoll h l OFF ALL @InventoryProfile:profile_name. MCollect Inventory HWProf. wgetipcoll -a @InventoryProfile:HWProf. Use MCollect: YES When to notify: DONE Notify for: ALL (both SUCCESS and FAIL) Notify where: LOG_FILE Log file host: mckinley Log file name: /tmp/hwprof.log Collect status: YES A. Tivoli Inventory 65
wgetipcoll wcollect, wcrtinvrcvr, wgetinvrcvr, wsetinvrcvr, wsetipcoll 66 3.6.2
wsetinvrcvr wsetinvrcvr Inventory. wsetinvrcvr [ d status_directory] [ n bundle_every_n_minutes] [ q bundle_every_n_targets] [ r max_rim_retries] [ s {YES NO}] [ t RIM_retry_delay_time] wsetinvrcvr wcrtinvrcvr Inventory. wcrtinvrcvr. wsetinvrcvr Tivoli Inventory @InventoryReceiver:inv_receiver. admin, senior super d status_directory Inventory., Inventory $DBDIR/inventory/ stat_dir. n bundle_every_n_minutes (wsetipcoll n BUNDLE )., Inventory. 10.,. 0, wcrtinvrcvr wsetinvrcvr q. qbundle_every_n_targets. A. Tivoli Inventory 67
wsetinvrcvr. Inventory. 10. wsetipcoll n. : 1. q bundle_every_n_targets n bundle_every_n_minutes 0,,. 2. q bundle_every_n_targets n bundle_every_n_minutes, ( ). r max_rim_retries Inventory RIM.. 5. s {YES NO} Inventory. YES,. NO,.,. t RIM_retry_delay_time. timeout*retry_count., 30 30 * 1 30. 30*2 1. 30. 9 RIM 20. wsetinvrcvr -q 9 -t 20 68 3.6.2
wsetinvrcvr wcollect, wcrtinvrcvr, wsetinvrcvr, wsetipcoll A. Tivoli Inventory 69
wsetipcoll wsetipcoll Inventory MCollect, Inventory. wsetipcoll [ h log_file_host] [ l log_file_name] [ m {YES NO}] [ n {IMMEDIATE BUNDLE DONE}] [ s {YES NO}] [ t {SUCCESS FAIL ALL}] [ w {NOTICE_GROUP LOG_FILE OFF ALL}]@InventoryProfile:profile_name wsetipcoll. Inventory Inventory MCollect admin, senior super h log_file_host Inventory. (null) ( ), Inventory. l log_file_name Inventory.. (null) ( ), $TMPDIR/ inv_scan_nn.log, nn ID $TMPDIR.. UNIX : /tmp, /usr/tmp /var/tmp Windows NT : c:\temp 70 3.6.2
wsetipcoll m {YES NO} Inventory MCollect. YES, MCollect. NO, MCollect. NO. n {IMMEDIATE BUNDLE DONE} MCollect.. IMMEDIATE. BUNDLE Inventory. wcrtinvrcvr, wgetinvrcvr wsetinvrcvr. DONE. DONE. s {YES NO} Inventory. wgetinvstat. MCollect Inventory. YES,. NO,. m YES, YES. NO. t {SUCCESS FAIL ALL}.. SUCCESS. FAIL. A. Tivoli Inventory 71
wsetipcoll ALL. ALL. w {NOTICE_GROUP LOG_FILE OFF ALL}.. NOTICE_GROUP Inventory. LOG_FILE h l. OFF. ALL. NOTICE_GROUP. : Inventory, Inventory Inventory. @InventoryProfile:profile_name Inventory. mckinley /tmp/hwprof.log Inventory HWProf. wsetipcoll -h mckinley -l /tmp/hwprof.log -w LOG_FILE @InventoryProfile:HWProf Inventory SWProf., Inventory ( ) (wsetinvrcvr wgetinvrcvr.). wsetipcoll -t FAIL -n BUNDLE @InventoryProfile:SWProf wcollect, wcrtinvrcvr, wgetinvrcvr, wgetinvstat, wgetipcoll, wsetinvrcvr 72 3.6.2
B MCollect MCollect., Tivoli Inventory. Tivoli Management Framework. MCollect.. Inventory $DBDIR/inventory/mc/file_name $DBDIR/mcollect/file_name, $DBDIR Tivoli. file_name. MCollect. Tivoli Inventory 73 B. MCollect
checkpointgl_iqfile.dat CTOC(Collection Tables Of Contents). checkpointgl_oqfile.dat CTOC. checkpointgl_eqfile.dat CTOC. CTOC. CTOC., CTOC. checkpointgl_dqfile.dat CTOC. CTOC. 33 47 wcollect. :.dat, MCollect. wcstat q. 4.., checkpointgl_iqfile.dat 4. mcollect.log. wcollect d.,. wcollect g., 1MB. 47 wcollect. tail. tail -f mcollect.log 74 3.6.2
,.,. tail. mcollect.log, WARNING, ERROR exception. Inventory Inventory. mcollect.log,., Inventory IR. 74. TMR(Tivoli Management Region). TMR $TMPDIR/mcollect_collmgr.log, $TMPDIR.. UNIX : /tmp, /usr/tmp /var/tmp Windows NT : c:\temp. tail. tail. tail -f mcollect_collmgr.log Inventory, Inventory Inventory. wsetipcoll w Inventory. Tivoli Inventory 75 B. MCollect
$TMPDIR/inv_scan_nn.log, nn is the scan ID and $TMPDIR.. UNIX : /tmp, /usr/tmp /var/tmp Windows NT : c:\temp : UNIX, $TMPDIR tmpnam. Windows NT, $TMPDIR GetTempPath..,. tail. tail. tail -f inv_scan_nn.log CTOC CTOC.,. $DBDIR/mcollect/CTOC_log.dat.. wcstat -q c collector, collector @ManagedNode:collector_name @Gateway:collector_name. wcollect f CTOC_log.dat.,.,. wcollect collector 76 3.6.2
, collector @ManagedNode:collector_name @Gateway:collector_name., log_completed_ctoc.,.. tail. $LCF_DATDIR/lcfd.log Tivoli Management Framework.. MCollect, MCollect. $LCF_DATDIR Framework. lcfd.log Tivoli Management Framework Tivoli Management Framework. /tmp/rim_db_log RIM(RDBMS Interface Module). RIM. wrimtrace. IOM(InterObject Message), RDBMS(Relational Database Management System)., RIM. wrimtrace RIM. :., RIM. wrimtrace RIM Tivoli Management Framework. Tivoli Inventory 77 B. MCollect
depot/ctoc_id, CTOC_ID CTOC. CTOC CTOC ID. $DBDIR/mcollect/depot.,. 0. MCollect. A, 43, Tivoli Management Framework.. MCollect Inventory., MCollect. wgetinvstat.. wgetinvstat -a -s -f, Inventory Inventory.. 78 3.6.2
, wgetinvstat., wadminep., wrimtest RIM.. wrimtest -l rim_object_label, rim_object_label Inventory RIM. : Inventory RIM Inventory., Inventory RIM. Inventory RIM. wrimtest x. wadminep wrimtest Tivoli Management Framework., RIM. Inventory RIM inventory. Inventory RIM inventoryn, n ( : inventory1 inventorry2). RIM. RIM. wgetrim rim_object_label, rim_object_label RIM. MCollect,.. Tivoli Inventory 79 B. MCollect
v v v v v v 64 wgetipcoll MCollect. 60 wgetinvrcvr Inventory. wgetrim MCollect RIM. MCollect. MCollect., Inventory MCollect. repeater MCollect., wrpt repeater., wlsinst repeater MCollect. : 1. MCollect Solaris, HP-UX, AIX, Windows NT. 2. MCollect. Inventory PC, MCollect.., CTOC CTOC., CTOC. CTOC Inventory, Inventory., wcollect., 47 wcollect z, Inventory.. 80 3.6.2
Inventory Inventory.. 33 4 7 wcollect. wcollect. max_input_retries., 1. Inventory., Inventory., wcollect h., wcollect s..., Inventory., wrpt repeater,. RIM. Tivoli Inventory 81 B. MCollect
82 3.6.2
Tivoli, Tivoli. MDist(Multiplexed Distribution),. ( : UNIX (/), Windows (\), OS/2 (;)) ( : )... ( ) (:)..., ( : ). Tivoli, Tivoli Management Framework. Tivoli, Tivoli (,, ). policy region,.,,,.,. Tivoli, Tivoli Inventory Tivoli Software Distribution RIM., Tivoli Inventory,, Inventory Tivoli Software Distribution. Tivoli Inventory 83
,.,.,... ( : TV )..,. GUI(grahical user interface).,... Tivoli,.,..,... 84 3.6.2
Tivoli,..,.,.,.,.. Tivoli, Tivoli Tivoli. Tivoli, Tivoli Tivoli Management Framework Tivoli Tivoli. I/O. Tivoli, Tivoli. ORB(Object Request Broker). Tivoli, ID Tivoli Management Region 2.... Tivoli,.. Tivoli Inventory 85
.....,.,. Tivoli, (a) MCollect repeater (b) Inventory MCollect. Tivoli,.,,.,,. Tivoli,.. Tivoli, Tivoli. Tivoli. Tivoli.,. 86 3.6.2
..,.,. Tivoli,. Tivoli. Tivoli.. Tivoli ( : )..,,. Tivoli, TMR.. (1) ( : SAN )..,. (2) Tivoli,.,.,. C CLI CLI(Command Line Interface). Tivoli Inventory 87
CLI(Command Line Interface). G GUI(Graphical User Interface),.. CLI(Command Line Interface). I Inventory Tivoli MCollect, Tivoli Inventory Tivoli Inventory. M man page UNIX,. Man page Manual page. UNIX, man command name man page. MCollect. Tivoli,. MDist. Tivoli,. MDist(Multiplexed Distribution) MDist. MIF MIF(Management Information Format). MIF(Management Information Format) DMI(Desktop Management Interface). 88 3.6.2
O ORB(Object Request Broker),. oserv Tivoli. Oserv TMR TMR. P PC Tivoli, PC. Tivoli Management Framework PC PC PC. PC PC. policy Tivoli,. policy policy. policy region Tivoli, policy. Tivoli policy region.,. policy region. policy region ( ) Tivoli. TMR(Tivoli Management Region), policy region., TMR policy region., Tivoli policy region subregion TMR. policy region TMR. R RDBMS RDBMS(Relational Database Management System). RDBMS(Relational Database ManagementSystem). repeater,. repeater. Tivoli Inventory 89
repeater Tivoli Management Region, MDist. repeater. RIM RIM(RDBMS Interface Module). RIM(RDBMS Interface Module) Tivoli Management Framework, RDBMS(Relational Database Management System). RIM Tivoli, Tivoli RDBMS(Relational Database Management System). T Tivoli Inventory Tivoli.. Tivoli Management Framework Tivoli. Tivoli Systems Inc. Tivoli. Tivoli Management Framework. (oserv) Tivoli, Tivoli Management Framework, TMR. TMR TMR(Tivoli Management Region) Tivoli. TMR(Tivoli Management Region) Tivoli, Tivoli Tivoli. TMR. policy region TMR. 90 3.6.2
, 45, 45 2, 3, 9, 25, 27 repeater 2, 9, 25 Tivoli x 30, 31 vii 3 Inventory 39, ix, ix, ix 14, 18 13, 14, 15, 16, 17, 18, 19, 20 28, 36, 49 28, 36, 49, 44 $DBDIR 27, 73 $DBDIR/inventory/mc 73 $DBDIR/inventory/stat_dir 30, 54 $DBDIR/mcollect 27, 49, 73, 76 $DBDIR/mcollect/depot 27, 78 $LCF_DATDIR 77 27, 49 27, 49 vii MDist 2 79 43 MCollect 45 odadmin 10, 35 tail 74, 75, 76, 77 wadminep 79 wcollect 10, 25, 26, 29, 30, 34, 36, 37, 47, 74, 76, 80, 81 wcrtinvrcvr 22, 30, 40, 54, 55, 60, 61, 67 wcrtrim 21, 32 wcstat 38, 51, 57, 74 wdel 32 wgetinvrcvr 39, 60, 72, 80 wgetinvstat 39, 40, 62, 71, 78, 79 wgetipcoll 39, 40, 64, 80 wgetrim 21, 32, 80 wlsinst 80 wpatch 17, 21 wrimtrace 77 wrpt 25, 27, 51, 80, 81 wsetinvrcvr 30, 40, 55, 60, 61, 67, 72 wsetipcoll 22, 26, 40, 54, 56, 60, 65, 67, 68, 70, 75, ix Tivoli Inventory 91
30, 72 31, 60, 64, 68, 71 30, 54, 67 60 31, 55, 68 ix 45 30, 40, 54, 67, 70 70 31 60 30 38, 57 30, 54, 67, 70 37, 39, 40, 64 5 3 46 Inventory 21 MCollect 17 Framework 12 GUI Inventory 17 GUI MCollect 12 Inventory 17 Inventory 15, 19 vii, ix, 12, 17, 40 50, 29, 37, 50 78 39, 62 31 31 () 30 3 3, 75 45 ID 35, 51 44 33, 36, 51, 81, ix 41, 44, 48, 48 29, 50 27, 49 78 80 27, 49 2 28, 49 chunk 28, 36, 49 45 Tivoli ix 33, 36, 51 81 3, 75 3 x 92 3.6.2
() 3, 33, 36, 51 MCollect 4 10, 27, 50 3, 27, 50, 75 33, 51 37, 48 27, 49 28, 49, 51, 74 80 26 38, 57 29, 37, 50 27, 48 48 29, 50 27, 49 28, 49, 80 27, 48 10, 27, 50 33, 51 2, 3, 9, 25, 27 48 27, 48 48 27, 48 73 3 3, 74 3 3, 74 3, 74 3, 74 38, 57 ix 14, 18 13, 14, 15, 16, 17, 18, 19, 20 71, 72 79 39, 64 MCollect 26, 70, 71, ix 1 48 C checkpointgl_dqfile.dat 74 checkpointgl_eqfile.dat 74 checkpointgl_iqfile.dat 74 checkpointgl_oqfile.dat 74 CTOC 4, 5, 24, 25 38, 57 CTOC_log.dat 76 F Framework 12 34 11 Tivoli Inventory 93
I Inventory 40 17 Inventory 15, 19 Inventory 30, 54, 67 39, 60 70 30 30, 40, 54, 67, 70 32 54 31, 55, 68 31, 55, 68 3 31 17 Inventory 54 inv_scan_nn.log 76 L lcfd.log 77 M MCollect 6 17 22 11 15 37 2 GUI 12 Inventory 24 MCollect 22 mcollect.log 28, 49, 74, 75 MDist 2, 25 MIF 24 N nobody 28, 49 O odadmin 10, 35 oserv 28 R repeater 2, 9, 25 repeater 2 RIM 21, 32 21, 32 3 RIM 32 RIM 21, 32 rim_db_log 77 T tail 74, 75, 76, 77 Tivoli Management Framework Framework 11 Tivoli, x Tivoli 13, 17 Tivoli 34, 36 tmersrvd 28, 49 TMR TMR 41 Inventory 22, 54 TMR 44 94 3.6.2
W wadminep 79 WAN 10, 41 wcollect 10, 25, 26, 29, 30, 34, 36, 37, 47, 74, 76, 80, 81 wcrtinvrcvr 22, 30, 40, 54, 55, 60, 61, 67 wcrtrim 21, 32 wcstat 38, 51, 57, 74 wdel 32 wgetinvrcvr 39, 60, 72, 80 wgetinvstat 39, 40, 62, 71, 78, 79 wgetipcoll 39, 40, 64, 80 wgetrim 21, 32, 80 wlsinst 80 wpatch 17, 21 wrimtest 79 wrimtrace 77 wrpt 25, 27, 51, 80, 81 wsetinvrcvr 30, 40, 55, 60, 61, 67, 72 wsetipcoll 22, 26, 40, 54, 56, 60, 65, 67, 68, 70, 75 $DBDIR 27, 73 $DBDIR/inventory/mc 73 $DBDIR/inventory/stat_dir 30, 54 $DBDIR/mcollect 27, 49, 73, 76 $DBDIR/mcollect/depot 27, 78 $LCF_DATDIR 77 Tivoli Inventory 95
96 3.6.2
Printed in Australia GA30-0944-00