It is still not clear can the different classes be located at the same cluster ? As of v2.1.16 seems like this is impossible :
....
create database plocal:/opt/orientdb/databases/db1 root root_pass;
create cluster clust1;
create class class1 extends V cluster clust1;
create class class2 extends V cluster clust1; <=== error
Error: com.orientechnologies.orient.core.exception.OSchemaException: Class
class2 already exists in current database
Grouping several classes in the same cluster is impossible, but we can remove all the clusters from the class !
orientdb {db=db1}> info class class2
CLASS 'class2'
Super classes........: [V]
Default cluster......: class2 (id=12)
Supported clusters...: class2(12)
Cluster selection....: round-robin
Oversize.............: 0.0
orientdb {db=db1}> info class class2
orientdb {db=db1}> alter class class2 removecluster class2;
Class updated successfully
orientdb {db=db1}> info class class2
CLASS 'class2'
Super classes........: [V]
Default cluster......: null (id=-1)
Supported clusters...:
Cluster selection....: round-robin
Oversize.............: 0.0
orientdb {db=db1}>
I'd like to have some classes located inside the same cluster. Is it possible ?