Exporting Host or Storage Port Mapping
Use the Export_port_Mapping script to extract host port and storage port mapping to a CSV file. You can then import this mapping into SANnav Management Portal.
1. Copy the Export_port_mapping zip file in the Network_Advisor_Home directory.
Contact your vendor to obtain the batch script file.
2. Extract the Export_port_mapping zip file in the Network_Advisor_Home directory.
Make sure that the Export_port_Mapping.sh file is present inside Network_Advisor_Home\bin. If the Export_port_Mapping.sh file is not in the Network_Advisor_Home\bin directory, then move it there manually after extracting the zip file.
3. Open a command prompt and navigate to the Network_Advisor_Home\bin directory.
4. Type the following command and press Enter.
Export_port_Mapping dbusername dbpassword absolutefilepath
The absolutefilepath denotes the file location in which to export the generated CSV file, and must include a file name with a .csv extension. The file path should be an absolute path, not a relative path.
Make sure that you have full read and write permissions to the absolutefilepath directory; otherwise, the script cannot export the data to the required file.
The script exports the storage and host port mapping to the designated CSV file, which contains port WWN, port FC address, Host/Storage name, and port type. A log file is created in Network_Advisor_Home/logs/Export_port_Mapping.log.
Parent topic