naren23-3_uew

updated

19 years ago

N3

naren23-3_uew

2 Intern

•

220 Posts

0

820

September 17th, 2007 13:00

Lun Mapped to Host

Hi,

If I do

symmaskdb -sid 000187431365 list database , I am getting the following output(part of the output)

Database Type : Type4
Last updated at : 10:06:46 AM on Mon Feb 19,2007

Director Identification : FA-3A
Director Port : 0

User-generated
Identifier Type Node Name Port Name Devices
---------------- ----- --------------------------------- ---------
50060b00001da656 Fibre da1222 c0s3p2 00C3
00CB
00D3
00DB

........
........

If i execute symcfg -sid 000187431365 list -connections -capacity . The follwing is the output

Host Symmetrix Capacity (GB)
------------ -------------------------- -----------------------------------
Node Name ID Director Port Mapped STDs Mapped BCVs Paired BCVs
------------ ------------ -------- ---- ----------- ----------- -----------

HK187431365 000187431365 DF-1A 0 0.0 0.0 0.0
----------- ----------- -----------
HK187431365 totals: 0.0 0.0 0.0

NUSSAEMCMGT0 000187431365 FA-14D 1 0.1 0.0 0.0
----------- ----------- -----------
NUSSAEMCMGT0 totals: 0.1 0.0 0.0


My doubt is , I am not seeing da1222 host name while executing symcfg -sid 000187431365 list -connections -capacity. da1222 Host has some lun allocated to that(i.e you see it on the symmaskdb list database output). It is missing in symcfg -sid 000187431365 list -connections -capacity command.

Please let me know if you need any info.

Any help much appreciated.
  • xe2sdc

    6 Operator

    •

    2831 Posts

    433

    0

    Posted September 18th, 2007 00:00

    Sometime the "symcfg -connections" command is believed to be the cure for every pain .. but as you wrote, it will report ONLY the hosts with installed an application that uses symapi (Solution Enabler in 99% of cases ;-) )

    We have to assume that some of the hosts Naren is managing don't have S.E. installed but can see some device in the box (as the symmaskdb command told us) :-)

    -s-
  • vtarmo

    4 Posts

    433

    0

    Posted September 18th, 2007 00:00

    Hi,
    The symmaskdb command does show contents of device masking database (VCMDB). The symcfg -connections list does show all the hosts that are connected to symmetrix and has SYMAPI software installed.

    BR,
    Tarmo Katmuk
  • naren23-3_uew

    2 Intern

    •

    220 Posts

    433

    0

    Posted September 18th, 2007 10:00

    Thanks a lot for your quick response. I will try it out and get back to you if i have any issues or queries.
  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    433

    1

    Posted September 18th, 2007 10:00

    you can either load SE on each host or first you name your WWN in VCMDB database ..and then use "symmaskdb list capacity -host OracleBox -sid XXX" command.
  • naren23-3_uew

    2 Intern

    •

    220 Posts

    433

    0

    Posted September 18th, 2007 10:00

    I just need a CLI which will tell me the capacity allocated to particular host which doesn't have S.E installed.

    Only solution which i am seeing now is to do symmaskdb list database where i can get all the symdevices allocated to the hosts connected to and get the corresponding capacities of that symdevice to calculate how much capacity allocated to the host which doesn't have SE.

    Please let me know if i am wrong
  • naren23-3_uew

    2 Intern

    •

    220 Posts

    433

    0

    Posted September 18th, 2007 10:00

    Hi Stefano,

    Thank you very much for your reply. From your response i can understand that the host which doesn't have S.E installed will not be seen by symcfg -list -connections -capacity.

    So can you please tell is there is any CLI which tells how much capacity allocated to the host which doesn't have S.E installed.

    Regards
    Naren
  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    433

    0

    Posted September 18th, 2007 10:00

    if you manually assign host a name using "symmaskdb -sid XXX -wwn 22000005e600b59b rename OracleBox/hba1

    then you could query based on these names.
  • xe2sdc

    6 Operator

    •

    2831 Posts

    433

    0

    Posted September 19th, 2007 00:00

    Naren .. I simply translated what someone else wrote before me ... I think you have to thanks also someone else ;-)

    Just to summarize .. the only way I know of knowing how much disk is allocated to an host is to use symmaskdb and symdev to get the list and the size of the volumes assigned to a given WWN .. You can also rename the wwn as Dynamox said .. both are valid choices :-)

    I know it's not a command line .. but ECC gives you exactly what you are asking for :-)

    Message was edited by:
    Stefano Del Corno
  • naren23-3_uew

    2 Intern

    •

    220 Posts

    433

    0

    Posted September 19th, 2007 10:00

    Thanks a lot to Stefano & dynamox. You both people are awesome and making this forum very interesting and lively.

    I am working on your choice you gave me.That is comparing symmaskdb and symdev to get the list and the size of the volumes assigned to a given WWN.

    I also thank to the one who gave this idea.

    Thanks
    Naren