3 Replies Latest reply: Oct 30, 2012 6:13 AM by HartmutStreppel RSS

    Could iscsi device be  used for cluster telemetry?

    971114
      Hi All

      I am just configuring cluster telemetry on two nodes of cluster in virtualbox.
      I have setup two iscsi device (zfs based) to be used for quorum disk or for something else.

      # format
      AVAILABLE DISK SELECTIONS:
      0. c1t0d0 <DEFAULT cyl 10440 alt 2 hd 255 sec 63>
      /pci@0,0/pci8086,2829@d/disk@0,0
      1. c2t600144F0508A2AB7000A0B0C0D010300d0 <DEFAULT cyl 1021 alt 2 hd 128 sec 32>
      /scsi_vhci/disk@g600144f0508a2ab7000a0b0c0d010300
      2. c2t600144F0508A51FA000A0B0C0D010300d0 <DEFAULT cyl 1021 alt 2 hd 128 sec 32>
      /scsi_vhci/disk@g600144f0508a51fa000a0b0c0d010300


      As you see disk 1 & 2 are the iscsi.

      # /usr/cluster/bin/cldev list -v
      DID Device Full Device Path
      ---------- ----------------
      d1 node1:/dev/rdsk/c0t0d0
      d2 node1:/dev/rdsk/c1t0d0
      d3 node2:/dev/rdsk/c2t600144F0508A2AB7000A0B0C0D010300d0
      d3 node1:/dev/rdsk/c2t600144F0508A2AB7000A0B0C0D010300d0
      d4 node2:/dev/rdsk/c0t0d0
      d5 node2:/dev/rdsk/c1t0d0
      d6 node1:/dev/rdsk/c2t600144F0508A51FA000A0B0C0D010300d0
      d6 node2:/dev/rdsk/c2t600144F0508A51FA000A0B0C0D010300d0

      Now I want to setup cluster telemetry using one of the iscsi disk( like d3, is it possible?)


      Regards,

      Edited by: user12684177 on Oct 28, 2012 8:31 PM

      Edited by: user12684177 on Oct 28, 2012 8:33 PM

      Edited by: user12684177 on Oct 29, 2012 2:25 AM
        • 1. Re: Could iscsi device be  used for cluster telemetry?
          971114
          The list of HA global device paths      dsk/d3
          The list of file system mountpoints /telemetry

          I got the error when I tried to use iscsi device as the telemetry


          --
          Oct 30 14:05:38 node1 SC[,SUNW.HAStoragePlus:10,telemetry-r
          g,telemetry-rs,hastorageplus_prenet_start]: [ID 144706 daemon.error] File system
          check of /telemetry (/dev/global/rdsk/d3s0) failed: (39) /dev/global/rdsk/d2s0:
          BAD SUPERBLOCK AT BLOCK 16: MAGIC NUMBER WRONG
          Oct 30 14:05:38 node1 /dev/global/rdsk/d3s0: USE AN ALTERNA
          TE SUPERBLOCK TO SUPPLY NEEDED INFORMATION;
          Oct 30 14:05:38 node1 /dev/global/rdsk/d3s0: e.g. fsck [-F
          ufs] -o b=# [special ...]
          Oct 30 14:05:38 node1 /dev/global/rdsk/d3s0: where # is the
          alternate super block. SEE fsck_ufs(1M).
          Oct 30 14:05:38 node1 /dev/global/rdsk/d3s0: UNEXPECTED INC
          ONSISTENCY; RUN fsck MANUALLY.

          Edited by: user12684177 on 2012-10-29 下午11:12
          • 2. Re: Could iscsi device be  used for cluster telemetry?
            Nik
            Hi.
            For Solaris cluster you should have shared device. It may be iSCSI, but both node should have access to same LUN.

            According provided information i cant's see this disk.

            You create file system on /dev/global/rdsk/d3s0 ?
            ( newfs /dev/global/rdsk/d3s0 )


            Regards.
            • 3. Re: Could iscsi device be  used for cluster telemetry?
              HartmutStreppel
              Hi,
              I haven't used telemetry for a while, but it seems that it needs a filesystem to store its data and not just a raw LUN. See: http://my.safaribooksonline.com/book/operating-systems-and-server-administration/solaris/9780132489409/example-oracle-solaris-cluster-implementations/ch08lev1sec4 for some more information.
              Regards
              Hartmut