Hi List,
We see newly added OSD take long time to become active, it is
fetching old osdmaps from monitors. Curious why it need that much
historical ? The cluster is stable , no osd down/out except the ongoing
cap add (one osd at a time).
{
"cluster_fsid": "e959f744-64be-4f4e-9606-103ccaa9d2d6",
"osd_fsid": "0a2d4b9d-f6e5-4e40-be7f-16daee131a20",
"whoami": 38,
"state": "preboot",
"oldest_map": 193222,
"newest_map": 298982,
"num_pgs": 0
}
root@host:~# ceph osd getmap | head -5
got osdmap epoch 324825
-Xiaoxi
Hi,
In *mapper.c* file of Ceph CRUSH, I am trying to understand the definition
of a linux macro ```*S64_MIN*``` used in the following ```*else*```
condition i.e. ```*draw = S64_MIN*```.
Which exact decimal value is meant here for ```*S64_MIN*```?
```
if (weights[i])
{
u = hash(bucket->h.hash, x, ids[i], r);
u &= 0xffff;
ln = crush_ln(u) - 0x1000000000000ll;
__s64 draw = div64_s64(ln, weights[i]);
}
else
{
__s64 draw = S64_MIN;
// #define S64_MAX ((s64)(U64_MAX >> 1))
// #define S64_MIN ((s64)(-S64_MAX -1))
}
if (i == 0 || draw > high_draw)
{
high = i;
high_draw = draw;
}
}
return bucket->h.items[high];
}
Thanks
Bobby !
Hello all,
There's a framework [0] I've been working on for a while to deploy
Ceph in the cloud. For now, this is done through the Linode, LLC cloud
provider [1].
Primarily I use this for testing CephFS performance/behavior. For
example, it's fairly simple to create a decent sized test cluster with
150GB MDSs and 16x 16GB OSDs for a humble 1.7TB usable storage. Then
provision 100+ client machine nodes for executing workflows against
the Ceph cluster. This has been very useful for isolating aberrant
behaviors that are only uncovered at scale. All of the code/playbooks
I use for this purpose are also in the ceph-linode repository.
Early versions of this project used ceph-ansible but I have updated
the code to use the new cephadm deployment technology [2] in Ceph
Octopus release. The ansible playbook to deploy the cluster [3] is
delightfully simple.
Anyway, I thought it may be useful to the broader community to have an
option to try out cephadm on a throwaway cluster for pennies per hour
through a VPS provider. Getting a small cluster started should take
less than 10 minutes by following the README. I hope some folks out
there find this useful for their own testing. Feedback is welcome.
[0] https://github.com/batrick/ceph-linode
[1] https://www.linode.com/
[2] https://docs.ceph.com/docs/master/cephadm/
[3] https://github.com/batrick/ceph-linode/blob/master/cephadm.yml
Full disclosure: I have no relationship with Linode except as a customer.
--
Patrick Donnelly, Ph.D.
He / Him / His
Principal Software Engineer
Red Hat Sunnyvale, CA
GPG: 19F28A586F808C2402351B93C3301A3E258DD79D
Are you feeling irritated because of poor grades in assignment submission? Do you need assistance to boost your grades in assignment writing for Hong Kong universities? Then, divert your mind for assignment writing services and connect with a reliable service provider like us. We are the leading online assignment writing service provider in Hong Kong and help every scholar to enhance his or her marks. Our writers help students to expand their knowledge and boost their scores. You will receive the valuable Assignment Help services through online mode of communication in Hong Kong. By choosing our academic writing services, you can save your time and effort to perform great in your all academic tasks. Leave your irritation of getting lower marks using the assistance of subject matter experts in Hong Kong.
https://www.greatassignmenthelp.com/hk/