It only happens one time that when chain.currchain is black, move state the
from the chain.chain to chain.currchain.

The last part, I said if chain.currchain is black, set the chain.currchain
from chain.currstate.

Thanks
Best Regards
----------------------------------------------------------------------
 Wang Xiaopeng (王晓朋)
 IBM China System Technology Laboratory
 Tel: 86-10-82453455
 Email: [email protected]
 Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193



From:   Dave Barry <[email protected]>
To:     xCAT Users Mailing list <[email protected]>
Date:   2011-07-30 21:55
Subject:        Re: [xcat-user] Chain table confusion



Thanks!

I just want to make sure I understood properly. So each nextdestiny takes
what is in chain.currchain and puts it in chain.currstate, and the node
runs that. At the same time, it will take the next thing it is supposed to
do (chain.currchain) out of chain.chain.

  At last if found the chain.currchain is black, make the chain.currchain
  has same state with chain.currstate



Kind of confused on that last part. Are you saying that if chain.chain has
no further entries to fill chain.currchain with, then chain.currchain will
become whatever is in chain.currstate?





On Fri, Jul 29, 2011 at 5:17 AM, Xiao Peng Wang <[email protected]> wrote:
  chain.currstate is the state which will be used for current operation.
  For each 'next' switch (nextdestiny), the state will be shifted out from
  chain.currchain to the chain.currstate. If the chain.currchain is black,
  copy the state from chain.chain. At last if found the chain.currchain is
  black, make the chain.currchain has same state with chain.currstate.


  Thanks
  Best Regards
  ----------------------------------------------------------------------
  Wang Xiaopeng (王晓朋)
  IBM China System Technology Laboratory
  Tel: 86-10-82453455
  Email: [email protected]
  Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
  Haidian District Beijing P.R.China 100193

  Inactive hide details for Dave Barry ---2011-07-29 00:06:28---Hi all, I'm
  having a difficult time understanding how the chain tDave Barry
  ---2011-07-29 00:06:28---Hi all, I'm having a difficult time
  understanding how the chain table comes into

  From: Dave Barry <[email protected]>
  To: xCAT Users Mailing list <[email protected]>
  Date: 2011-07-29 00:06
  Subject: [xcat-user] Chain table confusion



  Hi all,

  I'm having a difficult time understanding how the chain table comes into
  play and when each piece is read / written to.

  When doing a nodeset node rumcmd=something, I would expect it to change
  chain.chain to runcmd=something, keep chain.currstate and chain.currchain
  to whatever it's currently doing, and when on reboot it would see that
  chain.chain is now runcmd=something and execute it, and update
  chain.currchain and chain.currstate when it begins execution.

  Instead, it sets chain.currstate to whatever I put in nodeset, and
  chain.chain and currchain are never touched.

  I've read the man pages and whatever I could find on sourceforge about
  the chain table, but confusion still abounds.  Is there any other
  documentation out there regarding the chain table, or could somebody
  perhaps clarify a bit more on what each piece of chain table represents
  and how they fit in to the rest of the xcat system?


  Thanks!
  ------------------------------------------------------------------------------

  Got Input?   Slashdot Needs You.
  Take our quick survey online.  Come on, we don't ask for help often.
  Plus, you'll get a chance to win $100 to spend on ThinkGeek.
  http://p.sf.net/sfu/slashdot-survey
  _______________________________________________
  xCAT-user mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/xcat-user


  ------------------------------------------------------------------------------

  Got Input?   Slashdot Needs You.
  Take our quick survey online.  Come on, we don't ask for help often.
  Plus, you'll get a chance to win $100 to spend on ThinkGeek.
  http://p.sf.net/sfu/slashdot-survey
  _______________________________________________
  xCAT-user mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------

Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to