 < ? x m l   v e r s i o n = " 1 . 0 "   e n c o d i n g = " I S O - 8 8 5 9 - 1 "   s t a n d a l o n e = " y e s " ? > 
 < w o r k f l o w   r o o t - n a m e = " i t e m 0 "   o b j e c t - n a m e = " w o r k f l o w : n a m e = g e n e r i c "   i d = " A 2 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 B 6 8 2 8 0 8 0 0 1 3 1 3 6 4 9 2 3 8 7 2 4 7 2 d c f 6 c 5 4 6 6 "     v e r s i o n = " 0 . 0 . 2 "   a p i - v e r s i o n = " 3 . 1 . 0 "   a l l o w e d - o p e r a t i o n s = " v f e "   r e s t a r t M o d e = " 1 "   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ G e t V M C o n f i g ] ] > < / d i s p l a y - n a m e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ T h i s   W o r k f l o w   g e t s   a l l   v i r t u a l   m a c h i n e   f r o m   o n e   v C e n t e r   S e r v e r   a n d   i n s e r t   t h e   c a t c h e d   d a t a   i n t o   a   S Q L   D a t a b a s e ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 5 8 0 . 0 '   y = ' 0 . 0 ' / > 
 < a t t r i b   n a m e = ' a l l V M s '   t y p e = ' A r r a y / V C : V i r t u a l M a c h i n e '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' N u m b e r V M s '   t y p e = ' n u m b e r '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ T h e   l e n g t h   o f   t h e   A r r a y   o f   v i r t u a l   m a c h i n e s ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' S Q L V I D '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ T h e   S Q L   V I D   w i t h   i s   g e n e r a t e d   a n d   u n i q u e ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V m t o G e t '   t y p e = ' V C : V i r t u a l M a c h i n e '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ T h e   v i r t u a l   M a c h i n e   f o r   O p e r a t i o n   i n   t h e   n e x t   s t e p s ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' S k i p V M '   t y p e = ' b o o l e a n '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ f a l s e ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ S k i p   t h e   V M ? 	 ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M N a m e '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ T h e   N a m e   o f   t h e   v i r t u a l   M a c h i n e ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V _ I D '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ T h e   V _ I D   f o r   t h e   V M ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' f o l d e r N a m e '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ V i r t u a l   m a c h i n e   f o l d e r   n a m e ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' f o l d e r I d '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ V i r t u a l   m a c h i n e   f o l d e r   I D ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' r u n n i n g H o s t N a m e '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ N a m e   o f   h o s t   r u n n i n g   t h e   v i r t u a l   m a c h i n e ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' r u n n i n g H o s t I d '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ I D   o f   h o s t   r u n n i n g   t h e   v i r t u a l   m a c h i n e ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' r e s o u r c e P o o l N a m e '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ R e s o u r c e   p o o l   n a m e ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' r e s o u r c e P o o l I d '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ R e s o u r c e   p o o l   I D ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' c l u s t e r N a m e '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ C l u s t e r   n a m e ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' c l u s t e r I d '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ C l u s t e r   I D ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' c o m p u t e R e s o u r c e I d '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ C i m p u t e   r e s o u r c e   I D ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' d a t a s t o r e s N a m e '   t y p e = ' A r r a y / s t r i n g '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ D a t a s t o r e   n a m e ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' d a t a s t o r e s I d '   t y p e = ' A r r a y / s t r i n g '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ D a t a s t o r e   I D ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' d i s k S i z e s '   t y p e = ' A r r a y / n u m b e r '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ D i s k   s i z e s ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' c p u C o u n t '   t y p e = ' n u m b e r '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ N u m b e r   o f   C P U s ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' m e m o r y M B '   t y p e = ' n u m b e r '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ M e m o r y   i n   M B ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' i p A d d r e s s e s '   t y p e = ' A r r a y / s t r i n g '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ I P   a d d r e s s e s ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' n e t w o r k s '   t y p e = ' A r r a y / s t r i n g '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ N e t w o r k s ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' f o l d e r '   t y p e = ' V C : V m F o l d e r '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ V i r t u a l   m a c h i n e   f o l d e r ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' h o s t '   t y p e = ' V C : H o s t S y s t e m '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ H o s t ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' r e s o u r c e P o o l '   t y p e = ' V C : R e s o u r c e P o o l '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ R e s o u r c e   P o o l ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' c l u s t e r '   t y p e = ' V C : C l u s t e r C o m p u t e R e s o u r c e '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ C l u s t e r ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' c o m p u t e R e s o u r c e '   t y p e = ' V C : C o m p u t e R e s o u r c e '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ C o m p u t e   r e s o u r c e ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' d a t a s t o r e s '   t y p e = ' A r r a y / V C : D a t a s t o r e '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ A r r a y   o f   d a t a s t o r e s ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M U U I D '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ U U I D   o f   t h e   v i r t u a l   M a c h i n e ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' i s U n i q u e '   t y p e = ' b o o l e a n '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ t r u e ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ I s   t h e   v a l u e   U n i q u e ?   ( a l w a y s   y e s ) ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M I n f o _ t a b l e '   t y p e = ' S Q L : T a b l e '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ d u n e s : / / s e r v i c e . d u n e s . c h / C u s t o m S D K O b j e c t ? i d = ' A 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 E 2 8 4 8 0 8 0 0 1 3 1 3 6 4 9 2 3 8 7 2 4 7 2 d c f 6 c 5 4 6 6 @ V M _ I n f o ' & d u n e s N a m e = ' S Q L : T a b l e ' ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ T h e   D b   T a b l e   w i t h   t h e   v i r t u a l   m a c h i n e   i n f o r m a t i o n 	 ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M I n f o R e a d _ r e s u l t '   t y p e = ' S Q L : A c t i v e R e c o r d '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ T h e   I n f o r m a t i o n   f r o m   t h e   D B   q u e r y   w i l l   b e   s t o r e d   h e r e   ( T a b l e   V M I n f o ) ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M i n D B '   t y p e = ' b o o l e a n '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ f a l s e ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ I s   t h e   V M   a l r e a d y   i n   t h e   D B ? ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M I n f o _ r e s u l t '   t y p e = ' S Q L : A c t i v e R e c o r d '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ M a p p e d   r e c o r d   o b j e c t   t o   a   d a t a b a s e   r e c o r d . ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M H o s t _ r e s u l t '   t y p e = ' S Q L : A c t i v e R e c o r d '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ M a p p e d   r e c o r d   o b j e c t   t o   a   d a t a b a s e   r e c o r d . ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M N e t w o r k _ t a b l e '   t y p e = ' S Q L : T a b l e '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ d u n e s : / / s e r v i c e . d u n e s . c h / C u s t o m S D K O b j e c t ? i d = ' A 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 E 2 8 4 8 0 8 0 0 1 3 1 3 6 4 9 2 3 8 7 2 4 7 2 d c f 6 c 5 4 6 6 @ V M _ N e t w o r k ' & d u n e s N a m e = ' S Q L : T a b l e ' ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ T h e   D a t a b a s e   T a b l e   f o r   V M _ n e t w o r k   ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M N e t w o r k _ r e s u l t '   t y p e = ' S Q L : A c t i v e R e c o r d '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ T h e   r e s u l t   o f   t h e   V M N e t w o r k   Q u e r y ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' N e t w o r k s T o S t r i n g '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ M a p   t h e   N e t w o r k   A r r a y / S t r i n g   t o   a   s i n g l e   S t r i n g   f o r   s t o r i n g   i n   D B ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' I p A d d r e s s T o S t r i n g '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ M a p   t h e   A r r a y   I p A d d r e s s   A r r a y / S t r i n g   t o   a   s i n g l e   S t r i n g   f o r   s t o r i n g   i n   D B ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' D i s k S i z e T o S t r i n g '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ M a p   t h e   d i s k S i z e s   A r r a y / S t r i n g   t o   a   s i n g l e   S t r i n g   f o r   s t o r i n g   i n   D B ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' D a t a s t o r e N a m e s T o S t r i n g '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ M a p   t h e   d a t a s t o r e N a m e   A r r a y / S t r i n g   t o   a   s i n g l e   S t r i n g   f o r   s t o r i n g   i n   D B ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M D a t a s t o r e _ r e s u l t '   t y p e = ' S Q L : A c t i v e R e c o r d '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ T h e   S Q L   r e s u l t   f o r   t h e   V M _ D a t a s t o r e ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M D a t a s t o r e _ t a b l e '   t y p e = ' S Q L : T a b l e '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ d u n e s : / / s e r v i c e . d u n e s . c h / C u s t o m S D K O b j e c t ? i d = ' A 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 E 2 8 4 8 0 8 0 0 1 3 1 3 6 4 9 2 3 8 7 2 4 7 2 d c f 6 c 5 4 6 6 @ V M _ D a t a s t o r e ' & d u n e s N a m e = ' S Q L : T a b l e ' ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ T h e   D a t a b a s e   T a b l e   f o r   V M _ D a t a s t o r e ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M I n f o f r o m D B '   t y p e = ' S Q L : A c t i v e R e c o r d '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ S t o r e   t h e   d a t a   f r o m   t h e   D B   t o   w o r k   w i t h   i t . . . . ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' C P U N u m b e r f r o m D B '   t y p e = ' n u m b e r '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ T h e   N u m b e r   o f   t h e   c o n f i g u r e d   C P U s   i n   t h e   D B ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' M e m N u m b e r f r o m D B '   t y p e = ' n u m b e r '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ T h e   c o n f i g u r e d   M e m o r y   f r o m   t h e   D B ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M _ I n f o _ C h a n g e '   t y p e = ' b o o l e a n '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ f a l s e ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ I s   t h e r e   a   c h a n g e   i n   t h e   V M _ I n f o   D a t a   f o r   t h e   V M ? ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' U p d a t e R e s u l t _ V M _ I n f o '   t y p e = ' n u m b e r '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ C o u n t   o f   d e l e t e d   r e c o r d s . ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M H o s t _ t a b l e '   t y p e = ' S Q L : T a b l e '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ d u n e s : / / s e r v i c e . d u n e s . c h / C u s t o m S D K O b j e c t ? i d = ' A 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 E 2 8 4 8 0 8 0 0 1 3 1 3 6 4 9 2 3 8 7 2 4 7 2 d c f 6 c 5 4 6 6 @ V M _ H o s t ' & d u n e s N a m e = ' S Q L : T a b l e ' ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ T h e   D B   T a b l e   w i t h   t h e   s t o r e d   H o s t   i n f o r m a t i o n ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' H o s t f r o m D B '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ T h e   H o s t   i n f o r m a t i o n   w h i t c h   i s   s t o r e d   i n t o   t h e   D B ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' C l u s t e r f r o m D B '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ T h e   c l u s t e r   i n f o r m a t i o n   w h i t c h   i s   s t o r e d   i n t o   t h e   D B ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' R P f r o m D B '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ T h e   r e s o u r c e   p o o l   i n f o r m a t i o n   w h i t c h   i s   s t o r e d   i n t o   t h e   D B ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' F o l d e r f r o m D B '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ T h e   f o l d e r   i n f o r m a t i o n   w h i t c h   i s   s t o r e d   i n t o   t h e   D B ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M _ H o s t _ C h a n g e '   t y p e = ' b o o l e a n '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ f a l s e ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ I s   t h e r e   a   c h a n g e   b e t w e e n   D a t a ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' U p d a t e R e s u l t _ V M _ H o s t '   t y p e = ' n u m b e r '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ C o u n t   o f   d e l e t e d   r e c o r d s . ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M H o s t _ R e a d R e s u l t '   t y p e = ' S Q L : A c t i v e R e c o r d '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ L o a d e d   r e c o r d   o b j e c t ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' I P f r o m D B '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ T h e   s t o r e d   I P   I n f o r m a t i o n   f r o m   t h e   D B ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' N e t w o r k s f r o m D B '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ T h e   s t o r e d   N e t w o r k   i n f o r m a t i o n   i n   t h e   D B ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M _ N e t w o r k _ C h a n g e '   t y p e = ' b o o l e a n '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ f a l s e ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ H a s   t h e   n e t w o r k   c o n f i g u r a t i o n   c h a n g e d ? ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M N e t w o r k R e a d _ r e s u l t '   t y p e = ' S Q L : A c t i v e R e c o r d '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ L o a d e d   r e c o r d   o b j e c t ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' U p d a t e R e s u l t _ V M _ N e t w o r k '   t y p e = ' n u m b e r '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ C o u n t   o f   d e l e t e d   r e c o r d s . ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M _ D a t a s t o r e _ C h a n g e '   t y p e = ' b o o l e a n '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ f a l s e ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ A r e   t h e r e   c h a n g e s   i n   t h e   d i s k   c o n f i g u r a t i o n ? ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' D i s k f r o m D B '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ T h e   d i s k   i n f o r m a t i o n   f r o m   t h e   D B ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' D a t a s t o r e f r o m D B '   t y p e = ' s t r i n g '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ T h e   D a t a s t o r e   I n f r o m a t i o n   f r o m   t h e   D B ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' V M D a t a s t o r e R e a d _ r e s u l t '   t y p e = ' S Q L : A c t i v e R e c o r d '   r e a d - o n l y = ' f a l s e '   > < v a l u e   e n c o d e d = ' n ' > < ! [ C D A T A [ _ _ N U L L _ _ ] ] > < / v a l u e > 
 < d e s c r i p t i o n > < ! [ C D A T A [ L o a d e d   r e c o r d   o b j e c t ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < a t t r i b   n a m e = ' U p d a t e R e s u l t _ V M _ D a t a s t o r e '   t y p e = ' n u m b e r '   r e a d - o n l y = ' f a l s e '   > < d e s c r i p t i o n > < ! [ C D A T A [ C o u n t   o f   d e l e t e d   r e c o r d s . ] ] > < / d e s c r i p t i o n > 
 < / a t t r i b > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 0 '   o u t - n a m e = ' i t e m 2 '   t y p e = ' t a s k '   s c r i p t - m o d u l e = ' c o m . v m w a r e . l i b r a r y . v c . v m / g e t A l l V M s '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ g e t A l l V M s ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / / A u t o   g e n e r a t e d   s c r i p t ,   c a n n o t   b e   m o d i f i e d   ! 
 a c t i o n R e s u l t   =   S y s t e m . g e t M o d u l e ( " c o m . v m w a r e . l i b r a r y . v c . v m " ) . g e t A l l V M s ( )   ; ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' a c t i o n R e s u l t '   t y p e = ' A r r a y / V C : V i r t u a l M a c h i n e '   e x p o r t - n a m e = ' a l l V M s '   > < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ R e t u r n   a l l   t h e   v i r t u a l   m a c h i n e s ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 5 4 0 . 0 '   y = ' 6 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 1 '   o u t - n a m e = ' i t e m 3 '   t y p e = ' c u s t o m - c o n d i t i o n '   a l t - o u t - n a m e = ' i t e m 9 '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ N u m b e r o f V M s ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ r e t u r n   ( N u m b e r V M s   >   0 ) ; ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' N u m b e r V M s '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' N u m b e r V M s '   > < / b i n d > 
 < / i n - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ T h i s   D e c i s i o n   w i l l   r e t u r n   t r u e   a s   l o n g   t h e   N u m b e r   o f   V M s   i s   h i g h e r   a s   z e r o ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 5 4 0 . 0 '   y = ' 1 9 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 2 '   o u t - n a m e = ' i t e m 1 '   t y p e = ' t a s k '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ C a l c u l a t e V M N u m b e r ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ N u m b e r V M s   =   a l l V M s . l e n g t h ; 
 ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' a l l V M s '   t y p e = ' A r r a y / V C : V i r t u a l M a c h i n e '   e x p o r t - n a m e = ' a l l V M s '   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' N u m b e r V M s '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' N u m b e r V M s '   > < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ T h i s   S c r i p t a b l e   T a s k   c a l c u l a t e s   t h e   N u m b e r   o f   t h e   V M s   i n   t h e   v C e n t e r   S e r v e r ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 5 4 0 . 0 '   y = ' 1 2 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 3 '   o u t - n a m e = ' i t e m 4 '   t y p e = ' t a s k '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ C o u n t d o w n   V M s ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / /   s e t   V a r i a b l e   S k i p V M   t o   f a l s e 
 S k i p V M   = =   f a l s e ; 
 
 / /   W e   t a k e   t h e   l a s t   V M   i n   o u r   A r r a y   
 V m t o G e t   =   a l l V M s . p o p ( ) ; 
 
 / /   s o m e   v i r t u a l   m a c h i n e s   a r e   i n   t h e   A P I   b u t   n o t   c o n n e c t e d .   W e   m u s t   e x e c l u d e   t h e m ,   o t h e r w i s e   w e   b e c o m e   e r r o r s 
 i f   ( V m t o G e t . s u m m a r y . r u n t i m e . c o n n e c t i o n S t a t e   = =   V c V i r t u a l M a c h i n e C o n n e c t i o n S t a t e . o r p h a n e d )   { 
 S k i p V M   =   t r u e ; 
 S y s t e m . d e b u g ( " O r p h a n e d V M :   "   +   V m t o G e t ) ; 
 } 
 i f   ( V m t o G e t . s u m m a r y . c o n f i g . t e m p l a t e   = =   t r u e )   { 
 S k i p V M   =   t r u e ; 
 S y s t e m . d e b u g ( " T e m p l a t e :   "   +   V m t o G e t ) ; 
 } 
 i f   ( V m t o G e t . s u m m a r y . r u n t i m e . c o n n e c t i o n S t a t e   = =   V c V i r t u a l M a c h i n e C o n n e c t i o n S t a t e . d i s c o n n e c t e d )   { 
 S k i p V M   =   t r u e ; 
 S y s t e m . d e b u g ( " V M   D i s c o n n e c t e d :   "   +   V m t o G e t ) ; 
 } 
 i f   ( V m t o G e t . s u m m a r y . r u n t i m e . c o n n e c t i o n S t a t e   = =   V c V i r t u a l M a c h i n e C o n n e c t i o n S t a t e . i n a c c e s s i b l e )   { 
 S k i p V M   =   t r u e ; 
 S y s t e m . d e b u g ( " V M   I n a c c e s s i b l e :   "   +   V m t o G e t ) ; 
 } 
 / /   G e t   t h e   v i r t u a l   m a c h i n e   n a m e 
 V M N a m e   =   V m t o G e t . s u m m a r y . c o n f i g . n a m e ; 
 
 / /   c r e a t e   a   u n i q u e   U U I D   f o r   t h e   d a t a b a s e   ( I t   i s   a l s o   p o s s i b l e   t o   d o   s o   i n   t h e   S Q L   D B . . . . h e r e   I   u s e   t h e   j a v a s c r i p t   ) 
 V _ I D   =   S y s t e m . n e x t U U I D ( ) ; 
 
 / /   d e c r e s e   t h e   V a r i a b l e   N u m b e r V M s 
 N u m b e r V M s   =   N u m b e r V M s   - 1 ; ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' N u m b e r V M s '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' N u m b e r V M s '   > < / b i n d > 
 < b i n d   n a m e = ' a l l V M s '   t y p e = ' A r r a y / V C : V i r t u a l M a c h i n e '   e x p o r t - n a m e = ' a l l V M s '   > < / b i n d > 
 < b i n d   n a m e = ' S Q L V I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' S Q L V I D '   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' N u m b e r V M s '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' N u m b e r V M s '   > < / b i n d > 
 < b i n d   n a m e = ' V m t o G e t '   t y p e = ' V C : V i r t u a l M a c h i n e '   e x p o r t - n a m e = ' V m t o G e t '   > < / b i n d > 
 < b i n d   n a m e = ' S k i p V M '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = ' S k i p V M '   > < / b i n d > 
 < b i n d   n a m e = ' V M N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M N a m e '   > < / b i n d > 
 < b i n d   n a m e = ' V _ I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V _ I D '   > < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ C o u n t d o w n   o u r   V M s   i n   t h e   A r r a y ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 4 4 0 . 0 '   y = ' 3 2 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 4 '   o u t - n a m e = ' i t e m 8 '   t y p e = ' c o n d i t i o n '   a l t - o u t - n a m e = ' i t e m 1 '   c o m p a r a t o r = ' 0 '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ S k i p   V M ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / / G e n e r a t e d   b y   t h e   s y s t e m ,   c a n n o t   b e   e d i t e d 
 r e t u r n   ( S k i p V M   = =   f a l s e )   ; ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' S k i p V M '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = ' S k i p V M '   > < / b i n d > 
 < / i n - b i n d i n g > < c o n d i t i o n   n a m e = ' S k i p V M '   t y p e = ' b o o l e a n '   c o m p a r a t o r = ' 1 ' > < ! [ C D A T A [ f a l s e ] ] > < / c o n d i t i o n > 
 < d e s c r i p t i o n > < ! [ C D A T A [ S k i p   t h e   v i r t u a l   m a c h i n e ? ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 4 4 0 . 0 '   y = ' 3 9 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 5 '   o u t - n a m e = ' i t e m 7 '   t y p e = ' t a s k '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ G e t V M U U I D ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ V M U U I D   =   V m t o G e t . s u m m a r y . c o n f i g . u u i d ; ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' V m t o G e t '   t y p e = ' V C : V i r t u a l M a c h i n e '   e x p o r t - n a m e = ' V m t o G e t '   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' V M U U I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M U U I D '   > < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ G e t   t h e   U U I D   f r o m   t h e   V M ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 4 4 0 . 0 '   y = ' 5 2 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 6 '   o u t - n a m e = ' i t e m 1 0 '   t y p e = ' c o n d i t i o n '   a l t - o u t - n a m e = ' i t e m 1 4 '   c o m p a r a t o r = ' 0 '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ V M   i n   D B ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / / G e n e r a t e d   b y   t h e   s y s t e m ,   c a n n o t   b e   e d i t e d 
 r e t u r n   ( V M i n D B   = =   f a l s e )   ; ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' V M i n D B '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = ' V M i n D B '   > < / b i n d > 
 < / i n - b i n d i n g > < c o n d i t i o n   n a m e = ' V M i n D B '   t y p e = ' b o o l e a n '   c o m p a r a t o r = ' 1 ' > < ! [ C D A T A [ f a l s e ] ] > < / c o n d i t i o n > 
 < d e s c r i p t i o n > < ! [ C D A T A [ I s   t h e   V M   a l r e a d y   i n   t h e   D a t a b a s e ? ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 4 4 0 . 0 '   y = ' 6 3 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 7 '   o u t - n a m e = ' i t e m 6 '   t y p e = ' t a s k '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ G e t V M f r o m D B ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / /   W e   c h e c k   t h e   D B   f o r   t h e   V M .   T h e   c h e c k   i s   b a s e d   o n   V M N a m e   a n d   U U I D 
 
 v a r   c o l u m n s   =   { 
 	 V M U U I D   :   V M U U I D , 
 	 V M N a m e   :   V M N a m e , 
 
 } ; 
 V M I n f o R e a d _ r e s u l t   =   V M I n f o _ t a b l e . r e a d R e c o r d s ( c o l u m n s ) ; 
 
 / /   S o m e   l o c a l   v a r i a b l e s   h e r e .   W e   h a v e   t o   s p l i t   t h e   D B   I n f o r m a t i o n 
 v a r   S p l i t A r r a y t o S t r i n g   =   V M I n f o R e a d _ r e s u l t . t o S t r i n g ( ) ; 
 v a r   U U I D S t r i n g   =   S p l i t A r r a y t o S t r i n g . s e a r c h ( V M U U I D ) ; 
 v a r   V M N a m e S t r i n g   =   S p l i t A r r a y t o S t r i n g . s e a r c h ( V M N a m e ) ; 
 
 i f   ( ( U U I D S t r i n g   > =   0 )   & &   ( V M N a m e S t r i n g   > = 0 ) ) 
 { 
 V M i n D B   =   t r u e ; 
 S y s t e m . l o g ( " V M :   "   +   V M N a m e   +   "   a l r e a d y   i n   D B . " ) 
 } 
 e l s e 
 { 
 V M i n D B   =   f a l s e ; 
 S y s t e m . l o g ( " V M :   "   +   V M N a m e   +   "   n o t   i n   D B . " ) 
 } ; ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' i s U n i q u e '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = ' i s U n i q u e '   > < / b i n d > 
 < b i n d   n a m e = ' V M U U I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M U U I D '   > < / b i n d > 
 < b i n d   n a m e = ' V _ I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V _ I D '   > < / b i n d > 
 < b i n d   n a m e = ' V M I n f o _ t a b l e '   t y p e = ' S Q L : T a b l e '   e x p o r t - n a m e = ' V M I n f o _ t a b l e '   > < / b i n d > 
 < b i n d   n a m e = ' V M N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M N a m e '   > < / b i n d > 
 < b i n d   n a m e = ' V M I n f o R e a d _ r e s u l t '   t y p e = ' S Q L : A c t i v e R e c o r d '   e x p o r t - n a m e = ' V M I n f o R e a d _ r e s u l t '   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' V M i n D B '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = ' V M i n D B '   > < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ G e t   t h e   v i r t u a l   m a c h i n e   f r o m   D B   w h e n   t h e   v i r t u a l   m a c h i n e   a l r e a d y   e x i s t s . ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 4 4 0 . 0 '   y = ' 5 8 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 9 '   t y p e = ' e n d '   e n d - m o d e = ' 0 '   > 
 < p o s i t i o n   x = ' 6 0 0 . 0 '   y = ' 2 7 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 1 1 '   o u t - n a m e = ' i t e m 1 2 '   t y p e = ' l i n k '   l i n k e d - w o r k f l o w - i d = ' A 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 1 7 8 4 8 0 8 0 0 1 3 1 3 6 4 9 2 3 8 7 2 4 7 2 d c f 6 c 5 4 6 6 '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ C r e a t e   a c t i v e   r e c o r d   f o r   ' V M _ H o s t ' ] ] > < / d i s p l a y - n a m e > 
 < i n - b i n d i n g > < b i n d   n a m e = ' V M I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V _ I D '   > < d e s c r i p t i o n > < ! [ C D A T A [ V m i d ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' V M U U I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M U U I D '   > < d e s c r i p t i o n > < ! [ C D A T A [ V m u u i d ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' C l u s t e r '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' c l u s t e r N a m e '   > < d e s c r i p t i o n > < ! [ C D A T A [ C l u s t e r ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' H o s t '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' r u n n i n g H o s t N a m e '   > < d e s c r i p t i o n > < ! [ C D A T A [ H o s t ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' R e s o u r c e P o o l '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' r e s o u r c e P o o l N a m e '   > < d e s c r i p t i o n > < ! [ C D A T A [ R e s o u r c e p o o l ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' F o l d e r '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' f o l d e r N a m e '   > < d e s c r i p t i o n > < ! [ C D A T A [ F o l d e r ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' i s U n i q u e '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = ' i s U n i q u e '   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' r e s u l t '   t y p e = ' S Q L : A c t i v e R e c o r d '   e x p o r t - n a m e = ' V M H o s t _ r e s u l t '   > < d e s c r i p t i o n > < ! [ C D A T A [ M a p p e d   r e c o r d   o b j e c t   t o   a   d a t a b a s e   r e c o r d . ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ A u t o g e n e r a t e d   w o r k f l o w   t h a t   c r e a t e s   r e c o r d s . ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 7 2 0 . 0 '   y = ' 5 4 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 1 0 '   o u t - n a m e = ' i t e m 1 1 '   t y p e = ' l i n k '   l i n k e d - w o r k f l o w - i d = ' A 1 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 9 C 8 1 8 0 8 0 0 1 3 1 3 6 4 9 2 3 8 7 2 4 7 2 d c f 6 c 5 4 6 6 '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ C r e a t e   a c t i v e   r e c o r d   f o r   ' V M _ I n f o ' ] ] > < / d i s p l a y - n a m e > 
 < i n - b i n d i n g > < b i n d   n a m e = ' V M I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V _ I D '   > < d e s c r i p t i o n > < ! [ C D A T A [ V m i d ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' V M U U I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M U U I D '   > < d e s c r i p t i o n > < ! [ C D A T A [ V m u u i d ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' V M N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M N a m e '   > < d e s c r i p t i o n > < ! [ C D A T A [ V m n a m e ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' C P U C o n f i g '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' c p u C o u n t '   > < d e s c r i p t i o n > < ! [ C D A T A [ C p u c o n f i g ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' M e m C o n f i g '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' m e m o r y M B '   > < d e s c r i p t i o n > < ! [ C D A T A [ M e m c o n f i g ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' i s U n i q u e '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = ' i s U n i q u e '   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' r e s u l t '   t y p e = ' S Q L : A c t i v e R e c o r d '   e x p o r t - n a m e = ' V M I n f o _ r e s u l t '   > < d e s c r i p t i o n > < ! [ C D A T A [ M a p p e d   r e c o r d   o b j e c t   t o   a   d a t a b a s e   r e c o r d . ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ A u t o g e n e r a t e d   w o r k f l o w   t h a t   c r e a t e s   r e c o r d s . ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 7 2 0 . 0 '   y = ' 6 4 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 1 2 '   o u t - n a m e = ' i t e m 1 3 '   t y p e = ' t a s k '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ S Q L _ V M _ N e t w o r k ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / /   C a t c h   e m p t y   N e t w o r k   a n d   I p A d r e s s e s   a n d   s e t   a   p l a c e h o l d e r   t e x t 
 i f   ( i p A d d r e s s e s   = =   n u l l ) { 
 I p A d d r e s s T o S t r i n g   =   " N o   I P   a d r e s s   f o u n d " 
 }   e l s e   { 
 I p A d d r e s s T o S t r i n g   =   i p A d d r e s s e s . t o S t r i n g ( ) 
 } ; 
 
 i f   ( n e t w o r k s   = =   n u l l ) { 
 N e t w o r k s T o S t r i n g   =   " N o   n e t w o r k s   f o u n d " 
 }   e l s e   { 
 N e t w o r k s T o S t r i n g   = n e t w o r k s . t o S t r i n g ( ) 
 } ; 
 
 / /   T h e   S Q L   O p e r a t i o n   t o   s t o r e   t h e   i n f o r m a t i o n   i n t o   t h e   D b 
 v a r   c o l u m n s   =   { 
 	 V M I D   :   V _ I D , 
 	 V M U U I D   :   V M U U I D , 
 	 N e t w o r k   :   N e t w o r k s T o S t r i n g , 
 	 I P A d d r e s s   :   I p A d d r e s s T o S t r i n g 
 } ; 
 V M N e t w o r k _ r e s u l t   =   V M N e t w o r k _ t a b l e . c r e a t e R e c o r d ( c o l u m n s ,   i s U n i q u e ) ; 
 S y s t e m . l o g ( " D a t a b a s e   t a b l e   r e c o r d   c r e a t e d   s u c c e s s f u l l y " ) ; ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' i p A d d r e s s e s '   t y p e = ' A r r a y / s t r i n g '   e x p o r t - n a m e = ' i p A d d r e s s e s '   > < / b i n d > 
 < b i n d   n a m e = ' n e t w o r k s '   t y p e = ' A r r a y / s t r i n g '   e x p o r t - n a m e = ' n e t w o r k s '   > < / b i n d > 
 < b i n d   n a m e = ' V _ I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V _ I D '   > < / b i n d > 
 < b i n d   n a m e = ' V M U U I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M U U I D '   > < / b i n d > 
 < b i n d   n a m e = ' i s U n i q u e '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = ' i s U n i q u e '   > < / b i n d > 
 < b i n d   n a m e = ' V M N e t w o r k _ t a b l e '   t y p e = ' S Q L : T a b l e '   e x p o r t - n a m e = ' V M N e t w o r k _ t a b l e '   > < / b i n d > 
 < b i n d   n a m e = ' I p A d d r e s s T o S t r i n g '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' I p A d d r e s s T o S t r i n g '   > < / b i n d > 
 < b i n d   n a m e = ' N e t w o r k s T o S t r i n g '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' N e t w o r k s T o S t r i n g '   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' V M N e t w o r k _ r e s u l t '   t y p e = ' S Q L : A c t i v e R e c o r d '   e x p o r t - n a m e = ' V M N e t w o r k _ r e s u l t '   > < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ S Q L   I n s e r t   O p e r a t i o n   f o r   t h e   V M _ N e t w o r k   T a b l e ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 7 2 0 . 0 '   y = ' 4 2 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 1 3 '   o u t - n a m e = ' i t e m 1 '   t y p e = ' t a s k '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ S Q L _ V M _ D a t a s t o r e ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / /   C a t c h   e m p t y   d i s k s i z e s   a n d   d a t a s t o r e N a m e   a n d   r e p l a c e   w i t h   a   s t r i n g 
 i f   ( d i s k S i z e s   = =   n u l l ) { 
 D i s k S i z e T o S t r i n g   =   " C o u l d   n o t   r e a d   D i s k   S i z e " 
 }   e l s e   { 
 D i s k S i z e T o S t r i n g   =   d i s k S i z e s . t o S t r i n g ( ) ; 
 } ; 
 
 i f   ( d a t a s t o r e s N a m e   = =   n u l l ) { 
 D a t a s t o r e N a m e s T o S t r i n g   =   " C o u l d   n o t   r e a d   D a t a s t o r e   N a m e " 
 }   e l s e   { 
 D a t a s t o r e N a m e s T o S t r i n g   =   d a t a s t o r e s N a m e . t o S t r i n g ( ) ; 
 } ; 
 
 / /   T h e   S Q L   O p e r a t i o n   t o   s t o r e   t h e   i n f o r m a t i o n   i n t o   t h e   D b 
 v a r   c o l u m n s   =   { 
 	 V M I D   :   V _ I D , 
 	 V M U U I D   :   V M U U I D , 
 	 D i s k S i z e   :   D i s k S i z e T o S t r i n g , 
 	 D a t a s t o r e   :   D a t a s t o r e N a m e s T o S t r i n g 
 } ; 
 V M D a t a s t o r e _ r e s u l t   =   V M D a t a s t o r e _ t a b l e . c r e a t e R e c o r d ( c o l u m n s ,   i s U n i q u e ) ; 
 S y s t e m . l o g ( " D a t a b a s e   t a b l e   r e c o r d   c r e a t e d   s u c c e s s f u l l y " ) ; ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' V _ I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V _ I D '   > < / b i n d > 
 < b i n d   n a m e = ' d i s k S i z e s '   t y p e = ' A r r a y / n u m b e r '   e x p o r t - n a m e = ' d i s k S i z e s '   > < / b i n d > 
 < b i n d   n a m e = ' d a t a s t o r e s N a m e '   t y p e = ' A r r a y / s t r i n g '   e x p o r t - n a m e = ' d a t a s t o r e s N a m e '   > < / b i n d > 
 < b i n d   n a m e = ' V M U U I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M U U I D '   > < / b i n d > 
 < b i n d   n a m e = ' i s U n i q u e '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = ' i s U n i q u e '   > < / b i n d > 
 < b i n d   n a m e = ' D i s k S i z e T o S t r i n g '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' D i s k S i z e T o S t r i n g '   > < / b i n d > 
 < b i n d   n a m e = ' D a t a s t o r e N a m e s T o S t r i n g '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' D a t a s t o r e N a m e s T o S t r i n g '   > < / b i n d > 
 < b i n d   n a m e = ' V M D a t a s t o r e _ t a b l e '   t y p e = ' S Q L : T a b l e '   e x p o r t - n a m e = ' V M D a t a s t o r e _ t a b l e '   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' V M D a t a s t o r e _ r e s u l t '   t y p e = ' S Q L : A c t i v e R e c o r d '   e x p o r t - n a m e = ' V M D a t a s t o r e _ r e s u l t '   > < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ S Q L   I n s e r t   O p e r a t i o n   f o r   t h e   V M _ D a t a s t o r e   T a b l e ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 7 2 0 . 0 '   y = ' 3 0 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 1 4 '   o u t - n a m e = ' i t e m 1 5 '   t y p e = ' t a s k '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ G e t V M f r o m V M _ I n f o ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / /   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 / /   w e   s e a r c h   f o r   t h e   D a t a   o f   t h e   v i r t u a l   M a c h i n e   w i t h   t h e   N a m e   a n d   t h e   U U I D .   F i r s t   w e   d e f i n e   t h e   s e a r c h   c o l u m n s 
 v a r   c o l u m n s   =   { 
 	 V M U U I D   :   V M U U I D , 
 	 V M N a m e   :   V M N a m e , 
 
 } ; 
 
 / /   G e t   t h e   D a t a   f r o m   t h e   T a b l e   a n d   p u t   t h e m   i n   a   S Q L   A c t i v e   R e c o r d 
 V M I n f o f r o m D B   =   V M I n f o _ t a b l e . r e a d R e c o r d s ( c o l u m n s ) ; 
 
 
 / /   T h e   d a t a   f r o m   t h e   S Q L   R e c o r d   i s   a   " S t r i n g "   w i t h   i s   s e p e a r t e d   w i t h   " , " .   W e   h a v e   t o   S p l i t   t h e   S t r i n g   i n   S i n g l e   F i l e s . . . . . 
 / /   F i r s t ,   w e   p u t   t h e   S t r i n g   i n t o   a   t e m p o r a l l y   V a r i a b l e .   
 v a r   S p l i t C o n f i g A r r a y t o S t r i n g M e m   =   V M I n f o f r o m D B . t o S t r i n g ( ) ; 
 / /   I n   t h e   A r r a y ,   w e   s e a r c h   f o r   t h e   K e y w o r d   " M e m C o n f i g "   u n d e r   w h i c h   o u r   M e m o r y   c o n f i g u r a t i o n   i s   s t o r e d 
 v a r   M e m S e a r c h   =   S p l i t C o n f i g A r r a y t o S t r i n g M e m . s e a r c h ( " M e m C o n f i g " ) ; 
 / /   T h e   a b o v e   d e f i n e d   s e a r c h   g i v e   u s   t h e   S t a r t i n g   P o s i t i o n   o f   o u r   K e y w o r d .   W e   w a n t   t h e   b l a n k   v a l u e ,   s o   w e   h a v e   t o   s p l i t 
 / /   o n   P o s i t i o n   1 0   a f t e r   t h e   S t a r t   P o s i t i o n   ( M e m C o n f i g   +   =   i s   a b o u t   1 0   p o s i t i o n s ) 
 v a r   M e m S t a r t   =   M e m S e a r c h   +   1 0 ; 
 / /   H e r e   w e   s p l i t   a t   t h e   b e g i n n i n g   o f   t h e   V a l u e   w i t h   t h e   r e s t   o f   t h e   s t r i n g 
 v a r   M e m S t r i n g T e m p   =   S p l i t C o n f i g A r r a y t o S t r i n g M e m . s l i c e ( M e m S t a r t ) ; 
 / /   W e   s p l i t   o n   t h e   f i r s t   " , "   f o u n d .   T h a t ' s   o u r   v a l u e   E n d 
 v a r   M e m S t r i n g E n d   =   M e m S t r i n g T e m p . s e a r c h ( " , " ) ; 
 / /   H e r e   w e   t a k e   t h e   s t a r t   a n d   t h e   e n d   w e   f i g u r e d   o u t   b e f o r e   a n d   s a v e   t h e   v a l u e   i n t o   t h e   V a r i a b l e 
 M e m N u m b e r f r o m D B   =   M e m S t r i n g T e m p . s l i c e ( 0 ,   M e m S t r i n g E n d ) ; 
 
 / /   T h e   d a t a   f r o m   t h e   S Q L   R e c o r d   i s   a   " S t r i n g "   w i t h   i s   s e p e a r t e d   w i t h   " , " .   W e   h a v e   t o   S p l i t   t h e   S t r i n g   i n   S i n g l e   F i l e s . . . . . 
 / /   F i r s t ,   w e   p u t   t h e   S t r i n g   i n t o   a   t e m p o r a l l y   V a r i a b l e . 
 v a r   S p l i t C o n f i g A r r a y t o S t r i n g C P U   =   V M I n f o f r o m D B . t o S t r i n g ( ) ; 
 / /   I n   t h e   A r r a y ,   w e   s e a r c h   f o r   t h e   K e y w o r d   " C P U C o n f i g "   u n d e r   w h i c h   o u r   M e m o r y   c o n f i g u r a t i o n   i s   s t o r e d 
 v a r   C P U S e a r c h   =   S p l i t C o n f i g A r r a y t o S t r i n g C P U . s e a r c h ( " C P U C o n f i g " ) ; 
 / /   T h e   a b o v e   d e f i n e d   s e a r c h   g i v e   u s   t h e   S t a r t i n g   P o s i t i o n   o f   o u r   K e y w o r d .   W e   w a n t   t h e   b l a n k   v a l u e ,   s o   w e   h a v e   t o   s p l i t 
 / /   o n   P o s i t i o n   1 0   a f t e r   t h e   S t a r t   P o s i t i o n   ( C P U C o n f i g   +   =   i s   a b o u t   1 0   p o s i t i o n s ) 
 v a r   C P U S t a r t   =   C P U S e a r c h   +   1 0 ; 
 / /   H e r e   w e   s p l i t   a t   t h e   b e g i n n i n g   o f   t h e   V a l u e   w i t h   t h e   r e s t   o f   t h e   s t r i n g 
 v a r   C P U S t r i n g T e m p   =   S p l i t C o n f i g A r r a y t o S t r i n g C P U . s l i c e ( C P U S t a r t ) ; 
 / /   W e   s p l i t   o n   t h e   f i r s t   " } "   f o u n d .   T h a t ' s   o u r   v a l u e   E n d 
 v a r   C P U S t r i n g E n d   =   C P U S t r i n g T e m p . s e a r c h ( " } " ) ; 
 / /   H e r e   w e   t a k e   t h e   s t a r t   a n d   t h e   e n d   w e   f i g u r e d   o u t   b e f o r e   a n d   s a v e   t h e   v a l u e   i n t o   t h e   V a r i a b l e 
 C P U N u m b e r f r o m D B   =   C P U S t r i n g T e m p . s l i c e ( 0 ,   C P U S t r i n g E n d ) ; 
 
 
 / /   T h e   d a t a   f r o m   t h e   S Q L   R e c o r d   i s   a   " S t r i n g "   w i t h   i s   s e p e a r t e d   w i t h   " , " .   W e   h a v e   t o   S p l i t   t h e   S t r i n g   i n   S i n g l e   F i l e s . . . . . 
 / /   F i r s t ,   w e   p u t   t h e   S t r i n g   i n t o   a   t e m p o r a l l y   V a r i a b l e . 
 / /   T h e   V _ I D   F i e l d   i s   r e q u i r e d   t o   u p d a t e   t h e   S Q L   D B   w h e n   t h e r e   i s   a   c h a n g e 
 v a r   S p l i t C o n f i g A r r a y t o S t r i n g V I D   =   V M I n f o f r o m D B . t o S t r i n g ( ) ; 
 / /   I n   t h e   A r r a y ,   w e   s e a r c h   f o r   t h e   K e y w o r d   " V _ I D "   u n d e r   w h i c h   o u r   V _ I D   i s   s t o r e d 
 v a r   V I D S e a r c h   =   S p l i t C o n f i g A r r a y t o S t r i n g V I D . s e a r c h ( " V M I D " ) ; 
 / /   T h e   a b o v e   d e f i n e d   s e a r c h   g i v e   u s   t h e   S t a r t i n g   P o s i t i o n   o f   o u r   K e y w o r d .   W e   w a n t   t h e   b l a n k   v a l u e ,   s o   w e   h a v e   t o   s p l i t 
 / /   o n   P o s i t i o n   5   a f t e r   t h e   S t a r t   P o s i t i o n   ( V M I D   +   =   i s   a b o u t   5   p o s i t i o n s ) 
 v a r   V I D S t a r t   =   V I D S e a r c h   +   5 ; 
 / /   H e r e   w e   s p l i t   a t   t h e   b e g i n n i n g   o f   t h e   V a l u e   w i t h   t h e   r e s t   o f   t h e   s t r i n g 
 v a r   V I D S t r i n g T e m p   =   S p l i t C o n f i g A r r a y t o S t r i n g V I D . s l i c e ( V I D S t a r t ) ; 
 / /   W e   s p l i t   o n   t h e   f i r s t   " , "   f o u n d .   T h a t ' s   o u r   v a l u e   E n d 
 v a r   V I D S t r i n g E n d   =   V I D S t r i n g T e m p . s e a r c h ( " , " ) ; 
 / /   H e r e   w e   t a k e   t h e   s t a r t   a n d   t h e   e n d   w e   f i g u r e d   o u t   b e f o r e   a n d   s a v e   t h e   v a l u e   i n t o   t h e   V a r i a b l e 
 V _ I D   =   V I D S t r i n g T e m p . s l i c e ( 0 ,   V I D S t r i n g E n d ) ; 
 
 / / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 / /   A f t e r   w e   h a v e   o u r   " c o n f i g u r a t i o n "   V a l u e s ,   w e   h a v e   t o   c h e c k   i f   t h e r e   i s   a   d i f f e r e n c e   b e t w e e n   t h e   V M   D a t a   a n d   
 / /   t h e   d a t a   s t o r e d   i n   t h e   D B . 
 
 i f   ( ( C P U N u m b e r f r o m D B   ! =   c p u C o u n t )   | |   ( M e m N u m b e r f r o m D B   ! =   m e m o r y M B ) ) { 
 / /   W h e n   t h e r e   i s   a   d i f f e r e n c e ,   w e   s e t   t h e   V a r i a b l e   t o   t r u e 
 V M _ I n f o _ C h a n g e   =   t r u e ; } 
 e l s e   { 
 / /   W h e n   t h e r e   i s   n o   d i f f e r e n c e ,   w e   s e t   t h e   V a r i a b l e   t o   f a l s e 
 V M _ I n f o _ C h a n g e   =   f a l s e ; } 
 
 ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' V M N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M N a m e '   > < / b i n d > 
 < b i n d   n a m e = ' V M I n f o _ t a b l e '   t y p e = ' S Q L : T a b l e '   e x p o r t - n a m e = ' V M I n f o _ t a b l e '   > < / b i n d > 
 < b i n d   n a m e = ' V M I n f o f r o m D B '   t y p e = ' S Q L : A c t i v e R e c o r d '   e x p o r t - n a m e = ' V M I n f o f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' V M U U I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M U U I D '   > < / b i n d > 
 < b i n d   n a m e = ' c p u C o u n t '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' c p u C o u n t '   > < / b i n d > 
 < b i n d   n a m e = ' m e m o r y M B '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' m e m o r y M B '   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' C P U N u m b e r f r o m D B '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' C P U N u m b e r f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' M e m N u m b e r f r o m D B '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' M e m N u m b e r f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' V M _ I n f o _ C h a n g e '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = ' V M _ I n f o _ C h a n g e '   > < / b i n d > 
 < b i n d   n a m e = ' V _ I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V _ I D '   > < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ W e   r e a d   t h e   i n f o r m a t i o n   f r o m   t h e   V M _ I n f o   T a b l e   s p l i t   i t   a n d   c o m p a r i n g   i t   w i t h   t h e   a c t u a l   d a t a . ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 2 2 0 . 0 '   y = ' 6 4 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 1 5 '   o u t - n a m e = ' i t e m 2 7 '   t y p e = ' c o n d i t i o n '   a l t - o u t - n a m e = ' i t e m 1 6 '   c o m p a r a t o r = ' 0 '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ V M _ I n f o _ C h a n g e ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / / G e n e r a t e d   b y   t h e   s y s t e m ,   c a n n o t   b e   e d i t e d 
 r e t u r n   ( V M _ I n f o _ C h a n g e   = =   t r u e )   ; ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' V M _ I n f o _ C h a n g e '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = ' V M _ I n f o _ C h a n g e '   > < / b i n d > 
 < / i n - b i n d i n g > < c o n d i t i o n   n a m e = ' V M _ I n f o _ C h a n g e '   t y p e = ' b o o l e a n '   c o m p a r a t o r = ' 0 ' > < ! [ C D A T A [ f a l s e ] ] > < / c o n d i t i o n > 
 < d e s c r i p t i o n > < ! [ C D A T A [ I s   t h e r e   a   c h a n g e   i n   t h e   V M _ I n f o   d a t a   o f   t h e   V M ? ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 2 2 0 . 0 '   y = ' 5 7 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 1 6 '   o u t - n a m e = ' i t e m 1 7 '   t y p e = ' t a s k '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ G e t V M f r o m H o s t _ i n f o ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / /   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 / /   w e   s e a r c h   f o r   t h e   D a t a   o f   t h e   v i r t u a l   M a c h i n e   w i t h   t h e   N a m e   a n d   t h e   U U I D .   F i r s t   w e   d e f i n e   t h e   s e a r c h   c o l u m n s 
 v a r   c o l u m n s   =   { 
 	 V M I D   :   V _ I D , 
 	 V M U U I D   :   V M U U I D , 
 } ; 
 
 / /   G e t   t h e   D a t a   f r o m   t h e   T a b l e   a n d   p u t   t h e m   i n   a   S Q L   A c t i v e   R e c o r d 
 V M I n f o f r o m D B   =   V M H o s t _ t a b l e . r e a d R e c o r d s ( c o l u m n s ) ; 
 
 
 / /   T h e   d a t a   f r o m   t h e   S Q L   R e c o r d   i s   a   " S t r i n g "   w i t h   i s   s e p e a r t e d   w i t h   " , " .   W e   h a v e   t o   S p l i t   t h e   S t r i n g   i n   S i n g l e   F i l e s . . . . . 
 / /   F i r s t ,   w e   p u t   t h e   S t r i n g   i n t o   a   t e m p o r a l l y   V a r i a b l e .   
 v a r   S p l i t C o n f i g A r r a y t o S t r i n g H o s t   =   V M I n f o f r o m D B . t o S t r i n g ( ) ; 
 / /   I n   t h e   A r r a y ,   w e   s e a r c h   f o r   t h e   K e y w o r d   
 v a r   H o s t S e a r c h   =   S p l i t C o n f i g A r r a y t o S t r i n g H o s t . s e a r c h ( " H o s t " ) ; 
 / /   T h e   a b o v e   d e f i n e d   s e a r c h   g i v e   u s   t h e   S t a r t i n g   P o s i t i o n   o f   o u r   K e y w o r d .   W e   w a n t   t h e   b l a n k   v a l u e ,   s o   w e   h a v e   t o   s p l i t 
 / /   o n   P o s i t i o n   5   a f t e r   t h e   S t a r t   P o s i t i o n 
 v a r   H o s t S t a r t   =   H o s t S e a r c h   +   5 ; 
 / /   H e r e   w e   s p l i t   a t   t h e   b e g i n n i n g   o f   t h e   V a l u e   w i t h   t h e   r e s t   o f   t h e   s t r i n g 
 v a r   H o s t S t r i n g T e m p   =   S p l i t C o n f i g A r r a y t o S t r i n g H o s t . s l i c e ( H o s t S t a r t ) ; 
 / /   W e   s p l i t   o n   t h e   f i r s t   " , "   f o u n d .   T h a t ' s   o u r   v a l u e   E n d 
 v a r   H o s t S t r i n g E n d   =   H o s t S t r i n g T e m p . s e a r c h ( " , " ) ; 
 / /   H e r e   w e   t a k e   t h e   s t a r t   a n d   t h e   e n d   w e   f i g u r e d   o u t   b e f o r e   a n d   s a v e   t h e   v a l u e   i n t o   t h e   V a r i a b l e 
 H o s t f r o m D B   =   H o s t S t r i n g T e m p . s l i c e ( 0 ,   H o s t S t r i n g E n d ) ; 
 
 
 / /   T h e   d a t a   f r o m   t h e   S Q L   R e c o r d   i s   a   " S t r i n g "   w i t h   i s   s e p e a r t e d   w i t h   " , " .   W e   h a v e   t o   S p l i t   t h e   S t r i n g   i n   S i n g l e   F i l e s . . . . . 
 / /   F i r s t ,   w e   p u t   t h e   S t r i n g   i n t o   a   t e m p o r a l l y   V a r i a b l e . 
 v a r   S p l i t C o n f i g A r r a y t o S t r i n g C l u s t e r   =   V M I n f o f r o m D B . t o S t r i n g ( ) ; 
 / /   I n   t h e   A r r a y ,   w e   s e a r c h   f o r   t h e   K e y w o r d   
 v a r   C l u s t e r S e a r c h   =   S p l i t C o n f i g A r r a y t o S t r i n g C l u s t e r . s e a r c h ( " C l u s t e r " ) ; 
 / /   T h e   a b o v e   d e f i n e d   s e a r c h   g i v e   u s   t h e   S t a r t i n g   P o s i t i o n   o f   o u r   K e y w o r d .   W e   w a n t   t h e   b l a n k   v a l u e ,   s o   w e   h a v e   t o   s p l i t 
 / /   o n   P o s i t i o n   8   a f t e r   t h e   S t a r t   P o s i t i o n   
 v a r   C l u s t e r S t a r t   =   C l u s t e r S e a r c h   +   8 ; 
 / /   H e r e   w e   s p l i t   a t   t h e   b e g i n n i n g   o f   t h e   V a l u e   w i t h   t h e   r e s t   o f   t h e   s t r i n g 
 v a r   C l u s t e r S t r i n g T e m p   =   S p l i t C o n f i g A r r a y t o S t r i n g C l u s t e r . s l i c e ( C l u s t e r S t a r t ) ; 
 / /   W e   s p l i t   o n   t h e   f i r s t   " } "   f o u n d .   T h a t ' s   o u r   v a l u e   E n d 
 v a r   C l u s t e r S t r i n g E n d   =   C l u s t e r S t r i n g T e m p . s e a r c h ( " , " ) ; 
 / /   H e r e   w e   t a k e   t h e   s t a r t   a n d   t h e   e n d   w e   f i g u r e d   o u t   b e f o r e   a n d   s a v e   t h e   v a l u e   i n t o   t h e   V a r i a b l e 
 C l u s t e r f r o m D B   =   C l u s t e r S t r i n g T e m p . s l i c e ( 0 ,   C l u s t e r S t r i n g E n d ) ; 
 
 
 / /   T h e   d a t a   f r o m   t h e   S Q L   R e c o r d   i s   a   " S t r i n g "   w i t h   i s   s e p e a r t e d   w i t h   " , " .   W e   h a v e   t o   S p l i t   t h e   S t r i n g   i n   S i n g l e   F i l e s . . . . . 
 / /   F i r s t ,   w e   p u t   t h e   S t r i n g   i n t o   a   t e m p o r a l l y   V a r i a b l e . 
 v a r   S p l i t C o n f i g A r r a y t o S t r i n g F o l d e r   =   V M I n f o f r o m D B . t o S t r i n g ( ) ; 
 / /   I n   t h e   A r r a y ,   w e   s e a r c h   f o r   t h e   K e y w o r d   
 v a r   F o l d e r S e a r c h   =   S p l i t C o n f i g A r r a y t o S t r i n g F o l d e r . s e a r c h ( " F o l d e r " ) ; 
 / /   T h e   a b o v e   d e f i n e d   s e a r c h   g i v e   u s   t h e   S t a r t i n g   P o s i t i o n   o f   o u r   K e y w o r d .   W e   w a n t   t h e   b l a n k   v a l u e ,   s o   w e   h a v e   t o   s p l i t 
 / /   o n   P o s i t i o n   7   a f t e r   t h e   S t a r t   P o s i t i o n   
 v a r   F o l d e r S t a r t   =   F o l d e r S e a r c h   +   7 ; 
 / /   H e r e   w e   s p l i t   a t   t h e   b e g i n n i n g   o f   t h e   V a l u e   w i t h   t h e   r e s t   o f   t h e   s t r i n g 
 v a r   F o l d e r S t r i n g T e m p   =   S p l i t C o n f i g A r r a y t o S t r i n g C l u s t e r . s l i c e ( F o l d e r S t a r t ) ; 
 / /   W e   s p l i t   o n   t h e   f i r s t   " , "   f o u n d .   T h a t ' s   o u r   v a l u e   E n d 
 v a r   F o l d e r S t r i n g E n d   =   F o l d e r S t r i n g T e m p . s e a r c h ( " , " ) ; 
 / /   H e r e   w e   t a k e   t h e   s t a r t   a n d   t h e   e n d   w e   f i g u r e d   o u t   b e f o r e   a n d   s a v e   t h e   v a l u e   i n t o   t h e   V a r i a b l e 
 F o l d e r f r o m D B   =   F o l d e r S t r i n g T e m p . s l i c e ( 0 ,   F o l d e r S t r i n g E n d ) ; 
 
 
 / /   T h e   d a t a   f r o m   t h e   S Q L   R e c o r d   i s   a   " S t r i n g "   w i t h   i s   s e p e a r t e d   w i t h   " , " .   W e   h a v e   t o   S p l i t   t h e   S t r i n g   i n   S i n g l e   F i l e s . . . . . 
 / /   F i r s t ,   w e   p u t   t h e   S t r i n g   i n t o   a   t e m p o r a l l y   V a r i a b l e . 
 v a r   S p l i t C o n f i g A r r a y t o S t r i n g R P   =   V M I n f o f r o m D B . t o S t r i n g ( ) ; 
 / /   I n   t h e   A r r a y ,   w e   s e a r c h   f o r   t h e   K e y w o r d   
 v a r   R P S e a r c h   =   S p l i t C o n f i g A r r a y t o S t r i n g R P . s e a r c h ( " R e s o u r c e P o o l " ) ; 
 / /   T h e   a b o v e   d e f i n e d   s e a r c h   g i v e   u s   t h e   S t a r t i n g   P o s i t i o n   o f   o u r   K e y w o r d .   W e   w a n t   t h e   b l a n k   v a l u e ,   s o   w e   h a v e   t o   s p l i t 
 / /   o n   P o s i t i o n   1 3   a f t e r   t h e   S t a r t   P o s i t i o n   
 v a r   R P S t a r t   =   R P S e a r c h   +   1 3 ; 
 / /   H e r e   w e   s p l i t   a t   t h e   b e g i n n i n g   o f   t h e   V a l u e   w i t h   t h e   r e s t   o f   t h e   s t r i n g 
 v a r   R P S t r i n g T e m p   =   S p l i t C o n f i g A r r a y t o S t r i n g R P . s l i c e ( R P S t a r t ) ; 
 / /   W e   s p l i t   o n   t h e   f i r s t   " } "   f o u n d .   T h a t ' s   o u r   v a l u e   E n d 
 v a r   R P S t r i n g E n d   =   R P S t r i n g T e m p . s e a r c h ( " } " ) ; 
 / /   H e r e   w e   t a k e   t h e   s t a r t   a n d   t h e   e n d   w e   f i g u r e d   o u t   b e f o r e   a n d   s a v e   t h e   v a l u e   i n t o   t h e   V a r i a b l e 
 R P f r o m D B   =   R P S t r i n g T e m p . s l i c e ( 0 ,   R P S t r i n g E n d ) ; 
 
 
 / / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 / /   A f t e r   w e   h a v e   o u r   " c o n f i g u r a t i o n "   V a l u e s ,   w e   h a v e   t o   c h e c k   i f   t h e r e   i s   a   d i f f e r e n c e   b e t w e e n   t h e   V M   D a t a   a n d   
 / /   t h e   d a t a   s t o r e d   i n   t h e   D B . 
 
 
 i f   ( ( H o s t f r o m D B   ! =   r u n n i n g H o s t N a m e )   | |   ( C l u s t e r f r o m D B   ! =   c l u s t e r N a m e )   | |   ( R P f r o m D B   ! =   r e s o u r c e P o o l N a m e )   | |   ( F o l d e r f r o m D B   ! =   f o l d e r N a m e ) ) { 
 / /   W h e n   t h e r e   i s   a   d i f f e r e n c e ,   w e   s e t   t h e   V a r i a b l e   t o   t r u e 
 V M _ H o s t _ C h a n g e   =   t r u e ; } 
 e l s e   { 
 / /   W h e n   t h e r e   i s   n o   d i f f e r e n c e ,   w e   s e t   t h e   V a r i a b l e   t o   f a l s e 
 V M _ H o s t _ C h a n g e   =   f a l s e ; } 
 ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' V M U U I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M U U I D '   > < / b i n d > 
 < b i n d   n a m e = ' V M H o s t _ t a b l e '   t y p e = ' S Q L : T a b l e '   e x p o r t - n a m e = ' V M H o s t _ t a b l e '   > < / b i n d > 
 < b i n d   n a m e = ' V M I n f o f r o m D B '   t y p e = ' S Q L : A c t i v e R e c o r d '   e x p o r t - n a m e = ' V M I n f o f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' r u n n i n g H o s t N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' r u n n i n g H o s t N a m e '   > < / b i n d > 
 < b i n d   n a m e = ' c l u s t e r N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' c l u s t e r N a m e '   > < / b i n d > 
 < b i n d   n a m e = ' r e s o u r c e P o o l N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' r e s o u r c e P o o l N a m e '   > < / b i n d > 
 < b i n d   n a m e = ' f o l d e r N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' f o l d e r N a m e '   > < / b i n d > 
 < b i n d   n a m e = ' V _ I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V _ I D '   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' H o s t f r o m D B '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' H o s t f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' C l u s t e r f r o m D B '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' C l u s t e r f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' R P f r o m D B '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' R P f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' F o l d e r f r o m D B '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' F o l d e r f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' V M _ H o s t _ C h a n g e '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = ' V M _ H o s t _ C h a n g e '   > < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ W e   r e a d   t h e   i n f o r m a t i o n   f r o m   t h e   V M _ H o s t   T a b l e   s p l i t   i t   a n d   c o m p a r i n g   i t   w i t h   t h e   a c t u a l   d a t a . ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 2 2 0 . 0 '   y = ' 5 0 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 1 7 '   o u t - n a m e = ' i t e m 2 5 '   t y p e = ' c o n d i t i o n '   a l t - o u t - n a m e = ' i t e m 1 8 '   c o m p a r a t o r = ' 0 '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ V M _ H o s t _ C h a n g e ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / / G e n e r a t e d   b y   t h e   s y s t e m ,   c a n n o t   b e   e d i t e d 
 r e t u r n   ( V M _ H o s t _ C h a n g e   = =   t r u e )   ; ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' V M _ H o s t _ C h a n g e '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = ' V M _ H o s t _ C h a n g e '   > < / b i n d > 
 < / i n - b i n d i n g > < c o n d i t i o n   n a m e = ' V M _ H o s t _ C h a n g e '   t y p e = ' b o o l e a n '   c o m p a r a t o r = ' 0 ' > < ! [ C D A T A [ f a l s e ] ] > < / c o n d i t i o n > 
 < d e s c r i p t i o n > < ! [ C D A T A [ I s   t h e r e   a   c h a n g e   i n   t h e   V M _ H o s t   t a b l e   a n d   t h e   r e a l   d a t a ? ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 2 2 0 . 0 '   y = ' 4 3 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 1 8 '   o u t - n a m e = ' i t e m 1 9 '   t y p e = ' t a s k '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ G e t V M f r o m V M _ n e t w o r k ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / /   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 / /   w e   s e a r c h   f o r   t h e   D a t a   o f   t h e   v i r t u a l   M a c h i n e   w i t h   t h e   N a m e   a n d   t h e   U U I D .   F i r s t   w e   d e f i n e   t h e   s e a r c h   c o l u m n s 
 v a r   c o l u m n s   =   { 
 	 	 V M I D   :   V _ I D , 
 	 	 V M U U I D   :   V M U U I D , 
 } ; 
 
 / /   G e t   t h e   D a t a   f r o m   t h e   T a b l e   a n d   p u t   t h e m   i n   a   S Q L   A c t i v e   R e c o r d 
 V M I n f o f r o m D B   =   V M N e t w o r k _ t a b l e . r e a d R e c o r d s ( c o l u m n s ) ; 
 
 
 / /   T h e   d a t a   f r o m   t h e   S Q L   R e c o r d   i s   a   " S t r i n g "   w i t h   i s   s e p e a r t e d   w i t h   " , " .   W e   h a v e   t o   S p l i t   t h e   S t r i n g   i n   S i n g l e   F i l e s . . . . . 
 / /   F i r s t ,   w e   p u t   t h e   S t r i n g   i n t o   a   t e m p o r a l l y   V a r i a b l e .   
 v a r   S p l i t C o n f i g A r r a y t o S t r i n g I P   =   V M I n f o f r o m D B . t o S t r i n g ( ) ; 
 / /   I n   t h e   A r r a y ,   w e   s e a r c h   f o r   t h e   K e y w o r d   " I P A d d r e s s "   
 v a r   I P S e a r c h   =   S p l i t C o n f i g A r r a y t o S t r i n g I P . s e a r c h ( " I P A d d r e s s " ) ; 
 / /   T h e   a b o v e   d e f i n e d   s e a r c h   g i v e   u s   t h e   S t a r t i n g   P o s i t i o n   o f   o u r   K e y w o r d .   W e   w a n t   t h e   b l a n k   v a l u e ,   s o   w e   h a v e   t o   s p l i t 
 / /   o n   P o s i t i o n   1 0   a f t e r   t h e   S t a r t   P o s i t i o n   
 v a r   I P S t a r t   =   I P S e a r c h   +   1 0 ; 
 / /   H e r e   w e   s p l i t   a t   t h e   b e g i n n i n g   o f   t h e   V a l u e   w i t h   t h e   r e s t   o f   t h e   s t r i n g 
 v a r   I P S t r i n g T e m p   =   S p l i t C o n f i g A r r a y t o S t r i n g I P . s l i c e ( I P S t a r t ) ; 
 / /   W e   s p l i t   o n   t h e   f i r s t   " , "   f o l o w e d   f r o m   a   s p a c e .   T h a t ' s   o u r   v a l u e   E n d .   T h a t ' s   d i f f e r n e t   t h e n   b e f o r e   b e c a u s e 
 / /   t h e   v m   c a n   h a v e   m o r e   t h a n   o n e   i p   w h i c h   i s   s e p a r a t e d   t h r u   a   " , " 
 v a r   I P S t r i n g E n d   =   I P S t r i n g T e m p . s e a r c h ( / \ s ? , \ s / ) ; 
 / /   H e r e   w e   t a k e   t h e   s t a r t   a n d   t h e   e n d   w e   f i g u r e d   o u t   b e f o r e   a n d   s a v e   t h e   v a l u e   i n t o   t h e   V a r i a b l e 
 I P f r o m D B   =   I P S t r i n g T e m p . s l i c e ( 0 ,   I P S t r i n g E n d ) ; 
 
 
 / /   T h e   d a t a   f r o m   t h e   S Q L   R e c o r d   i s   a   " S t r i n g "   w i t h   i s   s e p e a r t e d   w i t h   " , " .   W e   h a v e   t o   S p l i t   t h e   S t r i n g   i n   S i n g l e   F i l e s . . . . . 
 / /   F i r s t ,   w e   p u t   t h e   S t r i n g   i n t o   a   t e m p o r a l l y   V a r i a b l e . 
 v a r   S p l i t C o n f i g A r r a y t o S t r i n g N e t   =   V M I n f o f r o m D B . t o S t r i n g ( ) ; 
 / /   I n   t h e   A r r a y ,   w e   s e a r c h   f o r   t h e   K e y w o r d 
 v a r   N e t S e a r c h   =   S p l i t C o n f i g A r r a y t o S t r i n g N e t . s e a r c h ( " N e t w o r k " ) ; 
 / /   T h e   a b o v e   d e f i n e d   s e a r c h   g i v e   u s   t h e   S t a r t i n g   P o s i t i o n   o f   o u r   K e y w o r d .   W e   w a n t   t h e   b l a n k   v a l u e ,   s o   w e   h a v e   t o   s p l i t 
 / /   o n   P o s i t i o n   8   a f t e r   t h e   S t a r t   P o s i t i o n 
 v a r   N e t S t a r t   =   N e t S e a r c h   +   8 ; 
 / /   H e r e   w e   s p l i t   a t   t h e   b e g i n n i n g   o f   t h e   V a l u e   w i t h   t h e   r e s t   o f   t h e   s t r i n g 
 v a r   N e t S t r i n g T e m p   =   S p l i t C o n f i g A r r a y t o S t r i n g N e t . s l i c e ( N e t S t a r t ) ; 
 / /   W e   s p l i t   o n   t h e   f i r s t   " , "   f o l o w e d   f r o m   a   s p a c e .   T h a t ' s   o u r   v a l u e   E n d .   T h a t ' s   d i f f e r n e t   t h e n   b e f o r e   b e c a u s e 
 / /   t h e   v m   c a n   h a v e   m o r e   t h a n   o n e   n e t w o r k   w h i c h   i s   s e p a r a t e d   t h r u   a   " , " 
 v a r   N e t S t r i n g E n d   =   N e t S t r i n g T e m p . s e a r c h ( / \ s ? , \ s / ) ; 
 / /   H e r e   w e   t a k e   t h e   s t a r t   a n d   t h e   e n d   w e   f i g u r e d   o u t   b e f o r e   a n d   s a v e   t h e   v a l u e   i n t o   t h e   V a r i a b l e 
 N e t w o r k s f r o m D B   =   N e t S t r i n g T e m p . s l i c e ( 0 ,   N e t S t r i n g E n d ) ; 
 
 
 / / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 / /   A f t e r   w e   h a v e   o u r   " c o n f i g u r a t i o n "   V a l u e s ,   w e   h a v e   t o   c h e c k   i f   t h e r e   i s   a   d i f f e r e n c e   b e t w e e n   t h e   V M   D a t a   a n d   
 / /   t h e   d a t a   s t o r e d   i n   t h e   D B . 
 
 / /   C a t c h   e m p t y   N e t w o r k   a n d   I p A d r e s s e s   a n d   s e t   a   p l a c e h o l d e r   t e x t 
 / / i f   ( ( i p A d d r e s s e s   = =   n u l l )   | |   ( i p A d d r e s s e s   = =   " " ) )   { 
 i f   ( i p A d d r e s s e s   = =   n u l l )   { 
 I p A d d r e s s T o S t r i n g   =   " N o   I P   a d r e s s   f o u n d " 
 }   e l s e   { 
 I p A d d r e s s T o S t r i n g   =   i p A d d r e s s e s . t o S t r i n g ( ) 
 } ; 
 
 / / i f   ( ( n e t w o r k s = =   n u l l )   | |   ( n e t w o r k s   = =   " "   ) ) { 
 i f   ( n e t w o r k s   = =   n u l l )   { 
 N e t w o r k s T o S t r i n g   =   " N o   N e t w o r k s   f o u n d " 
 }   e l s e   { 
 N e t w o r k s T o S t r i n g   = n e t w o r k s . t o S t r i n g ( ) 
 } ; 
 
 
 i f   ( ( I P f r o m D B   ! =   I p A d d r e s s T o S t r i n g )   | |   ( N e t w o r k s f r o m D B   ! =   N e t w o r k s T o S t r i n g ) ) { 
 / /   W h e n   t h e r e   i s   a   d i f f e r e n c e ,   w e   s e t   t h e   V a r i a b l e   t o   t r u e 
 V M _ N e t w o r k _ C h a n g e   =   t r u e ; } 
 e l s e   { 
 / /   W h e n   t h e r e   i s   n o   d i f f e r e n c e ,   w e   s e t   t h e   V a r i a b l e   t o   f a l s e 
 V M _ N e t w o r k _ C h a n g e   =   f a l s e ; } 
 
 ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' V M N e t w o r k _ t a b l e '   t y p e = ' S Q L : T a b l e '   e x p o r t - n a m e = ' V M N e t w o r k _ t a b l e '   > < / b i n d > 
 < b i n d   n a m e = ' V M U U I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M U U I D '   > < / b i n d > 
 < b i n d   n a m e = ' V M I n f o f r o m D B '   t y p e = ' S Q L : A c t i v e R e c o r d '   e x p o r t - n a m e = ' V M I n f o f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' i p A d d r e s s e s '   t y p e = ' A r r a y / s t r i n g '   e x p o r t - n a m e = ' i p A d d r e s s e s '   > < / b i n d > 
 < b i n d   n a m e = ' n e t w o r k s '   t y p e = ' A r r a y / s t r i n g '   e x p o r t - n a m e = ' n e t w o r k s '   > < / b i n d > 
 < b i n d   n a m e = ' V _ I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V _ I D '   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' I P f r o m D B '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' I P f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' N e t w o r k s f r o m D B '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' N e t w o r k s f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' V M _ N e t w o r k _ C h a n g e '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = ' V M _ N e t w o r k _ C h a n g e '   > < / b i n d > 
 < b i n d   n a m e = ' I p A d d r e s s T o S t r i n g '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' I p A d d r e s s T o S t r i n g '   > < / b i n d > 
 < b i n d   n a m e = ' N e t w o r k s T o S t r i n g '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' N e t w o r k s T o S t r i n g '   > < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ W e   r e a d   t h e   i n f o r m a t i o n   f r o m   t h e   V M _ n e t w o r k   T a b l e   s p l i t   i t   a n d   c o m p a r i n g   i t   w i t h   t h e   a c t u a l   d a t a . ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 2 2 0 . 0 '   y = ' 3 6 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 1 9 '   o u t - n a m e = ' i t e m 2 6 '   t y p e = ' c o n d i t i o n '   a l t - o u t - n a m e = ' i t e m 2 0 '   c o m p a r a t o r = ' 0 '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ V M _ N e t w o r k _ C h a n g e ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / / G e n e r a t e d   b y   t h e   s y s t e m ,   c a n n o t   b e   e d i t e d 
 r e t u r n   ( V M _ N e t w o r k _ C h a n g e   = =   t r u e )   ; ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' V M _ N e t w o r k _ C h a n g e '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = ' V M _ N e t w o r k _ C h a n g e '   > < / b i n d > 
 < / i n - b i n d i n g > < c o n d i t i o n   n a m e = ' V M _ N e t w o r k _ C h a n g e '   t y p e = ' b o o l e a n '   c o m p a r a t o r = ' 0 ' > < ! [ C D A T A [ f a l s e ] ] > < / c o n d i t i o n > 
 < d e s c r i p t i o n > < ! [ C D A T A [ A r e   t h e r e   c h a n g e s   i n   t h e   n e t w o r k   c o n f i g u r a t i o n ? ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 2 2 0 . 0 '   y = ' 2 9 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 2 0 '   o u t - n a m e = ' i t e m 2 1 '   t y p e = ' t a s k '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ G e t V M f r o m V M _ D a t a s t o r e ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / /   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 / /   w e   s e a r c h   f o r   t h e   D a t a   o f   t h e   v i r t u a l   M a c h i n e   w i t h   t h e   N a m e   a n d   t h e   U U I D .   F i r s t   w e   d e f i n e   t h e   s e a r c h   c o l u m n s 
 v a r   c o l u m n s   =   { 
 	 V M I D   :   V _ I D , 
 	 V M U U I D   :   V M U U I D , 
 
 } ; 
 
 / /   G e t   t h e   D a t a   f r o m   t h e   T a b l e   a n d   p u t   t h e m   i n   a   S Q L   A c t i v e   R e c o r d 
 V M I n f o f r o m D B   =   V M D a t a s t o r e _ t a b l e . r e a d R e c o r d s ( c o l u m n s ) ; 
 
 
 / /   T h e   d a t a   f r o m   t h e   S Q L   R e c o r d   i s   a   " S t r i n g "   w i t h   i s   s e p e a r t e d   w i t h   " , " .   W e   h a v e   t o   S p l i t   t h e   S t r i n g   i n   S i n g l e   F i l e s . . . . . 
 / /   F i r s t ,   w e   p u t   t h e   S t r i n g   i n t o   a   t e m p o r a l l y   V a r i a b l e .   
 v a r   S p l i t C o n f i g A r r a y t o S t r i n g D i s k   =   V M I n f o f r o m D B . t o S t r i n g ( ) ; 
 / /   I n   t h e   A r r a y ,   w e   s e a r c h   f o r   t h e   K e y w o r d   
 v a r   D i s k S e a r c h   =   S p l i t C o n f i g A r r a y t o S t r i n g D i s k . s e a r c h ( " D i s k S i z e " ) ; 
 / /   T h e   a b o v e   d e f i n e d   s e a r c h   g i v e   u s   t h e   S t a r t i n g   P o s i t i o n   o f   o u r   K e y w o r d .   W e   w a n t   t h e   b l a n k   v a l u e ,   s o   w e   h a v e   t o   s p l i t 
 / /   o n   P o s i t i o n   9   a f t e r   t h e   S t a r t   P o s i t i o n   
 v a r   D i s k S t a r t   =   D i s k S e a r c h   +   9 ; 
 / /   H e r e   w e   s p l i t   a t   t h e   b e g i n n i n g   o f   t h e   V a l u e   w i t h   t h e   r e s t   o f   t h e   s t r i n g 
 v a r   D i s k S t r i n g T e m p   =   S p l i t C o n f i g A r r a y t o S t r i n g D i s k . s l i c e ( D i s k S t a r t ) ; 
 / /   W e   s p l i t   o n   t h e   f i r s t   " , "   f o l o w e d   f r o m   a   s p a c e .   T h a t ' s   o u r   v a l u e   E n d .   T h a t ' s   d i f f e r n e t   t h e n   b e f o r e   b e c a u s e 
 / /   t h e   v m   c a n   h a v e   m o r e   t h a n   o n e   i p   w h i c h   i s   s e p a r a t e d   t h r u   a   " , " 
 v a r   D i s k S t r i n g E n d   =   D i s k S t r i n g T e m p . s e a r c h ( / \ s ? , \ s / ) ; 
 / /   H e r e   w e   t a k e   t h e   s t a r t   a n d   t h e   e n d   w e   f i g u r e d   o u t   b e f o r e   a n d   s a v e   t h e   v a l u e   i n t o   t h e   V a r i a b l e 
 D i s k f r o m D B   =   D i s k S t r i n g T e m p . s l i c e ( 0 ,   D i s k S t r i n g E n d ) ; 
 
 
 / /   T h e   d a t a   f r o m   t h e   S Q L   R e c o r d   i s   a   " S t r i n g "   w i t h   i s   s e p e a r t e d   w i t h   " , " .   W e   h a v e   t o   S p l i t   t h e   S t r i n g   i n   S i n g l e   F i l e s . . . . . 
 / /   F i r s t ,   w e   p u t   t h e   S t r i n g   i n t o   a   t e m p o r a l l y   V a r i a b l e . 
 v a r   S p l i t C o n f i g A r r a y t o S t r i n g D a t a   =   V M I n f o f r o m D B . t o S t r i n g ( ) ; 
 / /   I n   t h e   A r r a y ,   w e   s e a r c h   f o r   t h e   K e y w o r d 
 v a r   D a t a S e a r c h   =   S p l i t C o n f i g A r r a y t o S t r i n g D a t a . s e a r c h ( " D a t a s t o r e " ) ; 
 / /   T h e   a b o v e   d e f i n e d   s e a r c h   g i v e   u s   t h e   S t a r t i n g   P o s i t i o n   o f   o u r   K e y w o r d .   W e   w a n t   t h e   b l a n k   v a l u e ,   s o   w e   h a v e   t o   s p l i t 
 / /   o n   P o s i t i o n   1 0   a f t e r   t h e   S t a r t   P o s i t i o n 
 v a r   D a t a S t a r t   =   D a t a S e a r c h   +   1 0 ; 
 / /   H e r e   w e   s p l i t   a t   t h e   b e g i n n i n g   o f   t h e   V a l u e   w i t h   t h e   r e s t   o f   t h e   s t r i n g 
 v a r   D a t a S t r i n g T e m p   =   S p l i t C o n f i g A r r a y t o S t r i n g D a t a . s l i c e ( D a t a S t a r t ) ; 
 / /   W e   s p l i t   o n   t h e   f i r s t   " } " .   T h a t ' s   o u r   v a l u e   E n d 
 v a r   D a t a S t r i n g E n d   =   D a t a S t r i n g T e m p . s e a r c h ( " } " ) ; 
 / /   H e r e   w e   t a k e   t h e   s t a r t   a n d   t h e   e n d   w e   f i g u r e d   o u t   b e f o r e   a n d   s a v e   t h e   v a l u e   i n t o   t h e   V a r i a b l e 
 D a t a s t o r e f r o m D B   =   D a t a S t r i n g T e m p . s l i c e ( 0 ,   D a t a S t r i n g E n d ) ; 
 
 / / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 / /   A f t e r   w e   h a v e   o u r   " c o n f i g u r a t i o n "   V a l u e s ,   w e   h a v e   t o   c h e c k   i f   t h e r e   i s   a   d i f f e r e n c e   b e t w e e n   t h e   V M   D a t a   a n d   
 / /   t h e   d a t a   s t o r e d   i n   t h e   D B . 
 / /   C a t c h   e m p t y   d i s k s i z e s   a n d   d a t a s t o r e N a m e   a n d   r e p l a c e   w i t h   a   s t r i n g 
 i f   ( d i s k S i z e s   = =   n u l l ) { 
 D i s k S i z e T o S t r i n g   =   " C o u l d   n o t   r e a d   D i s k   S i z e " 
 }   e l s e   { 
 D i s k S i z e T o S t r i n g   =   d i s k S i z e s . t o S t r i n g ( ) ; 
 } ; 
 
 i f   ( d a t a s t o r e s N a m e   = =   n u l l )   { 
 D a t a s t o r e N a m e s T o S t r i n g   =   " C o u l d   n o t   r e a d   D a t a s t o r e   N a m e " 
 }   e l s e   { 
 D a t a s t o r e N a m e s T o S t r i n g   =   d a t a s t o r e s N a m e . t o S t r i n g ( ) ; 
 } ; 
 
 
 i f   ( ( D i s k f r o m D B   ! =   D i s k S i z e T o S t r i n g )   | |   ( D a t a s t o r e f r o m D B   ! =   D a t a s t o r e N a m e s T o S t r i n g ) ) { 
 / /   W h e n   t h e r e   i s   a   d i f f e r e n c e ,   w e   s e t   t h e   V a r i a b l e   t o   t r u e 
 V M _ D a t a s t o r e _ C h a n g e   =   t r u e ; } 
 e l s e   { 
 / /   W h e n   t h e r e   i s   n o   d i f f e r e n c e ,   w e   s e t   t h e   V a r i a b l e   t o   f a l s e 
 V M _ D a t a s t o r e _ C h a n g e   =   f a l s e ; } 
 
 ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' V M U U I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M U U I D '   > < / b i n d > 
 < b i n d   n a m e = ' V M I n f o f r o m D B '   t y p e = ' S Q L : A c t i v e R e c o r d '   e x p o r t - n a m e = ' V M I n f o f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' d a t a s t o r e s N a m e '   t y p e = ' A r r a y / s t r i n g '   e x p o r t - n a m e = ' d a t a s t o r e s N a m e '   > < / b i n d > 
 < b i n d   n a m e = ' d i s k S i z e s '   t y p e = ' A r r a y / n u m b e r '   e x p o r t - n a m e = ' d i s k S i z e s '   > < / b i n d > 
 < b i n d   n a m e = ' V M D a t a s t o r e _ t a b l e '   t y p e = ' S Q L : T a b l e '   e x p o r t - n a m e = ' V M D a t a s t o r e _ t a b l e '   > < / b i n d > 
 < b i n d   n a m e = ' V _ I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V _ I D '   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' V M _ D a t a s t o r e _ C h a n g e '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = ' V M _ D a t a s t o r e _ C h a n g e '   > < / b i n d > 
 < b i n d   n a m e = ' D i s k f r o m D B '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' D i s k f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' D a t a s t o r e f r o m D B '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' D a t a s t o r e f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' D a t a s t o r e N a m e s T o S t r i n g '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' D a t a s t o r e N a m e s T o S t r i n g '   > < / b i n d > 
 < b i n d   n a m e = ' D i s k S i z e T o S t r i n g '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' D i s k S i z e T o S t r i n g '   > < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ W e   r e a d   t h e   i n f o r m a t i o n   f r o m   t h e   V M _ D a t a s t o r e   T a b l e   s p l i t   i t   a n d   c o m p a r i n g   i t   w i t h   t h e   a c t u a l   d a t a . ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 2 2 0 . 0 '   y = ' 2 2 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 2 1 '   o u t - n a m e = ' i t e m 2 4 '   t y p e = ' c o n d i t i o n '   a l t - o u t - n a m e = ' i t e m 1 '   c o m p a r a t o r = ' 0 '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ V M _ D a t a s t o r e _ C h a n g e ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / / G e n e r a t e d   b y   t h e   s y s t e m ,   c a n n o t   b e   e d i t e d 
 r e t u r n   ( V M _ D a t a s t o r e _ C h a n g e   = =   t r u e )   ; ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' V M _ D a t a s t o r e _ C h a n g e '   t y p e = ' b o o l e a n '   e x p o r t - n a m e = ' V M _ D a t a s t o r e _ C h a n g e '   > < / b i n d > 
 < / i n - b i n d i n g > < c o n d i t i o n   n a m e = ' V M _ D a t a s t o r e _ C h a n g e '   t y p e = ' b o o l e a n '   c o m p a r a t o r = ' 0 ' > < ! [ C D A T A [ f a l s e ] ] > < / c o n d i t i o n > 
 < p o s i t i o n   x = ' 2 2 0 . 0 '   y = ' 1 5 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 2 6 '   o u t - n a m e = ' i t e m 2 0 '   t y p e = ' t a s k '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ U p d a t e   A c t i v e   R e c o r d   N e t w o r k ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / /   W e   m u s t   c a t c h   " n u l l "   v a l u e s   a n d   c h a n g e   t h e m   t o   " " 
 / /   w e   d o   t h i s   f o r   I P f r o m D B   a n d   N e t w o r k s f r o m D B 
 / /   w e   n e e d   t h e   o r g i n i a l   v a l u e s   t o   l o a d   t h e   r e c o r d   f r o m   t h e   D B 
 i f   ( I P f r o m D B   = =   " n u l l " ) { 
 I P f r o m D B   =   " " ; } 
 i f   ( N e t w o r k s f r o m D B   = =   " n u l l " ) { 
 N e t w o r k s f r o m D B   =   " " ; } 
 
 v a r   N e w A r r a y   =   n e w   A r r a y ( V _ I D , V M U U I D , N e t w o r k s f r o m D B , I P f r o m D B ) 
 
 / /   w e   s e a r c h   f o r   t h e   r e c o r d   i n   t h e   D B   w i t h   t h e   d a t a   f r o m   t h e r e 
 V M N e t w o r k R e a d _ r e s u l t   =   S y s t e m . g e t M o d u l e ( " c o m . v m w a r e . l i b r a r y . s q l " ) . f i n d U n i q u e R e c o r d ( V M N e t w o r k _ t a b l e , N e w A r r a y ) ; 
 
 v a r   c o l u m n s   =   { 
 	 V M I D   :   V _ I D , 
 	 V M U U I D   :   V M U U I D , 
 	 N e t w o r k   :   N e t w o r k s T o S t r i n g , 
 	 I P A d d r e s s   :   I p A d d r e s s T o S t r i n g 
 } ; 
 
 U p d a t e R e s u l t _ V M _ N e t w o r k   =   V M N e t w o r k _ t a b l e . u p d a t e R e c o r d ( V M N e t w o r k R e a d _ r e s u l t ,   c o l u m n s ) ; 
 S y s t e m . l o g ( " U p d a t e   D B   w i t h   n e w   n e t w o r k   I n f o r m a t i o n " ) ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' V _ I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V _ I D '   > < / b i n d > 
 < b i n d   n a m e = ' V M U U I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M U U I D '   > < / b i n d > 
 < b i n d   n a m e = ' N e t w o r k s T o S t r i n g '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' N e t w o r k s T o S t r i n g '   > < / b i n d > 
 < b i n d   n a m e = ' I p A d d r e s s T o S t r i n g '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' I p A d d r e s s T o S t r i n g '   > < / b i n d > 
 < b i n d   n a m e = ' V M N e t w o r k R e a d _ r e s u l t '   t y p e = ' S Q L : A c t i v e R e c o r d '   e x p o r t - n a m e = ' V M N e t w o r k R e a d _ r e s u l t '   > < / b i n d > 
 < b i n d   n a m e = ' V M N e t w o r k _ t a b l e '   t y p e = ' S Q L : T a b l e '   e x p o r t - n a m e = ' V M N e t w o r k _ t a b l e '   > < / b i n d > 
 < b i n d   n a m e = ' I P f r o m D B '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' I P f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' N e t w o r k s f r o m D B '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' N e t w o r k s f r o m D B '   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' U p d a t e R e s u l t _ V M _ N e t w o r k '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' U p d a t e R e s u l t _ V M _ N e t w o r k '   > < / b i n d > 
 < / o u t - b i n d i n g > < p o s i t i o n   x = ' 4 0 . 0 '   y = ' 2 4 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 2 4 '   o u t - n a m e = ' i t e m 1 '   t y p e = ' t a s k '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ U p d a t e   A c t i v e   R e c o r d   V M _ D a t a s t o r e ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / /   W e   m u s t   c a t c h   " n u l l "   v a l u e s   a n d   c h a n g e   t h e m   t o   " " 
 / /   w e   d o   t h i s   f o r   D i s k f r o m D B   a n d   D a t a s t o r e f r o m D B 
 / /   w e   n e e d   t h e   o r g i n i a l   v a l u e s   t o   l o a d   t h e   r e c o r d   f r o m   t h e   D B 
 i f   ( D i s k f r o m D B   = =   " n u l l " ) { 
 D i s k f r o m D B   =   " " ; } 
 i f   ( D a t a s t o r e f r o m D B   = =   " n u l l " ) { 
 D a t a s t o r e f r o m D B   =   " " ; } 
 
 / /   w e   s e a r c h   f o r   t h e   r e c o r d   i n   t h e   D B   w i t h   t h e   d a t a   f r o m   t h e r e 
 v a r   N e w A r r a y   =   n e w   A r r a y ( V _ I D , V M U U I D , D i s k f r o m D B , D a t a s t o r e f r o m D B ) 
 
 V M D a t a s t o r e R e a d _ r e s u l t   =   S y s t e m . g e t M o d u l e ( " c o m . v m w a r e . l i b r a r y . s q l " ) . f i n d U n i q u e R e c o r d ( V M D a t a s t o r e _ t a b l e , N e w A r r a y ) ; 
 
 
 / /   N o w   w e   s t a r t   t o   u p d a t e   t h e   r e c o r d   w i t h   t h e   n e w   d a t a 
 v a r   c o l u m n s   =   { 
 	 V M I D   :   V _ I D , 
 	 V M U U I D   :   V M U U I D , 
 	 D i s k S i z e   :   D i s k S i z e T o S t r i n g , 
 	 D a t a s t o r e   :   D a t a s t o r e N a m e s T o S t r i n g 
 } ; 
 U p d a t e R e s u l t _ V M _ D a t a s t o r e   =   V M D a t a s t o r e _ t a b l e . u p d a t e R e c o r d ( V M D a t a s t o r e R e a d _ r e s u l t ,   c o l u m n s ) ; 
 S y s t e m . l o g ( " U p d a t e   D B   w i t h   n e w   S t o r a g e   I n f o r m a t i o n " ) ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' V _ I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V _ I D '   > < / b i n d > 
 < b i n d   n a m e = ' V M U U I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M U U I D '   > < / b i n d > 
 < b i n d   n a m e = ' D i s k S i z e T o S t r i n g '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' D i s k S i z e T o S t r i n g '   > < / b i n d > 
 < b i n d   n a m e = ' D a t a s t o r e N a m e s T o S t r i n g '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' D a t a s t o r e N a m e s T o S t r i n g '   > < / b i n d > 
 < b i n d   n a m e = ' V M D a t a s t o r e _ t a b l e '   t y p e = ' S Q L : T a b l e '   e x p o r t - n a m e = ' V M D a t a s t o r e _ t a b l e '   > < / b i n d > 
 < b i n d   n a m e = ' V M D a t a s t o r e R e a d _ r e s u l t '   t y p e = ' S Q L : A c t i v e R e c o r d '   e x p o r t - n a m e = ' V M D a t a s t o r e R e a d _ r e s u l t '   > < / b i n d > 
 < b i n d   n a m e = ' D i s k f r o m D B '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' D i s k f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' D a t a s t o r e f r o m D B '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' D a t a s t o r e f r o m D B '   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' U p d a t e R e s u l t _ V M _ D a t a s t o r e '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' U p d a t e R e s u l t _ V M _ D a t a s t o r e '   > < / b i n d > 
 < / o u t - b i n d i n g > < p o s i t i o n   x = ' 4 0 . 0 '   y = ' 2 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 2 5 '   o u t - n a m e = ' i t e m 1 8 '   t y p e = ' t a s k '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ U p d a t e   a c t i v e   r e c o r d   * V M _ H o s t "   ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / /   w e   n e e d   t h e   o r g i n i a l   v a l u e s   t o   l o a d   t h e   r e c o r d   f r o m   t h e   D B 
 v a r   N e w A r r a y   =   n e w   A r r a y ( V _ I D , V M U U I D , C l u s t e r f r o m D B , H o s t f r o m D B , R P f r o m D B , F o l d e r f r o m D B ) 
 
 / /   w e   s e a r c h   f o r   t h e   r e c o r d   i n   t h e   D B   w i t h   t h e   d a t a   f r o m   t h e r e 
 V M H o s t _ R e a d R e s u l t   =   S y s t e m . g e t M o d u l e ( " c o m . v m w a r e . l i b r a r y . s q l " ) . f i n d U n i q u e R e c o r d ( V M H o s t _ t a b l e , N e w A r r a y ) ; 
 
 v a r   c o l u m n s   =   { 
 	 V M I D   :   V _ I D , 
 	 V M U U I D   :   V M U U I D , 
 	 C l u s t e r   :   c l u s t e r N a m e , 
 	 H o s t   :   r u n n i n g H o s t N a m e , 
 	 R e s o u r c e P o o l   :   r e s o u r c e P o o l N a m e , 
 	 F o l d e r   :   f o l d e r N a m e 
 } ; 
 
 U p d a t e R e s u l t _ V M _ H o s t   =   V M H o s t _ t a b l e . u p d a t e R e c o r d ( V M H o s t _ R e a d R e s u l t ,   c o l u m n s ) ; 
 S y s t e m . l o g ( " U p d a t e   D B   w i t h   n e w   h o s t   i n f o r m a t i o n " ) ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' V _ I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V _ I D '   > < / b i n d > 
 < b i n d   n a m e = ' V M U U I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M U U I D '   > < / b i n d > 
 < b i n d   n a m e = ' C l u s t e r f r o m D B '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' C l u s t e r f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' c l u s t e r N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' c l u s t e r N a m e '   > < / b i n d > 
 < b i n d   n a m e = ' r u n n i n g H o s t N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' r u n n i n g H o s t N a m e '   > < / b i n d > 
 < b i n d   n a m e = ' H o s t f r o m D B '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' H o s t f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' r e s o u r c e P o o l N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' r e s o u r c e P o o l N a m e '   > < / b i n d > 
 < b i n d   n a m e = ' R P f r o m D B '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' R P f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' F o l d e r f r o m D B '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' F o l d e r f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' f o l d e r N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' f o l d e r N a m e '   > < / b i n d > 
 < b i n d   n a m e = ' V M H o s t _ t a b l e '   t y p e = ' S Q L : T a b l e '   e x p o r t - n a m e = ' V M H o s t _ t a b l e '   > < / b i n d > 
 < b i n d   n a m e = ' V M H o s t _ R e a d R e s u l t '   t y p e = ' S Q L : A c t i v e R e c o r d '   e x p o r t - n a m e = ' V M H o s t _ R e a d R e s u l t '   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' U p d a t e R e s u l t _ V M _ H o s t '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' U p d a t e R e s u l t _ V M _ H o s t '   > < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ U p d a t e   t h e   D a t a b a s e   w i t h   t h e   n e w   I n f o r m a t i o n   ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 4 0 . 0 '   y = ' 4 0 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 2 7 '   o u t - n a m e = ' i t e m 1 6 '   t y p e = ' t a s k '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ U p d a t e   a c t i v e   R e c o r d   ' V M _ I n f o " ] ] > < / d i s p l a y - n a m e > 
 < s c r i p t   e n c o d e d = ' f a l s e ' > < ! [ C D A T A [ / /   w e   n e e d   t h e   o r g i n i a l   v a l u e s   t o   l o a d   t h e   r e c o r d   f r o m   t h e   D B 
 
 v a r   N e w A r r a y   =   n e w   A r r a y ( V _ I D , V M U U I D , V M N a m e , C P U N u m b e r f r o m D B , M e m N u m b e r f r o m D B ) 
 
 / /   w e   s e a r c h   f o r   t h e   r e c o r d   i n   t h e   D B   w i t h   t h e   d a t a   f r o m   t h e r e 
 V M I n f o R e a d _ r e s u l t   =   S y s t e m . g e t M o d u l e ( " c o m . v m w a r e . l i b r a r y . s q l " ) . f i n d U n i q u e R e c o r d ( V M I n f o _ t a b l e , N e w A r r a y ) ; 
 
 v a r   c o l u m n s   =   { 
 	 V M I D   :   V _ I D , 
 	 V M U U I D   :   V M U U I D , 
 	 V M N a m e   :   V M N a m e , 
 	 C P U C o n f i g   :   c p u C o u n t , 
 	 M e m C o n f i g   :   m e m o r y M B 
 } ; 
 U p d a t e R e s u l t _ V M _ I n f o   =   V M I n f o _ t a b l e . u p d a t e R e c o r d ( V M I n f o R e a d _ r e s u l t ,   c o l u m n s ) ; 
 S y s t e m . l o g ( " U p d a t e   D B   w i t h   n e w   v i r t u a l   m a c h i n e   i n f o r m a t i o n " ) ] ] > < / s c r i p t > 
 < i n - b i n d i n g > < b i n d   n a m e = ' V _ I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V _ I D '   > < / b i n d > 
 < b i n d   n a m e = ' V M N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M N a m e '   > < / b i n d > 
 < b i n d   n a m e = ' V M U U I D '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' V M U U I D '   > < / b i n d > 
 < b i n d   n a m e = ' C P U N u m b e r f r o m D B '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' C P U N u m b e r f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' c p u C o u n t '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' c p u C o u n t '   > < / b i n d > 
 < b i n d   n a m e = ' m e m o r y M B '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' m e m o r y M B '   > < / b i n d > 
 < b i n d   n a m e = ' M e m N u m b e r f r o m D B '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' M e m N u m b e r f r o m D B '   > < / b i n d > 
 < b i n d   n a m e = ' V M I n f o _ t a b l e '   t y p e = ' S Q L : T a b l e '   e x p o r t - n a m e = ' V M I n f o _ t a b l e '   > < / b i n d > 
 < b i n d   n a m e = ' V M I n f o R e a d _ r e s u l t '   t y p e = ' S Q L : A c t i v e R e c o r d '   e x p o r t - n a m e = ' V M I n f o R e a d _ r e s u l t '   > < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' U p d a t e R e s u l t _ V M _ I n f o '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' U p d a t e R e s u l t _ V M _ I n f o '   > < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ U p d a t e   t h e   D a t a b a s e   w i t h   t h e   n e w   I n f o r m a t i o n s ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 4 0 . 0 '   y = ' 5 4 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < w o r k f l o w - i t e m   n a m e = ' i t e m 8 '   o u t - n a m e = ' i t e m 5 '   t y p e = ' l i n k '   l i n k e d - w o r k f l o w - i d = ' B D 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 8 0 9 9 C 3 8 0 8 0 0 1 2 2 5 2 8 3 1 3 8 6 9 5 5 2 e 4 1 8 0 5 b b 1 '   > 
 < d i s p l a y - n a m e > < ! [ C D A T A [ E x t r a c t   v i r t u a l   m a c h i n e   i n f o r m a t i o n ] ] > < / d i s p l a y - n a m e > 
 < i n - b i n d i n g > < b i n d   n a m e = ' v m '   t y p e = ' V C : V i r t u a l M a c h i n e '   e x p o r t - n a m e = ' V m t o G e t '   > < d e s c r i p t i o n > < ! [ C D A T A [ V i r t u a l   m a c h i n e   f r o m   w h i c h   t o   e x t r a c t   i n f o r m a t i o n ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < / i n - b i n d i n g > < o u t - b i n d i n g > < b i n d   n a m e = ' f o l d e r N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' f o l d e r N a m e '   > < d e s c r i p t i o n > < ! [ C D A T A [ V i r t u a l   m a c h i n e   f o l d e r   n a m e ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' f o l d e r I d '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' f o l d e r I d '   > < d e s c r i p t i o n > < ! [ C D A T A [ V i r t u a l   m a c h i n e   f o l d e r   I D ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' r u n n i n g H o s t N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' r u n n i n g H o s t N a m e '   > < d e s c r i p t i o n > < ! [ C D A T A [ N a m e   o f   h o s t   r u n n i n g   t h e   v i r t u a l   m a c h i n e ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' r u n n i n g H o s t I d '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' r u n n i n g H o s t I d '   > < d e s c r i p t i o n > < ! [ C D A T A [ I D   o f   h o s t   r u n n i n g   t h e   v i r t u a l   m a c h i n e ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' r e s o u r c e P o o l N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' r e s o u r c e P o o l N a m e '   > < d e s c r i p t i o n > < ! [ C D A T A [ R e s o u r c e   p o o l   n a m e ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' r e s o u r c e P o o l I d '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' r e s o u r c e P o o l I d '   > < d e s c r i p t i o n > < ! [ C D A T A [ R e s o u r c e   p o o l   I D ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' c l u s t e r N a m e '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' c l u s t e r N a m e '   > < d e s c r i p t i o n > < ! [ C D A T A [ C l u s t e r   n a m e ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' c l u s t e r I d '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' c l u s t e r I d '   > < d e s c r i p t i o n > < ! [ C D A T A [ C l u s t e r   I D ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' c o m p u t e R e s o u r c e I d '   t y p e = ' s t r i n g '   e x p o r t - n a m e = ' c o m p u t e R e s o u r c e I d '   > < d e s c r i p t i o n > < ! [ C D A T A [ C i m p u t e   r e s o u r c e   I D ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' d a t a s t o r e s N a m e '   t y p e = ' A r r a y / s t r i n g '   e x p o r t - n a m e = ' d a t a s t o r e s N a m e '   > < d e s c r i p t i o n > < ! [ C D A T A [ D a t a s t o r e   n a m e ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' d a t a s t o r e s I d '   t y p e = ' A r r a y / s t r i n g '   e x p o r t - n a m e = ' d a t a s t o r e s I d '   > < d e s c r i p t i o n > < ! [ C D A T A [ D a t a s t o r e   I D ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' d i s k S i z e s '   t y p e = ' A r r a y / n u m b e r '   e x p o r t - n a m e = ' d i s k S i z e s '   > < d e s c r i p t i o n > < ! [ C D A T A [ D i s k   s i z e s ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' c p u C o u n t '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' c p u C o u n t '   > < d e s c r i p t i o n > < ! [ C D A T A [ N u m b e r   o f   C P U s ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' m e m o r y M B '   t y p e = ' n u m b e r '   e x p o r t - n a m e = ' m e m o r y M B '   > < d e s c r i p t i o n > < ! [ C D A T A [ M e m o r y   i n   M B ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' i p A d d r e s s e s '   t y p e = ' A r r a y / s t r i n g '   e x p o r t - n a m e = ' i p A d d r e s s e s '   > < d e s c r i p t i o n > < ! [ C D A T A [ I P   a d d r e s s e s ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' n e t w o r k s '   t y p e = ' A r r a y / s t r i n g '   e x p o r t - n a m e = ' n e t w o r k s '   > < d e s c r i p t i o n > < ! [ C D A T A [ N e t w o r k s ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' f o l d e r '   t y p e = ' V C : V m F o l d e r '   e x p o r t - n a m e = ' f o l d e r '   > < d e s c r i p t i o n > < ! [ C D A T A [ V i r t u a l   m a c h i n e   f o l d e r ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' h o s t '   t y p e = ' V C : H o s t S y s t e m '   e x p o r t - n a m e = ' h o s t '   > < d e s c r i p t i o n > < ! [ C D A T A [ H o s t ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' r e s o u r c e P o o l '   t y p e = ' V C : R e s o u r c e P o o l '   e x p o r t - n a m e = ' r e s o u r c e P o o l '   > < d e s c r i p t i o n > < ! [ C D A T A [ R e s o u r c e   P o o l ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' c l u s t e r '   t y p e = ' V C : C l u s t e r C o m p u t e R e s o u r c e '   e x p o r t - n a m e = ' c l u s t e r '   > < d e s c r i p t i o n > < ! [ C D A T A [ C l u s t e r ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' c o m p u t e R e s o u r c e '   t y p e = ' V C : C o m p u t e R e s o u r c e '   e x p o r t - n a m e = ' c o m p u t e R e s o u r c e '   > < d e s c r i p t i o n > < ! [ C D A T A [ C o m p u t e   r e s o u r c e ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < b i n d   n a m e = ' d a t a s t o r e s '   t y p e = ' A r r a y / V C : D a t a s t o r e '   e x p o r t - n a m e = ' d a t a s t o r e s '   > < d e s c r i p t i o n > < ! [ C D A T A [ A r r a y   o f   d a t a s t o r e s ] ] > < / d e s c r i p t i o n > 
 < / b i n d > 
 < / o u t - b i n d i n g > < d e s c r i p t i o n > < ! [ C D A T A [ R e t u r n s   t h e   v i r t u a l   m a c h i n e   f o l d e r ,   h o s t   s y s t e m ,   r e s o u r c e   p o o l ,   c o m p u t e   r e s o u r c e ,   d a t a s t o r e ,   h a r d   d r i v e s   s i z e s ,   C P U   a n d   m e m o r y ,   n e t w o r k ,   a n d   I P   a d d r e s s   f o r   a   g i v e n   v i r t u a l   m a c h i n e .   N o t e :   V M w a r e   T o o l s   m a y   n e e d   t o   b e   i n s t a l l e d . ] ] > < / d e s c r i p t i o n > 
 < p o s i t i o n   x = ' 4 4 0 . 0 '   y = ' 4 6 0 . 0 ' / > 
 < / w o r k f l o w - i t e m > 
 < p r e s e n t a t i o n > 
 < / p r e s e n t a t i o n > < / w o r k f l o w >