Unsolved

This post is more than 5 years old

21 Posts

55917

April 7th, 2011 17:00

Installing OMSA Agent

Hello,

I am trying to install the OMSA Agent on XenServer 5.6.

I'm not familiar with Linux CLI.

I have burned the ISO

I have been able to mount the ISO OK.

I can see the contents of the directory mnt.

The install command does not work. I can see an entry named install.sh

What to do next?

Thanks

VW

21 Posts

April 7th, 2011 17:00

I have figured this out.

Instruction to install should be:
./install.sh

21 Posts

April 7th, 2011 18:00

OK so now I have another problem.

The agent was installing, and then the process seem to stop, or at least the activity of the screen stopped. I assume that some process was running in the background.

Anyway all of a sudden I am returned from the shell to XenServer console.

I open the shell, but I am on a new session, not the one where the agent was installing.

Is the other shell still running, and if so, how do I connect to it?

Or has the Agent installation completed, if so, how can I check the status?

Thanks

VW

17 Posts

April 8th, 2011 02:00

Hi,
Forget about the ISO based install, and follow this link. The only requirement would be to have internet access from this server to http://linux.dell.com. If you have a proxy server, the either set the proxy variable for the entire system or only for yum(system updater tool comes along with Xenserver) and wget (command line browser) like this,

1. # echo "proxy=http://xxx.xxx.xxx.xxx:abcd" >> /etc/yum.conf
2. # echo "http_proxy=http://xxx.xxx.xxx.xxx:abcd" >> /etc/wgetrc

Then follow the guide from here, http://linux.dell.com/repo/hardware/latest/

finally run

# cd /opt/dell/srvadmin/etc
# sh autoconf_cim_component.sh
# srvadmin-services start

http://servername:1311 (OMSA access page)

Just add an entry to /etc/sysconfig/iptables like
"-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 1311 -j ACCEPT" after this line
"-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT"
and restart iptables by

/etc/init.d/iptables restart.

You are go to go.

dont worry about previous installation you started. If you are still in doubt then clean (remove) the OMSA install by

# yum erase $(rpm -qa | grep srvadmin)
then reboot the system and start the new yum based install mentioned above.

Naga

17 Posts

April 8th, 2011 02:00

Hi,
Forget about the ISO based install, and follow this link. The only requirement would be to have internet access from this server to http://linux.dell.com. If you have a proxy server, the either set the proxy variable for the entire system or only for yum(system updater tool comes along with Xenserver) and wget (command line browser) like this,

1. # echo "proxy=http://xxx.xxx.xxx.xxx:abcd" >> /etc/yum.conf
2. # echo "http_proxy=http://xxx.xxx.xxx.xxx:abcd" >> /etc/wgetrc

Then follow the guide from here, http://linux.dell.com/repo/hardware/latest/

finally run

# cd /opt/dell/srvadmin/etc
# sh autoconf_cim_component.sh
# srvadmin-services start

http://servername:1311 (OMSA access page)

Just add an entry to /etc/sysconfig/iptables like
"-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 1311 -j ACCEPT" after this line
"-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT"
and restart iptables by

/etc/init.d/iptables restart.

You are go to go.

dont worry about previous installation you started. If you are still in doubt then clean (remove) the OMSA install by

# yum erase $(rpm -qa | grep srvadmin)
then reboot the system and start the new yum based install mentioned above.

Naga

21 Posts

April 8th, 2011 03:00

@Naga

Firstly, thanks for responding!

I have installed the ISO now.

I was hoping to be able to monitor the XenServer host from a Windows server with Server Administrator installed, although at the moment I haven't figured out how to do this.

Given my goal, do I need to do all of the above?

It seems redundant to me to download the installation again, unless it is a different package. Are you able to explain the differences between the ISO package and the yum repository?

Cheers

VW

21 Posts

April 8th, 2011 04:00

@Naga,

Since I have installed OMSA, I have tried to connect to http://server_ip:1311 and https://server_ip:1311 and no Web page loads.

I tried the following commands from your earlier post:

# cd /opt/dell/srvadmin/etc
# sh autoconf_cim_component.sh
# srvadmin-services start

The first two were OK, but the third resulted in

bash: srvadmin-services: command not found

Can you offer any suggestions?

Thanks

VW

17 Posts

April 8th, 2011 04:00

"@Naga

Firstly, thanks for responding!

I have installed the ISO now.

I was hoping to be able to monitor the XenServer host from a Windows server with Server Administrator installed, although at the moment I haven't figured out how to do this.

Given my goal, do I need to do all of the above?

It seems redundant to me to download the installation again, unless it is a different package. Are you able to explain the differences between the ISO package and the yum repository?

Cheers

VW

"
No if you have installed the ISO version then its fine. The difference between the ISO and YUM is.

With CD ISO, everytime there is an update you need to burn a CD with the ISO physically present it to the server or mount as an ISo and install / update from there...

with yum just typing "yum update srvadmin-all" with do the magic.

To monitor Citrix xenserver from Windows you would need DELL IT Assistant not dell openmanage server administrator.

Please follow the link for full instructions.

http://support.euro.dell.com/support/edocs/software/citrix/en/solutionsguide/5_6/HTML/solutioi.htm#wp1181335

17 Posts

April 8th, 2011 05:00

First try logging out and logging in, the

# srvadmin-services start.

else try this
/opt/dell/srvadmin/sbin/srvadmin-services.sh start.

or simply reboot your system. Try telnetting on to server_ip 1311 to see if you are able to connect to the port.

from the xenserver try netstat -nl |grep 1311 and see if you get some thing like this

tcp 0 0 0.0.0.0:1311 0.0.0.0:* LISTEN

Naga

21 Posts

April 8th, 2011 15:00

Rebooting the server resolved the issue.

Server Admin looks exactly the same as the Windows version. Cool.

I notice that with SNMP you don't get alerts for storage system failures, so rather than using IT Assistant I will configure the alerts in Server Admin as per usual. In Windows I created a small command line application which I could use with the 'Execute application' option to send an e-mail if a failure occurred. I'm going to need to do something similar here. Can you offer any suggestions?

Thanks a bunch, you have been very helpful.

I will be setting up two more XenServers in the next month and I will try the yum approach with them.

VW

17 Posts

April 11th, 2011 01:00

I use IT Assistant to gather info and by using setting trap destinations. If you have the windows application to send you alert post it here, I will modify it to work with linux if required,

events found

No Events found!

Top