Wednesday 30 March 2016

MY TESTING OBSERVATIONS in solaris 10/11, SCS, LDOMS & vcs,vxvm?

SCS:-
1.when gui?
2.how to set failover properties?
if i manully kill resource i.e sap instead of restarting same node
   how can we failover resource to anothernode ==>by default with in the node
   OR
   resource group automatically goes to offline does not move any where????
3.if i set affinities rg1 strong negative on rg2
so when rg1 going to online on another node it stop first rg2 and start rg1 ,instead
of that it start rg1 first and stop rg2 how to achieve it ????????
4.No NFS client configuration in solaris cluster ?????????????
5.NO ZFS file system as GLOBAL file system ????????????
6.
7)NO GUI
8)by default we got sap abap & java & oracle agents freely.
9)quarm device is mandetory.
10)in solaris cluster if i  create 2 guest domain & configure solaris cluster
  in this & configure common storage & assign it as quarm dev
  if i reboot guest2  guest1 node  panics
  if i reboot guest1 only guest1 reboots
  why ??????

LDOMS:-
1)i created control domain
2) i create SECIO service domain in t5120 only one PCI is there so
   i used one disk under primary service and create service domain
3) if i take reboot my service domain also down
4)i dedicat 1 nic & 1 HBA to my servicde domain
5) i created secondary services by using nic & HBA
6) by using control & service domain i create guest domain
7) make zfs mirroring
8) now reboot my service domain ---> guest not available to admin but pinging
9)now reboot my control domain --> service & gest domain not available
10)because of guest domain dependent & control domain dependecy my service domain does not started once control domain restarts
11)if i create slice in a disk and dedicate that slice to guest domain
   in installation time we need to select slice option then only installation got successfull.
   in installation time if we take entire disk installation fails.
12)i create slice and install os on it now i give same sile to another guest it throws error
13).how to set policy to if vcpus are added as core level?
SOLUTION:-
 BY USING POLICY
.hear cpu adding dynamically two ways
   -> vcpu-min=4 vcpu-max=18 i.e eventhough u create ldom 18 vcpu it show only 4 vcpu
      usage ,rest of all are un used if load is extend depending on limits it add cpus
   ->ldom initially contains 4 vcpus
 vcpu-min=4 vcpu-max=8 hear initail 4 are usage more than limit then the remaing 4
      cpus depending on load will asign from free available cpus i.e these vcpus are
      not assigned to any guest domain
   -> if u are creating ldom by using core level this dynamic cpu capping is disable ?why???
   ex:
    CONSTRAINT
    cpu=whole-core
    max-cores=unlimited
    threading=max-throughput
 # ldm set-policy enable=yes name=dbpolicy bwdb
Resource Management is disabled while whole-core constraint is enabled
14) WHY Resource Management is disabled WHILE ASSIGNING CORE LEVEL CPU ASSIGNMENT ???????

15) i don't know how to assign limited speed vnic to guest domain ?

16).How to assign shared storage for cluster?
FOR EMC POWERPATH it is not allowing to common storage, but for solaris MPixo it allows common storage 
17).How to assign shared storage target device?

18.why LDom  is locked against modification?
#ldm set-mem 12G Z10DB
LDom Z10DB is locked against modification
19)online disk removing not possible after vxvm installed,
this disk in not under control of vxvm?
c2d19s2      auto:SVM        -            -            SVM
ldm remove-vdisk mddb1 Z10DB
Guest LDom returned the following reason for failing the operation:
    Resource             Information
----------------  -------------------------
/dev/dsk/c2d19s2  Device being used by VxVM
VIO operation failed because device is being used in LDom Z10DB
Failed to remove vdisk instance
================================
solution:-
Resource Information
---------------- -------------------------
/dev/dsk/c2d17s2 Device being used by VxVM <-------- HERE
VIO operation failed because device is being used in LDom Z10DB
Failed to remove vdisk instance
---

# vxdisk list
c2d17s2 auto:none - - online invalid
#vxdisk rm c2d17
# vxdisk list
no disk info
==
from control domain
===
# ldm remove-vdisk -f lun17 Z10DB
Guest LDom returned the following reason for failing the operation:
Resource Information
---------------- -------------------------
/dev/dsk/c2d17s2 Device being used by VxVM
VIO operation failed because device is being used in LDom Z10DB
Failed to remove vdisk instance
The -f option has no effect because the device cannot be removed safely

# vxdmpadm listctlr all
CTLR_NAME       ENCLR_TYPE      STATE        ENCLR_NAME      PATH_COUNT
=========================================================================
c2              EMC_CLARiiON    ENABLED      emc_clariion0        19


# vxdmpadm getsubpaths ctlr=c2
NAME         STATE[A]   PATH-TYPE[M] DMPNODENAME  ENCLR-TYPE   ENCLR-NAME   ATTR                                                                             S
================================================================================
c2d0s2       ENABLED(A)  PRIMARY      c2d0s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d10s2      ENABLED(A)  PRIMARY      c2d10s2      EMC_CLARiiON  emc_clariion0                                                                                  -
c2d11s2      ENABLED(A)  SECONDARY    c2d11s2      EMC_CLARiiON  emc_clariion0                                                                                  -
c2d12s2      ENABLED(A)  PRIMARY      c2d12s2      EMC_CLARiiON  emc_clariion0                                                                                  -
c2d13s2      ENABLED(A)  PRIMARY      c2d13s2      EMC_CLARiiON  emc_clariion0                                                                                  -
c2d14s2      ENABLED(A)  PRIMARY      c2d14s2      EMC_CLARiiON  emc_clariion0                                                                                  -
c2d15s2      ENABLED(A)  PRIMARY      c2d15s2      EMC_CLARiiON  emc_clariion0                                                                                  -
c2d16s2      ENABLED(A)  PRIMARY      c2d16s2      EMC_CLARiiON  emc_clariion0                                                                                  -
c2d17s2      ENABLED(A)  PRIMARY      c2d17s2      EMC_CLARiiON  emc_clariion0                                                                                  -
c2d18        ENABLED(A)  PRIMARY      c2d18        EMC_CLARiiON  emc_clariion0                                                                                  -
c2d1s2       ENABLED(A)  SECONDARY    c2d1s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d2s2       ENABLED(A)  SECONDARY    c2d2s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d3s2       ENABLED(A)  SECONDARY    c2d3s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d4s2       ENABLED(A)  SECONDARY    c2d4s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d5s2       ENABLED(A)  SECONDARY    c2d5s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d6s2       ENABLED(A)  SECONDARY    c2d6s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d7s2       ENABLED(A)  SECONDARY    c2d7s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d8s2       ENABLED(A)  SECONDARY    c2d8s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d9s2       ENABLED(A)  SECONDARY    c2d9s2       EMC_CLARiiON  emc_clariion0

# vxdmpadm -f disable  ctlr=c2

# vxdmpadm getsubpaths ctlr=c2
NAME         STATE[A]   PATH-TYPE[M] DMPNODENAME  ENCLR-TYPE   ENCLR-NAME   ATTRS
================================================================================
c2d0s2       DISABLED(M)  PRIMARY      c2d0s2       EMC_CLARiiON  emc_clariion0     -
c2d10s2      DISABLED(M)  PRIMARY      c2d10s2      EMC_CLARiiON  emc_clariion0     -
c2d11s2      DISABLED(M)  SECONDARY    c2d11s2      EMC_CLARiiON  emc_clariion0     -
c2d12s2      DISABLED(M)  PRIMARY      c2d12s2      EMC_CLARiiON  emc_clariion0     -
c2d13s2      DISABLED(M)  PRIMARY      c2d13s2      EMC_CLARiiON  emc_clariion0     -
c2d14s2      DISABLED(M)  PRIMARY      c2d14s2      EMC_CLARiiON  emc_clariion0     -
c2d15s2      DISABLED(M)  PRIMARY      c2d15s2      EMC_CLARiiON  emc_clariion0     -
c2d16s2      DISABLED(M)  PRIMARY      c2d16s2      EMC_CLARiiON  emc_clariion0     -
c2d17s2      DISABLED(M)  PRIMARY      c2d17s2      EMC_CLARiiON  emc_clariion0     -
c2d18        DISABLED(M)  PRIMARY      c2d18        EMC_CLARiiON  emc_clariion0     -
c2d1s2       DISABLED(M)  SECONDARY    c2d1s2       EMC_CLARiiON  emc_clariion0     -
c2d2s2       DISABLED(M)  SECONDARY    c2d2s2       EMC_CLARiiON  emc_clariion0     -
c2d3s2       DISABLED(M)  SECONDARY    c2d3s2       EMC_CLARiiON  emc_clariion0     -
c2d4s2       DISABLED(M)  SECONDARY    c2d4s2       EMC_CLARiiON  emc_clariion0     -
c2d5s2       DISABLED(M)  SECONDARY    c2d5s2       EMC_CLARiiON  emc_clariion0     -
c2d6s2       DISABLED(M)  SECONDARY    c2d6s2       EMC_CLARiiON  emc_clariion0     -
c2d7s2       DISABLED(M)  SECONDARY    c2d7s2       EMC_CLARiiON  emc_clariion0     -
c2d8s2       DISABLED(M)  SECONDARY    c2d8s2       EMC_CLARiiON  emc_clariion0     -
c2d9s2       DISABLED(M)  SECONDARY    c2d9s2       EMC_CLARiiON  emc_clariion0     -
# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c2d0s2       auto            -            -            error
c2d1s2       auto:cdsdisk    -            -            error
c2d2s2       auto:cdsdisk    -            -            error
c2d3s2       auto:cdsdisk    -            -            error
c2d4s2       auto:cdsdisk    -            -            error
c2d5s2       auto:cdsdisk    -            -            error
c2d6s2       auto:cdsdisk    -            -            error
c2d7s2       auto:cdsdisk    -            -            error
c2d8s2       auto:cdsdisk    ascs1        Z10ASCS      online shared lfailed
c2d9s2       auto:cdsdisk    ascs2        Z10ASCS      online shared lfailed
c2d10s2      auto:cdsdisk    -            -            error
c2d11s2      auto:cdsdisk    -            -            error
c2d12s2      auto:sliced     -            -            error
c2d13s2      auto:sliced     -            -            error
c2d14s2      auto:sliced     -            -            error
c2d15s2      auto:sliced     -            -            error
c2d16s2      auto:sliced     -            -            error
c2d17s2      auto            -            -            error
c2d18        auto            -            -            error

# vxdmpadm enable ctlr=c2
# vxdmpadm getsubpaths ctlr=c2
NAME         STATE[A]   PATH-TYPE[M] DMPNODENAME  ENCLR-TYPE   ENCLR-NAME   ATTRS
================================================================================
c2d0s2       ENABLED(A)  PRIMARY      c2d0s2       EMC_CLARiiON  emc_clariion0     -
c2d10s2      ENABLED(A)  PRIMARY      c2d10s2      EMC_CLARiiON  emc_clariion0     -
c2d11s2      ENABLED(A)  SECONDARY    c2d11s2      EMC_CLARiiON  emc_clariion0     -
c2d12s2      ENABLED(A)  PRIMARY      c2d12s2      EMC_CLARiiON  emc_clariion0     -
c2d13s2      ENABLED(A)  PRIMARY      c2d13s2      EMC_CLARiiON  emc_clariion0     -
c2d14s2      ENABLED(A)  PRIMARY      c2d14s2      EMC_CLARiiON  emc_clariion0     -
c2d15s2      ENABLED(A)  PRIMARY      c2d15s2      EMC_CLARiiON  emc_clariion0     -
c2d16s2      ENABLED(A)  PRIMARY      c2d16s2      EMC_CLARiiON  emc_clariion0     -
c2d17s2      ENABLED(A)  PRIMARY      c2d17s2      EMC_CLARiiON  emc_clariion0     -
c2d18        ENABLED(A)  PRIMARY      c2d18        EMC_CLARiiON  emc_clariion0     -
c2d1s2       ENABLED(A)  SECONDARY    c2d1s2       EMC_CLARiiON  emc_clariion0     -
c2d2s2       ENABLED(A)  SECONDARY    c2d2s2       EMC_CLARiiON  emc_clariion0     -
c2d3s2       ENABLED(A)  SECONDARY    c2d3s2       EMC_CLARiiON  emc_clariion0     -
c2d4s2       ENABLED(A)  SECONDARY    c2d4s2       EMC_CLARiiON  emc_clariion0     -
c2d5s2       ENABLED(A)  SECONDARY    c2d5s2       EMC_CLARiiON  emc_clariion0     -
c2d6s2       ENABLED(A)  SECONDARY    c2d6s2       EMC_CLARiiON  emc_clariion0     -
c2d7s2       ENABLED(A)  SECONDARY    c2d7s2       EMC_CLARiiON  emc_clariion0     -
c2d8s2       ENABLED(A)  SECONDARY    c2d8s2       EMC_CLARiiON  emc_clariion0     -
c2d9s2       ENABLED(A)  SECONDARY    c2d9s2       EMC_CLARiiON  emc_clariion0     -
# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c2d0s2       auto            -            -            error
c2d1s2       auto:cdsdisk    -            -            error
c2d2s2       auto:cdsdisk    -            -            error
c2d3s2       auto:cdsdisk    -            -            error
c2d4s2       auto:cdsdisk    -            -            error
c2d5s2       auto:cdsdisk    -            -            error
c2d6s2       auto:cdsdisk    -            -            error
c2d7s2       auto:cdsdisk    -            -            error
c2d8s2       auto:cdsdisk    ascs1        Z10ASCS      online shared lfailed
c2d9s2       auto:cdsdisk    ascs2        Z10ASCS      online shared lfailed
c2d10s2      auto:cdsdisk    -            -            error
c2d11s2      auto:cdsdisk    -            -            error
c2d12s2      auto:sliced     -            -            error
c2d13s2      auto:sliced     -            -            error
c2d14s2      auto:sliced     -            -            error
c2d15s2      auto:sliced     -            -            error
c2d16s2      auto:sliced     -            -            error
c2d17s2      auto            -            -            error
c2d18        auto            -            -            error
# vxdctl disable
# vxdctl enable
# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c2d0s2       auto:ZFS        -            -            ZFS
c2d1s2       auto:cdsdisk    -            -            online
c2d2s2       auto:cdsdisk    -            -            online
c2d3s2       auto:cdsdisk    -            -            online
c2d4s2       auto:cdsdisk    -            -            online
c2d5s2       auto:cdsdisk    -            -            online
c2d6s2       auto:cdsdisk    -            -            online
c2d7s2       auto:cdsdisk    -            -            online
c2d8s2       auto:cdsdisk    ascs1        Z10ASCS      online shared
c2d9s2       auto:cdsdisk    ascs2        Z10ASCS      online shared
c2d10s2      auto:cdsdisk    -            -            online
c2d11s2      auto:cdsdisk    -            -            online
c2d12s2      auto:sliced     -            -            online
c2d13s2      auto:sliced     -            -            online
c2d14s2      auto:sliced     -            -            online
c2d15s2      auto:sliced     -            -            online
c2d16s2      auto:sliced     -            -            online
c2d17s2      auto:none       -            -            online invalid
c2d18        auto:ZFS        -            -            ZFS


# ldm remove-vdisk lun17 Z10DB

for single disk
# vxdmpadm exclude path=c2d17s2
# ldm remove-vdisk lun17 Z10DB
====================================

20) in control domain all storage luns are under control of powerpath
   after reboot the saved configuation clears?

   in dmesg it shows mpxio is enable at boot time
   but if u execute smboot -L it shows that it MPXIO is disable
   so we go to /kernel/drv dir
   check all files which have mpxio_disable option
   if is there just put mpxio_disable=yes in all files
   now after reboot also all saved configurations are exists.

21)how to install LDOMs after upgrade OS???
we manually remove ldmos & and try to install same it does not installed and shows followin msg
No updates necessary for this image.
sol:- there may be posibulity to currupt image.

22)after installing powerpath on guest domain FORMAT command takes long time to give result . WHY ????????
after remove installed powerpath it gives immediately why ????????
sol:- i asked Oracle team they told there is bug in EMCpower ? is it really ??

23)if i assign disk to guest domain why disk not visible in C#t#d#s# format?? why only in c#d#s# format ???

24)if i assign single disk to 2 different guest domains why it will allocate different disk numbers ??
ex: Guest1: c1d1
    Guest2: c1d2






    

CFS:-
1.in cfsservice group  there is no switch sg option only online/offline options
2.in cfs share can be from all nodes in the cluster.
3.it is not possible by using cfsnfs to mount all nodes share from single node (if u configure nfs sg with IP then it is possible not in fs)
4.cfs base metadata file system is not allowed to share.
5.if u want share create new volume,mkfs,share

6)while converting sun cluster devices to vcs devices?
->it does not allow to configure under contor of vxvm
-> cover to EFI--> SMI
-->now setup successfull
-->unsetup fail
-> remove old scsi3 reservations-->
1) Determine what DID device the lun is mapped to using /usr/cluster/bin/scdidadm -L
2) Disable failfast on the DID device using /usr/cluster/lib/sc/scsi -c disfailfast -d /dev/did/rdsk/DID
3) Release the DID device using  /usr/cluster/lib/sc/scsi -c release -d /dev/did/rdsk/DID
4) Scrub the reserve keys from the DID device using  /usr/cluster/lib/sc/scsi -c scrub -d /dev/did/rdsk/DID
5) Confirm reserve keys are removed using /usr/cluster/lib/sc/scsi -c inkeys -d /dev/did/rdsk/DID
6) Remove lun from zone on machine or whatever procedure you were trying to complete.
-->now setup & unsetup successfull
===
vcs&cfs&cvm
=====
install 6.0.1 dont configure
install 6.0.3 configure
==dont delete default service groups.
to post cofigre vcs please execute following scripts
/opt/VRTS/install/installsfcfsha601 -configure

2)SAP agents for VCS6.0.3 not released for solaris ??? we are expecting they r releasing on OCt??


No comments:

Post a Comment