Hello, I think my config is correct, but it sill fails with "This Target already exists in configFS" but "targetcli ls" shows nothing.
Can somebody tell me please what I'm doing wrong? dpkg -l |egrep 'pacemaker|corosync|target-cli' node 1: zfs-serv3 \ attributes node 2: zfs-serv4 \ attributes maintenance=on standby=on primitive ha-ip IPaddr2 \ params ip=192.168.1.10 cidr_netmask=24 nic=bond0 \ op start interval=0s timeout=20s \ op stop interval=0s timeout=20s \ op monitor interval=10s timeout=20s \ meta target-role=Started primitive iscsi-lun0 iSCSILogicalUnit \ params implementation=lio-t target_iqn="iqn.2003-01.org.linux-iscsi.vm-storage.x8664:sn.1decabc0bb80" lun=0 path="/dev/zvol/vm_storage/zfs-vol1" primitive iscsi-lun1 iSCSILogicalUnit \ params implementation=lio-t target_iqn="iqn.2003-01.org.linux-iscsi.vm-storage.x8664:sn.1decabc0bb80" lun=1 path="/dev/zvol/vm_storage/zfs-vol2" primitive iscsi-server iSCSITarget \ params implementation=lio-t iqn="iqn.2003-01.org.linux-iscsi.vm-storage.x8664:sn.1decabc0bb80." allowed_initiators="iqn.1998-01.com.vmware:brainslug9-abcde iqn.1998-01.com.vmware:brainslug8-efgh iqn.1998-01.com.vmware:brainslug7-ertyu iqn.1998-01.com.vmware:brainslug10-xcvbnmkj" primitive resIPMI-zfs3 stonith:external/ipmi \ params hostname=zfs-serv3 ipaddr=172.xx.xx.xx userid=<USER> passwd=<PW> interface=lan priv=OPERATOR pcmk_delay_max=20 \ op monitor interval=60s \ meta primitive resIPMI-zfs4 stonith:external/ipmi \ params hostname=zfs-serv4 ipaddr=172.xx.xx.xx userid=<USER> passwd=<PW> interface=lan priv=OPERATOR pcmk_delay_max=20 \ op monitor interval=60s \ meta primitive vm_storage ZFS \ params pool=vm_storage importargs="-d /dev/disk/by-vdev/" \ op monitor interval=5s timeout=30s \ op start interval=0s timeout=90 \ op stop interval=0s timeout=90 \ meta target-role=Started location cli-prefer-iscsi-server iscsi-server role=Started inf: zfs-serv3 location location-resIPMI-zfs3-zfs-serv3--INFINITY resIPMI-zfs3 -inf: zfs-serv3 location location-resIPMI-zfs4-zfs-serv4--INFINITY resIPMI-zfs4 -inf: zfs-serv4 colocation pcs_rsc_colocation_set_ha-ip_vm_storage_iscsi-server inf: ha-ip vm_storage iscsi-server order pcs_rsc_order_set_ha-ip_iscsi-server_vm_storage ha-ip:stop iscsi-server:stop vm_storage:stop symmetrical=false order pcs_rsc_order_set_iscsi-server_vm_storage_ha-ip vm_storage:start iscsi-server ha-ip:start symmetrical=false property cib-bootstrap-options: \ have-watchdog=false \ dc-version=1.1.16-94ff4df \ cluster-infrastructure=corosync \ cluster-name=zfs-vmstorage \ no-quorum-policy=stop \ stonith-enabled=true \ last-lrm-refresh=1539171551 rsc_defaults rsc_defaults-options: \ resource-stickiness=100
_______________________________________________ Users mailing list: Users@clusterlabs.org https://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org