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



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

<<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