Unsolved

This post is more than 5 years old

46 Posts

3978

August 8th, 2007 06:00

Navisphere Host Agent For Linux

Dear All,

i would like to ask you for your help ;)

i have hp server with linux, it is connected to my SAN, on the Navishere Manager side it shows me that host as unmanaged host ( unreachable host agent )

now from the server side i am confused. i try to check naviagent with : rpm -qi naviagent .

it says that naviagent package is not installed.

now i am not sure if it isinstalled or not cuz when i am trying to stop and start the agent it works.

i have read EMC Navisphere host agent v6.x for linux but some commands does'nt work with me.

others shows no result.

i have no idea about what is really the problem.

also i would like to be sure from the name of the file of the naviagent host that i have to run it from the cd, and this is important for me.

please help me in this issue since it came suddenly .

9 Legend

 • 

20.4K Posts

August 8th, 2007 10:00

can you run rpm -qa|grep -i navi

46 Posts

August 9th, 2007 02:00

i run it but with no result appear.

BR
Osama

9 Legend

 • 

20.4K Posts

August 9th, 2007 03:00

does not seem like rpm got installed correctly ...try installing it again. If rpm -ivh naviagent.rpm does not work ...try rpm -Uvh naviagent.rpm

9 Legend

 • 

20.4K Posts

August 9th, 2007 05:00

naviagentcli.noarch.rpm <- this is the one. cp the file to your home directory ..make sure you are root and run:

rpm -ivh naviagentcli.noarch.rpm

46 Posts

August 9th, 2007 05:00

dear dynamox,

thanx for help, i have tried these commands and i got this message :

"error: open of naviagent.rpm failed: No such file or directory"

i rally don't know what is the file name that should i run

i have on the CD the linux directory and i have these files in it :

admsnap.i386.rpm naviagentcli.noarch.rpm naviserverutilcli
admsnap.ia64.rpm navicli.noarch.rpm naviserverutil.noarch.rpm
admsnap_suse.ia64.rpm naviinittoolcli
admsnap.x86_64.rpm naviinittool.noarch.rpm

so what do u think ??

there is no naviagent.rpm on the whole CD. ( EMC Navisphere Host Agent )

so is there another CD i have to bring, or where can i find the naviagent.rpm to rn it on my server.


please advise

thanx a lot again

BR
Osama

46 Posts

August 14th, 2007 04:00

dear dynamox,

thanks for your help, i have re-installed it. it seems to be ok from the host side cuz i noticed that it stopped giving error logs, but still appear as unmanaged from the storage side. i don't know what i have to do now, the physical connection is fine but still the problem exists.

BR
Osama

9 Legend

 • 

20.4K Posts

August 14th, 2007 06:00

this is a section from Clariion Proc generator, see if it helps ..sorry for formatting:

If you have a multihomed host (multiple NIC cards installed on the host), create an agentID.txt file to ensure that the agent finds the correct NIC card as follows:
 
NOTE:  A multihomed host machine has multiple IP addresses connected to networks; it is physically connected to multiple data links that can be on the same or different networks. 
When you install Navisphere Host Agent on a multihomed host, the host agent, by default, binds to the first NIC in the host.
 If your host is multihomed, for the host agent to successfully register with the desired CLARiiON storage system, you need to configure the host agent to bind to a specificNIC. You do this by setting up an agentID.txt file.
 
a. Using a text editor that does not add special formatting, create or edit a file named agentID.txt (case sensitive) in either / (root) or in a directory of your choice. 
 
b. Add the following two separate lines to the agentID.txt file, with no special formatting:
 
First line: Fullyqualified hostname of the host
Second line: IP address of the HBA/NIC port that you want Navisphere agent to use
 
For example, if your host is named host28 on the domain mydomain.com and your host contains two HBAs/NICs, HBA1/NIC1 with
 IP address 192.111.222.2 and HBA2/NIC2 with 
IP address 192.111.222.3, and you want the host agent to use NIC 2, you would configure agentID.txt as follows:
 
host28.mydomain.com
192.111.222.3
 
NOTE: The agentID.txt file should only contain these two lines, without any formatting. The first line should contain the hostname and the second line should contain the 
IP address of the HBA/NIC port as described above.  
Both lines should end with a carriage return. As a result, the cursor will be on a third line but this line should not contain any text.
 
c. Save the agentID.txt file.
 
d. If you created the agentID.txt file in a directory other than root, for host agent to restart after a system reboot using the correct path to the agentID.txt file, 
set the environment variable EV_AGENTID_DIRECTORY to point to the directory where you created agentID.txt.  
 
e. If a HostIdFile.txt file is present in the directory shown for your operating system, delete or rename it. The HostIdFile.txt file is located in /etc/log/HostIdFile.txt.
 
f. Stop and then restart the host agent.
 
g. Once the host agent has restarted, verify that host agent is using the
IP address that is entered in the agentID.txt file. To do this, view the new HostIdFile.txt file. You should see the IP address that is entered 
in the agentID.txt file.
 
Modify user login scripts:
 
NOTE:  To use navicli commands at the root prompt without typing a leading ./ before the commands (for example, ./navicli getagent), you must modify the $PATH environment variable in the user login script as follows:
 
a. Add /opt/Navisphere/bin to $PATH:
 
PATH=$PATH:/opt/Navisphere/bin export PATH
 
NOTE:  To verify the path enter echo $PATH
 
b. Set the environment variable $PATH for all login sessions:
 
¿ For the user profile, edit $HOME/.bash_profile
 
¿ For the user startup script, edit $HOME/.bashrc
Start the Host Agent:
 
¿ If you are upgrading the Host Agent or CLI on an existing system, you are finished with the upgrade.
 
¿ If you are setting up a new server, enter the following command from the root account:
 
/etc/init.d/naviagent start
 
NOTE:  When you first start the Host Agent, look at the system log for the host¿s operating system to make sure the Host Agent started and no device errors occurred.  The system log is located in /var/log/messages.

9 Legend

 • 

20.4K Posts

August 14th, 2007 06:00

do you have multiple NICs in this system ?

46 Posts

August 14th, 2007 06:00

yes, i have 3 NIC's on the host but only one of them is connected. why ?

is this affecting my environment somehow ??

BR
Osama

46 Posts

August 15th, 2007 01:00

thanx dynamox,

i would like to explain more details for you.

we were having two mail servers one at the main site and the other at the DR site, for some reason the mail server at the main site is totaly down and we were not able to use it at mean while, so we brought the mail server from the DR site and put it in the main site, and from this point the problem appeared.

the server is connected to the same NIC and never connected to more than one NIC.and the only thing we did that we changed the ip address for the server.

so what do u think about this ??

please help me in this annoying issue.

;)

BR
Osama

Message was edited by:
osama khreisha

9 Legend

 • 

20.4K Posts

August 15th, 2007 03:00

so the server you brought from DR side never had NaviAgent installed on it ? Can you try stopping Naviagent (/etc/init.d/naviagent stop), rename HostIdFile.txt in /etc/log to something like HostIdFile.original ...and then restart NaviAgent (/etc/init.d/naviagent start). Make sure you see correct ip in /root/agentID.txt

Go into Navisphere, right click on the array and select "Update Now"

9 Legend

 • 

20.4K Posts

August 16th, 2007 03:00

when you start the agent, do you see anything suspicious in /var/log/messages. Other then the host showing up Unmanaged under "Hosts" tab in Navisphere, is everything else working ok? Did you manually register it in Connectivity status so you could put it in a storage group? Are there any firewall between the host and SPA/SPB network interfaces? Have you tried to restart management server on storage processor ?

46 Posts

August 16th, 2007 03:00

Dear dynamox,

I really appreciate your help, the HostIdFile.txt was giving the wrong IP address but after i followed the steps, now the HostIdFile.txt is giving the right IP address.

but unfortunatlly, after i did the sorage update nothing happened so far, i don't know if it takes time or not, also i tried to make host update for the unmanaged host but it gives me an error message.

i am not sure if i have to do something else !!!

any way if you can keep helping me i will be greatfull for you and all who helps me.

BR
Osama

;)

46 Posts

August 27th, 2007 09:00

dear dynamox,

i would like to ask you a question.

if the power went down for some reason, and you know this means that the storage is rebooted, in this case i would like to know if the information on the SP persistant memory is discarded or not.

is this the same as if i disable the write cache on the storage and then reboot it from cli ??

9 Legend

 • 

20.4K Posts

August 27th, 2007 10:00

should not be discarded ..it should be saved on the database disks.

0 events found

No Events found!

Top