puppan

updated

17 years ago

P

puppan

1 Rookie

•

36 Posts

1

2601

November 9th, 2009 16:00

How do we create a perl script for mapping and masking?

Hi,

can anybody please help me in this?
I need a perl script for mapping and masking?
Please somebody provide the existing script?

I really appreciate in advance
thanks much

puppan
  • 1332

    0

    Posted November 18th, 2009 05:00

    I don't know if this helps, but thought of sharing it with you guys ..

    I don't have an exactly a script but an excel sheet with some macros.. which might be helpful to you. But this needs the information to be fed and it picks them and creates the commands regarding the meta creation and mapping with the FA's. It also can get you the commands for SRDF conversion if you put the R2 device details.

    Let me know if you wana have look at it, will send you the same.

  • AJK3

    2 Intern

    •

    108 Posts

    1332

    0

    Posted November 10th, 2009 01:00

    Puppan,

    I can help out with some customized shell scripts, but are a little dependent on environment. What are you requirements in terms?

    In-terms of inputs etc.


    Thanks
  • puppan

    1 Rookie

    •

    36 Posts

    1332

    0

    Posted November 10th, 2009 06:00

    Hi Ajay..

    thanks for the reply.. actually
    1) i want to know how many devices are available ie which are not mapped to the FA ports...
    2) like to find R1 devices
    3) i want to map the devices to the FA ports---mapping
    4) i want to do mask the devices to the hosts.---masking

    Please help me in this..

    Thank you
  • KD8EWE

    2 Intern

    •

    155 Posts

    1332

    0

    Posted November 17th, 2009 08:00

    What Operating system you are using?? Unix (Sun, HP, AIX etc) or windows??
  • AJK3

    2 Intern

    •

    108 Posts

    1332

    0

    Posted November 18th, 2009 05:00

    Probably the requirements are pretty straight forward and I will be able to able to help you out. I will create a script and send it over to you? Do you have multiple DMX attached on your SYMCLI host or only 1?

    Thanks

  • AJK3

    2 Intern

    •

    108 Posts

    1007

    0

    Posted November 18th, 2009 05:00

    And also what is th operation system where you have SYMCLI. Shell script will work only Unix or Linux hosts.

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    1007

    0

    Posted November 18th, 2009 17:00

    they will work in cygwin on Windows too.
  • AJK3

    2 Intern

    •

    108 Posts

    1007

    0

    Posted November 19th, 2009 01:00

    Yes dynamox, they do work. But I had seen some limitation with cygwin as well.

    Probably the feature that I remember is the abscence of vi editor.

    Have you configured a single cygwin instance to interact with various symcli hosts? I think there is a profile file that need to be changed. If so, Can you please share with me the process?

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    1007

    0

    Posted November 19th, 2009 04:00

    when you select what packages to download, you can select vim which will install vi in cygwin. Not sure what you mean by profiles. Once i install cygwin on a windows machine you can run any symcli commands just like you do from regular windows command prompt but you have this powerful shell to your disposal, just make sure to install awk, grep, sed and all the other goodies. If you need to schedule a bash script to run from Windows scheduler you create a batch file that contains something like this:

    c:/cygwin/bin/bash --login c:/cygwin/home/dynamox/scripts/check_faults.sh

  • puppan

    1 Rookie

    •

    36 Posts

    821

    0

    Posted November 20th, 2009 05:00

    Hi

    Could you please send me those scripts.. we have the unix hosts...

    Your help is much appreicated,

    Thanks