arkdaşlar merhba,
redstationdan server aldık raid 0 xen panel kurdurdum fakat win iso sunu bir türlü yükleyemedim. MyIsoRepository yok xen cilentte. ovh den aldığım serverlarda /var/opt/xen/iso gibi bir klsöre atıyordum iso yu ama bunda /var/opt/ bu yol var devamı yok. yardım ederseniz sevinirim.
redstation xen e iso uplod etme
2
●484
- 24-11-2012, 22:09:46ille o dizin lazımsa ve SSH yetkiniz varsa
mkdir /var/opt/xen
mkdir /var/opt/xen/iso
ile klasör açabilrsin - 25-11-2012, 01:40:21hocam öncelikle cvp için tşk ederim. dediğin gibi yptım fakat %58,7 ye gelince upload duruyor. hata veriyor. redstationda tekrr kurulum ypmak mümkünmü ovh deki gibi reinstall bulamadım.KALEHOSTING adlı üyeden alıntı: mesajı görüntüle
--R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 01:40:21 -->-> Daha önceki mesaj 01:22:44 --
tmm arkdaşlar çözdüm yaazıyorum buaraya yapamyn arkadaşlar için
Step 1 Creating the ISO Library Folder
Connect to the XenServer using SSH and then issue the following command:
mkdir -p /var/opt/xen/ISO_Store
Step 2 Create a ISO Storage Repository
Issue the following command within an SSH session:
xe sr-create name-label=LocalISO type=iso device-config:location=/var/opt/xen/ISO_Store device-config:legacy_mode=true content-type=iso
XenCenter will then update and show the new SR:
Now that we have an SR we just need to place the ISO files in the directory and installation can then begin, however trying to find direct links to media download is not always as straight forward as you may think. I needed a copy of 2008 R2 evaluation edition, so I followed Microsofts many steps in order to get the media, only to be advised that it was going to force me to use the download manager. Once the download manager started the download I could see the source location, but the link was far too long to copy and then re-write. So instead I paused the download and noticed that when I clicked the resume shortcut that was now on my desktop I was taken to the following URL:
http://care.dlservice.microsoft.com/...&cprod=WinSvr2
This link is the actual path that the 2008 R2 Eval ISO is available from! So all we had to was now download the ISO using the command line on the XenServer:
Step 3 Change directory
Change to the ISO storage directory:
cd /var/opt/xen/ISO_Store
Step 4 Use wget to download the file
wget http://care.dlservice.microsoft.com/...prod=WinSvr2
You will see output similar to the below:
Unfortunately Domain 0 only has 4GB of storage allocated by default, this ISO as demonstrated above is 2.9G and will fail during the download process due to lack of space. A smaller ISO (XP etc) would be fine, but not Win7 or 2008 R2 eval editions.
Using the command df -h we can see the current disk usage:
Part 2 Creating a larger ISO library
When running the df -h command you will see the GPT partition that is listed as my local storage in XenCenter (/var/run/sr-mount etc). This has plenty of capactiy and will be perfect for my ISO requirement.
So we now create a new ISO directory (note that the GUID after /sr-mount will be different for each installation):
cd /var/run/sr-mount/1b042bc0-16b3-fa45-f94d-7a6e4e3dafbe/
then:
mkdir -p ISO_Storage
We now have an ISO_Storage folder that can be used to store ISO files and not have to worry about consuming all of Domain 0′s space. Now that the directory is there we can change directory to it:
cd /var/run/sr-mount/1b042bc0-16b3-fa45-f94d-7a6e4e3dafbe/ISO_Storage
Then re-issue the wget command from earlier -
wget http://care.dlservice.microsoft.com/...prod=WinSvr2
One thing to note is that this particular ISO will not have a .ISO extension once downloaded it will be .ISO?lcid=1033, thankfully this is easily rectified by renaming the file:
mv 7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso\?lcid\=1033 7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso
Finally we add the new ISO_Storage folder as an ISO library:
xe sr-create name-label=ISO_Storage type=iso device-config:location=/var/run/sr-mount/1b042bc0-16b3-fa45-f94d-7a6e4e3dafbe/ISO_Storage device-config:legacy_mode=true content-type=iso
XenCenter will then display our newly created ISO library with any available .ISO files:
