Quoth prakash k on Thu, May 10, 2007 at 10:15:08AM +0530:
> I am looking for the SMF service state diagram. I searched in
> docs.sun.combut could not able to find out. I also found some textual
> info in manual
> pages ( man smf ). But I am looking for a pictorial information.
> 
> Plz could you share with me a SMF state diagram if you have or know  the
> link/doc ?

The attached is a version of the state diagram we included in our PSARC
case.  The "Re-read config data" transitions from OFFLINE & DISABLED to
UNINITIALIZED aren't really accurate -- we just leave the service in its
current state on refresh.  Also, we added a transition from MAINTENANCE
to DISABLED if you disable a service in maintenance.


David
-------------- next part --------------
%!PS
%%BoundingBox: -187 -540 289 75 
%%Creator: MetaPost
%%CreationDate: 2007.05.14:1446
%%Pages: 1
%%DocumentFonts: cmss10
/cmss10 /cmss10 def
/fshow { exch findfont exch 0.7 mul scalefont setfont show } bind def
%%EndProlog
%%Page: 1 1
0 0 moveto
(UNINITIALIZED) cmss10 9.96265 fshow
 0 2.83482 dtransform truncate idtransform setlinewidth pop [] 0 setdash
 1 setlinejoin 10 setmiterlimit
newpath -3 -10.71396 moveto
73.08472 -10.71396 lineto
73.08472 17.63249 lineto
-3 17.63249 lineto
 closepath stroke
178.5193 -510.23611 moveto
(DEGRADED) cmss10 9.96265 fshow
 0 0.5 dtransform truncate idtransform setlinewidth pop
newpath 175.5193 -520.95007 moveto
234.72282 -520.95007 lineto
234.72282 -492.60362 lineto
175.5193 -492.60362 lineto
 closepath stroke
15.117 -170.0787 moveto
(OFFLINE) cmss10 9.96265 fshow
newpath 12.117 -180.79266 moveto
57.96771 -180.79266 lineto
57.96771 -152.44621 lineto
12.117 -152.44621 lineto
 closepath stroke
-39.43115 -340.15741 moveto
(ONLINE) cmss10 9.96265 fshow
newpath -42.43115 -350.87137 moveto
-0.86993 -350.87137 lineto
-0.86993 -322.52492 lineto
-42.43115 -322.52492 lineto
 closepath stroke
181.45972 -170.0787 moveto
(DISABLED) cmss10 9.96265 fshow
newpath 178.45972 -180.79266 moveto
231.78241 -180.79266 lineto
231.78241 -152.44621 lineto
178.45972 -152.44621 lineto
 closepath stroke
-170.5284 -170.0787 moveto
(MAINTENANCE) cmss10 9.96265 fshow
newpath -173.5284 -180.79266 moveto
-96.5443 -180.79266 lineto
-96.5443 -152.44621 lineto
-173.5284 -152.44621 lineto
 closepath stroke
 1 setlinecap
newpath 42.36395 -10.71472 moveto
62.98363 -55.68301 62.9834 -107.47884 42.36327 -152.44698 curveto stroke
newpath 42.46513 -148.44742 moveto
42.44688 -149.77928 42.41296 -151.11256 42.36327 -152.44698 curveto
43.34201 -151.53856 44.30876 -150.6198 45.26344 -149.69095 curveto
 closepath
gsave fill grestore stroke
59.92851 -67.52492 moveto
(Sta) cmss10 9.96265 fshow
73.57181 -67.52492 moveto
(rt) cmss10 9.96265 fshow
59.92851 -79.48012 moveto
(service) cmss10 9.96265 fshow
newpath 30.3604 -152.44684 moveto
16.60985 -106.20784 16.60982 -56.95268 30.3603 -10.71367 curveto stroke
newpath 30.80606 -14.68774 moveto
30.64691 -13.36504 30.49832 -12.0403 30.3603 -10.71367 curveto
29.5198 -11.74931 28.68814 -12.79109 27.86536 -13.83893 curveto
 closepath
gsave fill grestore stroke
-28.57262 -90.59859 moveto
(Re-read) cmss10 9.96265 fshow
-28.57262 -102.55379 moveto
(config) cmss10 9.96265 fshow
-0.37282 -102.55379 moveto
(data) cmss10 9.96265 fshow
newpath 12.11641 -166.61945 moveto
-96.54391 -166.61945 lineto stroke
newpath -92.84767 -165.08838 moveto
-96.54391 -166.61945 lineto
-92.84767 -168.15051 lineto
 closepath
gsave fill grestore stroke
-94.19244 -176.53795 moveto
(Unresolvable) cmss10 9.96265 fshow
-38.52605 -176.53795 moveto
(error or) cmss10 9.96265 fshow
-82.76305 -188.49315 moveto
(thresholds) cmss10 9.96265 fshow
-37.57135 -188.49315 moveto
(reached) cmss10 9.96265 fshow
newpath 55.57094 -152.4461 moveto
95.58028 -130.07443 144.58238 -130.07431 184.59181 -152.44574 curveto stroke
newpath 180.61247 -152.03862 moveto
181.93843 -152.15398 183.26501 -152.28961 184.59181 -152.44574 curveto
183.76404 -151.39716 182.92195 -150.36317 182.06593 -149.34401 curveto
 closepath
gsave fill grestore stroke
70.54523 -132.66727 moveto
(Service) cmss10 9.96265 fshow
103.06223 -132.66727 moveto
(marked) cmss10 9.96265 fshow
136.38173 -132.66727 moveto
(disabled) cmss10 9.96265 fshow
newpath 38.93675 -180.7927 moveto
42.58115 -187.94478 48.34569 -192.09741 54.88478 -189.29669 curveto
69.89474 -182.86786 66.48216 -168.63031 57.96771 -161.80774 curveto stroke
newpath 61.68059 -163.29628 moveto
60.49266 -162.68027 59.24411 -162.17867 57.96771 -161.80774 curveto
58.60794 -162.97258 59.13612 -164.21014 59.54048 -165.48573 curveto
 closepath
gsave fill grestore stroke
56.98477 -198.31519 moveto
(Dependency not met) cmss10 9.96265 fshow
56.98477 -210.27039 moveto
(o) cmss10 9.96265 fshow
61.68938 -210.27039 moveto
(r) cmss10 9.96265 fshow
68.41417 -210.27039 moveto
(sta) cmss10 9.96265 fshow
80.34167 -210.27039 moveto
(rt) cmss10 9.96265 fshow
90.66408 -210.27039 moveto
(failed) cmss10 9.96265 fshow
newpath 42.94975 -180.79297 moveto
67.70728 -233.551 48.2705 -296.6796 -0.87064 -326.709 curveto stroke
newpath 1.42696 -323.4353 moveto
0.68271 -324.53653 -0.08316 -325.62793 -0.87064 -326.709 curveto
0.45062 -326.50143 1.76392 -326.27124 3.06886 -326.01886 curveto
 closepath
gsave fill grestore stroke
5.77798 -275.26979 moveto
(Dependencies met) cmss10 9.96265 fshow
5.77798 -287.22499 moveto
(and service enabled) cmss10 9.96265 fshow
newpath -120.86398 -152.44708 moveto
20.86862 -10.71448 lineto stroke
newpath 19.33775 -14.41042 moveto
20.86862 -10.71448 lineto
17.17268 -12.24535 lineto
 closepath
gsave fill grestore stroke
-109.02249 -90.59859 moveto
(Administrator) cmss10 9.96265 fshow
-109.02249 -102.55379 moveto
(intervention) cmss10 9.96265 fshow
newpath 204.53893 -152.44632 moveto
198.39326 -77.95132 144.23819 -17.06937 73.08482 -0.81151 curveto stroke
newpath 77.03545 -0.1892 moveto
75.71828 -0.38074 74.40132 -0.58813 73.08482 -0.81151 curveto
74.17366 -1.58447 75.25154 -2.36908 76.31834 -3.16505 curveto
 closepath
gsave fill grestore stroke
157.40614 -55.37411 moveto
(Re-read) cmss10 9.96265 fshow
157.40614 -67.32932 moveto
(config) cmss10 9.96265 fshow
185.60594 -67.32932 moveto
(data) cmss10 9.96265 fshow
newpath 178.46063 -166.61945 moveto
57.96794 -166.61945 lineto stroke
newpath 61.6641 -165.08841 moveto
57.96794 -166.61945 lineto
61.6641 -168.15048 lineto
 closepath
gsave fill grestore stroke
67.34886 -176.53795 moveto
(Service) cmss10 9.96265 fshow
99.86586 -176.53795 moveto
(enabled) cmss10 9.96265 fshow
134.65207 -176.53795 moveto
(b) cmss10 9.96265 fshow
139.52277 -176.53795 moveto
(y) cmss10 9.96265 fshow
147.43745 -176.53795 moveto
(admin) cmss10 9.96265 fshow
newpath -31.09879 -322.52579 moveto
-125.58719 -180.79318 lineto stroke
newpath -122.26346 -183.01901 moveto
-125.58719 -180.79318 lineto
-124.81091 -184.71732 lineto
 closepath
gsave fill grestore stroke
-121.56342 -249.14046 moveto
(Unresolvable) cmss10 9.96265 fshow
-65.89702 -249.14046 moveto
(erro) cmss10 9.96265 fshow
-49.95682 -249.14046 moveto
(r) cmss10 9.96265 fshow
-43.23201 -249.14046 moveto
(o) cmss10 9.96265 fshow
-38.52742 -249.14046 moveto
(r) cmss10 9.96265 fshow
-121.56342 -261.09566 moveto
(thresholds) cmss10 9.96265 fshow
-76.37172 -261.09566 moveto
(reached) cmss10 9.96265 fshow
newpath -42.43134 -343.59595 moveto
-49.56335 -348.30524 -53.24019 -354.921 -49.997 -362.20978 curveto
-38.2906 -388.51881 -8.03091 -369.29446 -10.70108 -350.87125 curveto stroke
newpath -9.09541 -354.53485 moveto
-9.48012 -353.25946 -10.01157 -352.03033 -10.70108 -350.87125 curveto
-11.03314 -352.1784 -11.5265 -353.42331 -12.15633 -354.59717 curveto
 closepath
gsave fill grestore stroke
-65.3492 -365.66904 moveto
(Refresh) cmss10 9.96265 fshow
newpath -24.33495 -322.52364 moveto
-31.87733 -270.90887 -15.42345 -218.7147 20.0762 -180.79274 curveto stroke
newpath 18.71233 -184.55219 moveto
19.15175 -183.29532 19.60637 -182.0421 20.0762 -180.79274 curveto
18.86055 -181.34392 17.65291 -181.9086 16.45345 -182.4866 curveto
 closepath
gsave fill grestore stroke
-56.40132 -228.69182 moveto
(Service) cmss10 9.96265 fshow
-23.88432 -228.69182 moveto
(shutdown,) cmss10 9.96265 fshow
-56.40132 -240.64702 moveto
(resta) cmss10 9.96265 fshow
-36.64203 -240.64702 moveto
(rt) cmss10 9.96265 fshow
-26.31963 -240.64702 moveto
(o) cmss10 9.96265 fshow
-21.61502 -240.64702 moveto
(r) cmss10 9.96265 fshow
-14.89023 -240.64702 moveto
(disable) cmss10 9.96265 fshow
newpath -2.75406 -350.87051 moveto
186.22275 -492.60312 lineto stroke
newpath 182.347 -491.61018 moveto
186.22275 -492.60312 lineto
184.18434 -489.16042 lineto
 closepath
gsave fill grestore stroke
46.46057 -404.84511 moveto
(Partial failure of) cmss10 9.96265 fshow
46.46057 -416.80031 moveto
(service) cmss10 9.96265 fshow
77.26176 -416.80031 moveto
(o) cmss10 9.96265 fshow
81.96637 -416.80031 moveto
(r) cmss10 9.96265 fshow
88.69118 -416.80031 moveto
(dependency) cmss10 9.96265 fshow
newpath 198.0336 -492.60188 moveto
42.12794 -180.79066 lineto stroke
newpath 45.14993 -183.4116 moveto
42.12794 -180.79066 lineto
42.41147 -184.78084 lineto
 closepath
gsave fill grestore stroke
123.08171 -334.17981 moveto
(Service) cmss10 9.96265 fshow
155.59871 -334.17981 moveto
(shutdown,) cmss10 9.96265 fshow
123.08171 -346.13501 moveto
(resta) cmss10 9.96265 fshow
142.841 -346.13501 moveto
(rt) cmss10 9.96265 fshow
153.1634 -346.13501 moveto
(o) cmss10 9.96265 fshow
157.86801 -346.13501 moveto
(r) cmss10 9.96265 fshow
164.5928 -346.13501 moveto
(disable) cmss10 9.96265 fshow
newpath 209.30548 -520.95003 moveto
214.668 -532.74701 223.79628 -540.05106 233.46751 -535.1233 curveto
253.04097 -525.15013 246.89984 -506.24422 234.72307 -498.08447 curveto stroke
newpath 238.57524 -499.16066 moveto
237.31596 -498.70671 236.02554 -498.34535 234.72307 -498.08447 curveto
235.45956 -499.18993 236.1165 -500.35793 236.68593 -501.56938 curveto
 closepath
gsave fill grestore stroke
178.13326 -537.61397 moveto
(No improvement in service) cmss10 9.96265 fshow
newpath 175.51791 -515.7574 moveto
-20.5799 -563.53687 -199.94528 -377.61783 -139.78166 -180.79684 curveto stroke
newpath -139.36931 -184.77888 moveto
-139.51587 -183.45587 -139.65337 -182.1285 -139.78166 -180.79684 curveto
-140.63258 -181.82918 -141.47397 -182.86496 -142.30586 -183.9041 curveto
 closepath
gsave fill grestore stroke
-118.19058 -442.53233 moveto
(Unresolvable) cmss10 9.96265 fshow
-62.52419 -442.53233 moveto
(erro) cmss10 9.96265 fshow
-46.58398 -442.53233 moveto
(r) cmss10 9.96265 fshow
-39.85918 -442.53233 moveto
(o) cmss10 9.96265 fshow
-35.15459 -442.53233 moveto
(r) cmss10 9.96265 fshow
-118.19058 -454.48753 moveto
(thresholds) cmss10 9.96265 fshow
-72.99889 -454.48753 moveto
(reached) cmss10 9.96265 fshow
newpath 175.51772 -512.79227 moveto
77.36679 -524.22612 -13.25696 -451.43915 -21.10086 -350.8709 curveto stroke
newpath -19.24709 -354.41722 moveto
-19.87645 -353.24522 -20.49445 -352.06311 -21.10086 -350.8709 curveto
-21.5151 -352.1427 -21.91402 -353.41557 -22.29774 -354.68932 curveto
 closepath
gsave fill grestore stroke
-6.50607 -474.94345 moveto
(Dependencies satisfied and) cmss10 9.96265 fshow
-6.50607 -486.89865 moveto
(service) cmss10 9.96265 fshow
24.29512 -486.89865 moveto
(is) cmss10 9.96265 fshow
33.81493 -486.89865 moveto
(healthy) cmss10 9.96265 fshow
newpath 73.08472 3.45926 moveto
157.81776 3.45926 225.07822 -67.85829 220.12106 -152.44621 curveto stroke
newpath 218.75853 -148.68375 moveto
219.22789 -149.92787 219.68216 -151.18207 220.12106 -152.44621 curveto
220.70462 -151.242 221.27028 -150.03392 221.81813 -148.82233 curveto
 closepath
gsave fill grestore stroke
gsave [0.81578 -0.57837 0.57837 0.81578 129.33026 17.46303 ] concat 0 0 moveto
(Service) cmss10 9.96265 fshow grestore
gsave [0.81578 -0.57837 0.57837 0.81578 155.857 -1.3438 ] concat 0 0 moveto
(disabled) cmss10 9.96265 fshow grestore
newpath 231.78241 -166.61945 moveto
269.28307 138.79474 -211.02905 138.79474 -173.5284 -166.61945 curveto stroke
newpath -175.47154 -163.13028 moveto
-174.83504 -164.29173 -174.18735 -165.45479 -173.5284 -166.61945 curveto
-173.17078 -165.32997 -172.80635 -164.04958 -172.43513 -162.77823 curveto
 closepath
gsave fill grestore stroke
-39.0341 67.37839 moveto
(Service) cmss10 9.96265 fshow
-6.5171 67.37839 moveto
(put) cmss10 9.96265 fshow
10.69609 67.37839 moveto
(in) cmss10 9.96265 fshow
21.5443 67.37839 moveto
(maintenance) cmss10 9.96265 fshow
77.0584 67.37839 moveto
(state) cmss10 9.96265 fshow
newpath -3 3.45926 moveto
-73.90007 -22.34654 -128.42262 -80.15787 -150.03635 -152.44621 curveto stroke
newpath -150.41095 -148.46498 moveto
-150.29729 -149.79172 -150.17245 -151.11885 -150.03635 -152.44621 curveto
-149.19397 -151.41139 -148.34383 -150.3847 -147.48602 -149.3662 curveto
 closepath
gsave fill grestore stroke
gsave [-0.68611 -0.7275 0.7275 -0.68611 -72.12878 3.0293 ] concat 0 0 moveto
(Can't) cmss10 9.96265 fshow grestore
gsave [-0.68611 -0.7275 0.7275 -0.68611 -89.95801 -15.87527 ] concat 0 0 moveto
(read) cmss10 9.96265 fshow grestore
gsave [-0.68611 -0.7275 0.7275 -0.68611 -104.42651 -31.21643 
] concat 0 0 moveto
(config) cmss10 9.96265 fshow grestore
newpath -173.5284 -171.61945 moveto
-215.21837 -186.79353 -141.89401 -223.16698 -155.03635 -180.79266 curveto
 stroke
newpath -152.62112 -183.98123 moveto
-153.31602 -182.95958 -154.11856 -181.8969 -155.03635 -180.79266 curveto
-155.16821 -182.22243 -155.35219 -183.54134 -155.58325 -184.75513 curveto
 closepath
gsave fill grestore stroke
showpage
%%EOF

Reply via email to