How to setup symavoid file for Symmentrix

Possible errors: ERROR [em.bp.DEPLOY] (EJB default - 1) DeployService.waitForDeployed:Failed to detect E:\Program Files\EMC\SMAS\jboss\standalone\deployments\domain-symm.ear.deployed

Resolution:
For Windows:
1. open cmd prompt, run the below cmd
cd \program files\emc\symapi\config\

note: most folks will install symapi on d: or other directories, in that case make sure cmd.exe is directed in the right director, or else you will get below error message.

C:\>cd \program files\emc\symapi\config\
The system cannot find the path specified.
what yo do now (search the root director where symapi is installed)
C:\>d:
D:\Program Files\EMC\SYMAPI\config>

2. Run the below cmd to create symavoid file, if its allready exists, notepad will be opened, or else prompt will appear requesting to create new file.
D:\Program Files\EMC\SYMAPI\config>notepad symavoid

3. Now Enter the array serial number that you would like to avoid by the local host to discover.
If you like to know the current view able arrays, run the below cmd
>>symcfg list.
note: For multiple arrays, put each serial on its own line. Like below
Example:
000190101186
000192601175
000192601103
000195701130

4. Save (as normal file, not .txt) and close.
Note: this is really important to make sure saved file is not saved in text format(.txt), File type should show File
//run the below cmd to remove the entries from the records.
symcfg remove -sid 1186
//run the below cmd to make sure symavoid Array's are not listing back again.
symcfg discover

Comment if you face any trouble in doing this:
My Log for your reference:
D:\Program Files\EMC\SYMAPI\config>symcfg list
                                S Y M M E T R I X
                                       Mcode    Cache      Num Phys  Num Symm
    SymmID       Attachment  Model     Version  Size (MB)  Devices   Devices
    000190101127 Local       DMX4-24   5773      196608        13      4470
    000192601142 Local       VMAX-1    5876      240640        13     10245
    000190101186 Remote      DMX4-24   5773      221184         0      5814
    000192601175 Remote      VMAX-1    5876      240640         0      3005
    000192601103 Remote      VMAX20K   5876      360960         0     10508
    000195701130 Remote      VMAX40K   5876      999424         0     21478
D:\Program Files\EMC\SYMAPI\config>cd:
The filename, directory name, or volume label syntax is incorrect.

D:\Program Files\EMC\SYMAPI\config>c:

C:\>cd \program files\emc\symapi\config\
The system cannot find the path specified.

C:\>d:

D:\Program Files\EMC\SYMAPI\config>notepad symavoid

D:\Program Files\EMC\SYMAPI\config>symcfg remove -sid 000192601175

Remove Symmetrix unit 000192601175 from the host config. file (y/[n]) ? y
Symmetrix unit 000192601175 has been removed from the host config. file.

D:\Program Files\EMC\SYMAPI\config>symcfg remove -sid 000192601103
Remove Symmetrix unit 000192601103 from the host config. file (y/[n]) ? y
Symmetrix unit 000192601103 has been removed from the host config. file.

D:\Program Files\EMC\SYMAPI\config>symcfg remove -sid 000190101186
Remove Symmetrix unit 000190101186 from the host config. file (y/[n]) ? y
Symmetrix unit 000190101186 has been removed from the host config. file.

D:\Program Files\EMC\SYMAPI\config>symcfg remove -sid 000195702830
Remove Symmetrix unit 000195701130 from the host config. file (y/[n]) ? y
Symmetrix unit 000195701130 has been removed from the host config. file.

D:\Program Files\EMC\SYMAPI\config>symcfg list
                                S Y M M E T R I X
                                       Mcode    Cache      Num Phys  Num Symm
    SymmID       Attachment  Model     Version  Size (MB)  Devices   Devices
    000190101127 Local       DMX4-24   5773      196608        13      4470
    000192601142 Local       VMAX-1    5876      240640        13     10245

D:\Program Files\EMC\SYMAPI\config>symcfg discover
This operation may take up to a few minutes. Please be patient...
D:\Program Files\EMC\SYMAPI\config>symcfg list

                                S Y M M E T R I X
                                       Mcode    Cache      Num Phys  Num Symm
    SymmID       Attachment  Model     Version  Size (MB)  Devices   Devices
    000190101127 Local       DMX4-24   5773      196608        13      4470
    000192601142 Local       VMAX-1    5876      240640        13     10245

For Linux/ Unix:
cd /var/symapi/config/
vi symavoid
Enter the Symmetrix serial number as you would see it from a symcfg list. Example: 000184502410. For multiple Symmetrix arrays, put each serial on its own line.
Save and close.
symcfg remove -sid 2410
symcfg discover
symcfg list (verify array is gone from list)


No comments:

Post a Comment