Next we have to fix the Centos repo that is in XenServer. Use your favorite editor, like vi or nano, and edit the file /etc/yum.repos.d/CentOS-Base.repo. You will need Comment out (add a # in front of) the mirrorlist line in the [base] section. Then add the following line after the line you just commented:
You have to do this or the mirrorlist will not be able to find the appropriate mirror since this is really a XenServer and not a Centos 7 server. Without this you will see an error when you try to use the repo. I use kernel.org. You can use whichever Centos mirror you prefer. Also, the latest 7.2.1511 release worked fine for me.
Next you use this command to get Openmanage installed enabling the repo you just modified to get the dependencies.
yum --enablerepo=base install srvadmin-all
You will have to say yes install the list and yes to allow the import of the Centos key.
Next use an editor again to edit /etc/sysconfig/iptables.
Add the following line after the line that has ESTABLISHED,RELATED in it:
-A RH-Firewall-1-INPUT -m conntrack --ctstate NEW -m tcp -p tcp --dport 1311 -j ACCEPT
This will allow you through the firewall to the Openmanage port. Use the following command to activate what you just edited:
Question
Mark Hamilton
Just in case anyone wanted to set up Dell Openmanage on XenServer 7 I thought I would post my steps.
First you need to add the dell repo. Dell has an easy way to drop that in for Redhat that works well for Centos which Xen is built on.
wget -q -O - http://linux.dell.com/repo/hardware/DSU_16.05.00/bootstrap.cgi | bash
You should see something like this:
baseurl=http://mirrors.kernel.org/centos/7.2.1511/os/x86_64/
Edited 4/3/2017:
To deal with the base url changing every time Centos updates I changed my baseurl to this in my latest XenServer 7.1 install:
baseurl=http://mirrors.kernel.org/centos/7/os/x86_64/
You have to do this or the mirrorlist will not be able to find the appropriate mirror since this is really a XenServer and not a Centos 7 server. Without this you will see an error when you try to use the repo. I use kernel.org. You can use whichever Centos mirror you prefer. Also, the latest 7.2.1511 release worked fine for me.
Next you use this command to get Openmanage installed enabling the repo you just modified to get the dependencies.
yum --enablerepo=base install srvadmin-all
systemctl restart iptables
Last you need to start the Openmange services.
/opt/dell/srvadmin/sbin/srvadmin-services.sh start
You are now done. Just browse to https://ip.of.server:1311
Link to comment
24 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now