On the first host, using the shell (Interface -> Exit to Shell):
/etc/rc.d/rc.scst start
scstadmin -add_dgrp esos
scstadmin -add_tgrp local -dev_group esos
scstadmin -set_tgrp_attr local -dev_group esos -attributes group_id=1
scstadmin -add_tgrp_tgt 21:00:00:e0:8b:9d:74:49 -dev_group esos -tgt_group local
scstadmin -set_ttgt_attr 21:00:00:e0:8b:9d:74:49 -dev_group esos -tgt_group local -attributes rel_tgt_id=1
scstadmin -add_tgrp remote -dev_group esos
scstadmin -set_tgrp_attr remote -dev_group esos -attributes group_id=2
scstadmin -add_tgrp_tgt 21:00:00:1b:32:01:6b:11 -dev_group esos -tgt_group remote
scstadmin -set_ttgt_attr 21:00:00:1b:32:01:6b:11 -dev_group esos -tgt_group remote -attributes rel_tgt_id=2
/etc/rc.d/rc.scst stopOn the second host, using the shell (Interface -> Exit to Shell):
/etc/rc.d/rc.scst start
scstadmin -add_dgrp esos
scstadmin -add_tgrp local -dev_group esos
scstadmin -set_tgrp_attr local -dev_group esos -attributes group_id=2
scstadmin -add_tgrp_tgt 21:00:00:1b:32:01:6b:11 -dev_group esos -tgt_group local
scstadmin -set_ttgt_attr 21:00:00:1b:32:01:6b:11 -dev_group esos -tgt_group local -attributes rel_tgt_id=2
scstadmin -add_tgrp remote -dev_group esos
scstadmin -set_tgrp_attr remote -dev_group esos -attributes group_id=1
scstadmin -add_tgrp_tgt 21:00:00:e0:8b:9d:74:49 -dev_group esos -tgt_group remote
scstadmin -set_ttgt_attr 21:00:00:e0:8b:9d:74:49 -dev_group esos -tgt_group remote -attributes rel_tgt_id=1
/etc/rc.d/rc.scst stopHi,
Do you get that message when attempting to commit a shadow CIB? Or are
you editing the cluster config manually (eg, crm configure edit)?
Cluster configuration is really dependent on your desired setup and
back-end storage topology.
--Marc
On Fri, Aug 2, 2019 at 12:40 PM Roman Drovalev <drov...@gmail.com> wrote:
>
> Hello.
> I want to configure cluster scst. I do the configuration according to the instructions - https://github.com/quantum/esos/wiki/42_Cluster_Configuration
> When entering the command:
> crm configure primitive p_scst ocf:esos:scst params alua="true" device_group=”esos” local_tgt_grp=”local” remote_tgt_grp=”remote” op monitor interval=”10” role="Master" op monitor interval=”20” role="Slave" op start interval="0" timeout="120" op stop interval="0" timeout="90"
>
> this error comes out:
> ERROR: Relax-NG validity error : Element op failed to validate attributes
> Relax-NG validity error : Extra element operations in interleave
> operations (6): Element primitive failed to validate content
> primitive (9): Element resources has extra content: primitive
> Errors found during check: config not valid
> WARNING: p_scst: interval in monitor_Slave must be unique
> Do you still want to commit (y/n)? n
>
> Why does the error appear? How to configure this cluster scst for FC target?
> Thank.
>
> ESOS ver. 2.0
>
> --
> You received this message because you are subscribed to the Google Groups "esos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to esos-...@googlegroups.com.
node 1: alpha > To view this discussion on the web visit https://groups.google.com/d/msgid/esos-users/8b13975c-079c-456f-8820-bcdde2c73f67%40googlegroups.com.