Back to Solana

README

cd/README.md

1.18.266.0 KB
Original Source

Canaries

In order to reduce the risk associated with deploying updates Solana Labs operates the validator software on canary nodes on mainnet-beta and testnet. The mainnet-beta nodes are non-voting. These nodes update themselves on a regular schedule.

CanaryHostDashboardsIdentityClusterChannelDays between updates
mce1edge-validator-us-sv15Cluster Systemedge8WksfN71qYDJ1e4fCy2WfKg19fXU5zuztDi9uTMmainnet-betaedge2
mce2canary-am6-2Cluster Systemmce2CKApCodefxDBUDWXCdBkqoh2dg1vpWJJX2qfuvVmainnet-betaedge4
mce3canary-da11-1Cluster Systemmce3QKzeRNwk3TC6XfHTy5hdRT6u5UKm4rKQbNKkFhFmainnet-betaedge8
mcb1beta-validator-us-ny5Cluster SystembetaVcnkBhHKaWx9o6LoSYrGaoDCskQLm94cUVWqDLSmainnet-betabeta2
mcb2canary-ny5-2Cluster Systemmcb2qZRoYgy4bJkPRv6cBwLAAYow9ZsSzcrjJKprUndmainnet-betabeta4
mcs1canary-am6-1Cluster Systemmcs1kpUkWeqoruxWwtCskY1GGF4Bx1t3MMtHSHoSLyCmainnet-betastable2
mcs2canary-ny5-1Cluster Systemmcs2ZZa1vHhbUyfZ6ttHEGpFU6pib4pm4ownTxBm6Jcmainnet-betastable4
tce1canary-sg1-1Cluster Systemtce1TNB7pchMpM36eyzvttBDEwTczv86o5P2SS8dpSUtestnetedge4
tcb1canary-sv15-1Cluster Systemtcb1JYngtdwigQaJV6t13TJSnKuEPitpwoHS5TAYg1Htestnetbeta4

The canaries update themselves every few days according to the schedule above. They should not be updated manually. The updates get the newest build for the given channel which is often not a tagged release.

These are handy commands to see what versions are currently running on each node:

solana gossip -um | grep -E " (edge|beta|mc[ebs]\d)"

solana gossip -ut | grep -E " (tc[eb]\d)"

Nodes update themselves when (number of days since 1970-01-01) mod (days between updates) is 0. Use this command (and the table above) to check when a node will update:

DAYS_BETWEEN_UPDATES=8; d=$(expr $(date +%s) / 86400 % $DAYS_BETWEEN_UPDATES); n=$(expr $DAYS_BETWEEN_UPDATES - $d); echo "Updated $d day(s) ago. Will update $n day(s) from now"

Alerts

Canaries are monitored by watchtower and alert in Slack #pager-duty-canary