Here''s my trials and tribulations trying to get XCP going on a server we have. Unfortunately, the documentation in the Wiki is not complete and is confusing for someone new to Xen/XCP and thus, I''m having trouble understanding some things. So hopefully, someone will be able to help me or point me in the right direction while I learn it. I''ll summarize everything I''ve done up to now. I''m trying to install XCP 1.1 on a server with an Areca 1680 SAS RAID card in it. I downloaded the Install ISO and went to do the install. There is no driver for this in XCP (which isn''t a big surprise). I downloaded a CentOS 5.5 driver disk from Areca, but when the install gets to the part about "F9 to load drivers" it does not read the floppy disk and it expects a repository type layout which is frustrating. I managed to install XCP 1.1 on the internal SATA drives and want to compile the Areca driver and kernel module. So, once it''s all set up, I went to the console but XCP doesn''t include any kernel headers or gcc or anything to compile a new driver. I disabled the Citrix yum repository as per some other references to the HTTP 404 error I found while researching, leaving only the CentOS yum repositories. However, this is what I get: # yum install gcc "gcc not found" ??? Say what? # yum install linux-gcc "linux-gcc not found" Ok, so now I''m confused. Why can''t I install gcc? I did manage to: # yum install xen-devel That worked just fine. So my question comes down to: 1) How do I get gcc and other necessary software installed so I can compile the Areca kernel module (or maybe there''s a better way to approach this?) 2) Once done, what is the best way to set up our storage system to store VM''s A subsequent question, is maybe there''s a way I can do a custom build of XCP with SuSE 12 x64 with the required kernel module? The internal SATA drives also run off the Areca controller, so I had to move them to install XCP at all and I''d like to get it going as the internal boot drives are set up RAID 1+0 but of course aren''t recognized by XCP at all. Thanks in advance. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Carl B. Constantine, IT Analyst Server, Network and Telecomm Infrastructure IT Services Royal Roads University 250 391-2600 ext.4975 fax 250 391-2594 http://www.royalroads.ca carl.constantine@royalroads.ca<mailto:carl.constantine@royalroads.ca> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
<admin@xenhive.com>
2012-Jan-13 18:59 UTC
Re: [XCP] install questions not answered in Wiki
You cannot simply use yum in the dom0 to install drivers and dependencies. You need to use the XCP DDK to install new drivers. I don''t know the link to the XCP 1.0 or XCP 1.1 DDK downloads. Maybe somebody could post those links up. -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Carl Constantine Sent: Friday, January 13, 2012 11:46 AM To: xen-users@lists.xensource.com Subject: [Xen-users] [XCP] install questions not answered in Wiki Here''s my trials and tribulations trying to get XCP going on a server we have. Unfortunately, the documentation in the Wiki is not complete and is confusing for someone new to Xen/XCP and thus, I''m having trouble understanding some things. So hopefully, someone will be able to help me or point me in the right direction while I learn it. I''ll summarize everything I''ve done up to now. I''m trying to install XCP 1.1 on a server with an Areca 1680 SAS RAID card in it. I downloaded the Install ISO and went to do the install. There is no driver for this in XCP (which isn''t a big surprise). I downloaded a CentOS 5.5 driver disk from Areca, but when the install gets to the part about "F9 to load drivers" it does not read the floppy disk and it expects a repository type layout which is frustrating. I managed to install XCP 1.1 on the internal SATA drives and want to compile the Areca driver and kernel module. So, once it''s all set up, I went to the console but XCP doesn''t include any kernel headers or gcc or anything to compile a new driver. I disabled the Citrix yum repository as per some other references to the HTTP 404 error I found while researching, leaving only the CentOS yum repositories. However, this is what I get: # yum install gcc "gcc not found" ??? Say what? # yum install linux-gcc "linux-gcc not found" Ok, so now I''m confused. Why can''t I install gcc? I did manage to: # yum install xen-devel That worked just fine. So my question comes down to: 1) How do I get gcc and other necessary software installed so I can compile the Areca kernel module (or maybe there''s a better way to approach this?) 2) Once done, what is the best way to set up our storage system to store VM''s A subsequent question, is maybe there''s a way I can do a custom build of XCP with SuSE 12 x64 with the required kernel module? The internal SATA drives also run off the Areca controller, so I had to move them to install XCP at all and I''d like to get it going as the internal boot drives are set up RAID 1+0 but of course aren''t recognized by XCP at all. Thanks in advance. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Carl B. Constantine, IT Analyst Server, Network and Telecomm Infrastructure IT Services Royal Roads University 250 391-2600 ext.4975 fax 250 391-2594 http://www.royalroads.ca carl.constantine@royalroads.ca ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
A google search for the XCP DDK has turned up nothing. No links on any current and active Xen page, wiki, or anything that I can find. Any info I find on the DDK is almost 2 years old and the links no longer exist. This lack of information makes it very hard to do anything with Xen or use it as a replacement for VMWare since they messed up on the whole Licensing issue with VMWare 5. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Carl B. Constantine, IT Analyst Server, Network and Telecomm Infrastructure IT Services Royal Roads University 250 391-2600 ext.4975 fax 250 391-2594 http://www.royalroads.ca carl.constantine@royalroads.ca<mailto:carl.constantine@royalroads.ca> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of admin@xenhive.com Sent: January-13-12 10:59 AM To: xen-users@lists.xensource.com Subject: Re: [Xen-users] [XCP] install questions not answered in Wiki You cannot simply use yum in the dom0 to install drivers and dependencies. You need to use the XCP DDK to install new drivers. I don''t know the link to the XCP 1.0 or XCP 1.1 DDK downloads. Maybe somebody could post those links up. -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Carl Constantine Sent: Friday, January 13, 2012 11:46 AM To: xen-users@lists.xensource.com Subject: [Xen-users] [XCP] install questions not answered in Wiki Here''s my trials and tribulations trying to get XCP going on a server we have. Unfortunately, the documentation in the Wiki is not complete and is confusing for someone new to Xen/XCP and thus, I''m having trouble understanding some things. So hopefully, someone will be able to help me or point me in the right direction while I learn it. I''ll summarize everything I''ve done up to now. I''m trying to install XCP 1.1 on a server with an Areca 1680 SAS RAID card in it. I downloaded the Install ISO and went to do the install. There is no driver for this in XCP (which isn''t a big surprise). I downloaded a CentOS 5.5 driver disk from Areca, but when the install gets to the part about "F9 to load drivers" it does not read the floppy disk and it expects a repository type layout which is frustrating. I managed to install XCP 1.1 on the internal SATA drives and want to compile the Areca driver and kernel module. So, once it''s all set up, I went to the console but XCP doesn''t include any kernel headers or gcc or anything to compile a new driver. I disabled the Citrix yum repository as per some other references to the HTTP 404 error I found while researching, leaving only the CentOS yum repositories. However, this is what I get: # yum install gcc "gcc not found" ??? Say what? # yum install linux-gcc "linux-gcc not found" Ok, so now I''m confused. Why can''t I install gcc? I did manage to: # yum install xen-devel That worked just fine. So my question comes down to: 1) How do I get gcc and other necessary software installed so I can compile the Areca kernel module (or maybe there''s a better way to approach this?) 2) Once done, what is the best way to set up our storage system to store VM''s A subsequent question, is maybe there''s a way I can do a custom build of XCP with SuSE 12 x64 with the required kernel module? The internal SATA drives also run off the Areca controller, so I had to move them to install XCP at all and I''d like to get it going as the internal boot drives are set up RAID 1+0 but of course aren''t recognized by XCP at all. Thanks in advance. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Carl B. Constantine, IT Analyst Server, Network and Telecomm Infrastructure IT Services Royal Roads University 250 391-2600 ext.4975 fax 250 391-2594 http://www.royalroads.ca carl.constantine@royalroads.ca<mailto:carl.constantine@royalroads.ca> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Jan 13, 2012 at 9:46 AM, Carl Constantine < Carl.Constantine@royalroads.ca> wrote:> > ** > > ** ** > > I’m trying to install XCP 1.1 on a server with an Areca 1680 SAS RAID card > in it. I downloaded the Install ISO and went to do the install. There is no > driver for this in XCP (which isn’t a big surprise). I downloaded a CentOS > 5.5 driver disk from Areca, but when the install gets to the part about “F9 > to load drivers” it does not read the floppy disk and it expects a > repository type layout which is frustrating.**** > > ** > > The internal SATA drives also run off the Areca controller, so I had to > > > I managed to install XCP 1.1 on the internal SATA drives and want to > compile the Areca driver and kernel module. So, once it’s all set up, I > went to the console but XCP doesn’t include any kernel headers or gcc or > anything to compile a new driver. I disabled the Citrix yum repository as > per some other references to the HTTP 404 error I found while researching, > leaving only the CentOS yum repositories. However, this is what I get: > > > > # yum install gcc > > “gcc not found” > > > > ??? Say what? > > > > # yum install linux-gcc > > “linux-gcc not found” > > > > Ok, so now I’m confused. Why can’t I install gcc? I did manage to: > > > > # yum install xen-devel > > > > That worked just fine. > > > > > > So my question comes down to: > > > > 1) How do I get gcc and other necessary software installed so I can > compile the Areca kernel module (or maybe there’s a better way to approach > this?) > > > 2) Once done, what is the best way to set up our storage system to > store VM’s > > > > > A subsequent question, is maybe there’s a way I can do a custom build of > XCP with SuSE 12 x64 with the required kernel module? > > > > > > ** > > Thanks in advance.**** > > ** ** > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Carl B. Constantine, IT Analyst**** > > Server, Network and Telecomm Infrastructure**** > > IT Services**** > > Royal Roads University > 250 391-2600 ext.4975 > fax 250 391-2594 > http://www.royalroads.ca > carl.constantine@royalroads.ca > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > I’m trying to install XCP 1.1 on a server with an Areca 1680 SAS RAID card > in it. I downloaded the Install ISO and went to do the install. There is no > driver for this in XCP (which isn’t a big surprise). I downloaded a CentOS > 5.5 driver disk from Areca, but when the install gets to the part about “F9 > to load drivers” it does not read the floppy disk and it expects a > repository type layout which is frustrating. > > > > I managed to install XCP 1.1 on the internal SATA drives and want to > compile the Areca driver and kernel module. So, once it’s all set up, I > went to the console but XCP doesn’t include any kernel headers or gcc or > anything to compile a new driver. I disabled the Citrix yum repository as > per some other references to the HTTP 404 error I found > w~~~~~~~~~~~~~~~~~~~~~~~~~~~~**** > > ** ** >The compiled driver is in that disk image, you just need to dig a bit. The download disks match up to RHEL releases though (5.5,5.6 etc) so you may or may not be able to get one to work. Here''s the steps in general to get at the binary driver 1. download the areca disk image from here http://www.areca.us/support/s_linux/linux.htm 2. Extract the Zip file 3. CD into the directory that it created and extract the Install zip file 4. Mount the driver.img file - mount -o loop driver.img <mountpoint> 5. CD into <mountpoint> 6. mv modules.cgz modules.gz 7. gunzip modules.gz 8. cpio -i < modules 9. CD into the directory this creates 10. There you are, your compiled binary driver for both i686 and x86_64 Note I do not gaurantee either of these drivers will work since the XCP kernel is quite different from the RHEL/CentOS one but you could try. Grant McWilliams http://grantmcwilliams.com/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users