EMC IONIX

EMC IONIX Tutorials.

Update user defined fields easy event enrichment in SMARTS

I wanted to be able to update a field in SMARTS that would show point of contact information for a given device.  Here’s how I did it.

First, create a matrix of information.  This can be as simple as two columns, device names and contacts.

Device 1, Team1 (555) 555-5555

Device 2, Team1 (555) 555-5556

Device 3, Team1 (555) 555-5557

Then create a script to access this information and use the following command to update SMARTS.

Missing User Profile Instance in IONIX

This may be helpful if you logged in and received the following message.

Cannot find instance ‘ICS_UserProfile::ICS-PROFILE-default-profile’

Quick and Dirty:

This means that somewhere along the way a user profile has been removed that is associated with the account that is being used to login with.  This can also mean that the repository has been corrupted.  To fix this, go to <SAM Home>/local/repos/icf and restore the last .rps file.

Bulk Device Removal in SMARTS\IONIX

So one of your data centers closed and moved across the country. This made all the names and IPs change. Now you have a bunch of down devices that will never come back up. Here is how to remove multiple devices from EMC IONIX.

For this example we will assume you already have a list of devices to remove. To find out how to pull a list of non-responsive devices from the Pending List for go here export-pending-list.

To remove the devices use the following command:

Export Pending List from EMC IONIX

You have a list of new devices sitting in the queue to discover that never seems to change. Why not? Are the devices configured correctly? Did SMARTS\IONIX have problems during discovery?

Here is how to export the device list along with various other information to troubleshoot discovery problems or tell sys admins which devices they need to fix.

"<InCharge Home>/IP/smarts/bin/dmctl -s <DOMAIN_NAME> invoke AD_Pending::AD-Pending getPending"

Help! I need to roll my EMC IONIX Audit Files!

Have you run into problems with large .audit files in EMC SMARTS or IONIX?

For just the .audit log files, you can run the following command or schedule it to run at a specified interval. This would be run for each instance, including IP, NPM, and ICOI.

"<InCharge Home>/<Component>/smarts/bin/dmctl -s <DOMAIN> exec roll_sam_auditlog"

Linux:
Typical SAM install in /opt/Incharge with a DOMAIN named INCHARGE-SAM the command would be:
"/opt/InCharge/SAM/smarts/bin/dmctl -s INCHARGE-SAM exec roll_sam_auditlog"

EMC IONIX \ SMARTS Seed files from discovered devices

At some point you will need to dump all the discovered devices from IP. This can be useful during mass changes, upgrades, and moves. Dumping the seed file can be accomplished with the following command.

<IP_HOME>\smarts\bin\sm_tpmgr -s <IP_Server> --dump-agents > seedfile.txt

Hint: to create a template, discover one of each type of device which you will be discovering, run the above command, and you have a template seed file that can be used to do mass imports.

EMC IONIX \ SMARTS Seed Files

Seed files are great in a large networked environment.  Data can easily be manipulated in a spreadsheet to import.

SNMP v1 or v2c files

With a simple v1 or v2c SNMP discovery, simply list the names in a single column in a text file.

Device1
Device2
Device3

SNMP v3 seed files

For SNMP v3 discovery, you will have to create several fields in the seed file.
This can be accomplished in a text editor or excel\calc.  Each value is tab delimited with each device on a separate line.