Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 3.7 KB

xenserver-tips.md

File metadata and controls

56 lines (45 loc) · 3.7 KB

XenServer 6.0 Tips, Tricks, and things I've learned so far

the default ISO folder is located at /opt/xensource/packages/iso

  • COPY all of your ISO's for VM's there before attempting to install from a network share on a DSL or Cable speed connection. An iSCSI that's local to the datacenter is ok but anything else just isn't fast enough.

  • you must create storage resources from RAID arrays correctly in order for them to work. This wasn't my mistake but something I learned from Tech Support.

  • list of mirrored Linux distros on SoftLayer's Network

  • adding ip's

    • For your networking question you just have to assign the "Virtual Interfaces" in xencenter, so for example, eth0 and eth1 for private and public network. Then all you should need to do is bind the IP in the OS, and XenServer will detect the IP you are using and show it in XenCenter for Networking on that VM
  • create ISO directory

    • "xe sr-create name-label="MyISORepository" type=iso device-config:location=/var/opt/xen/iso_import/ device-config:legacy_mode=true content-type=iso"

    • "The easiest way is to use "xe pbd-unplug" and then "xe pbd-plug". This will refresh the SR by forcing it to be reread into the XAPI database. To get the universal unique Id of the PBD, please use a command similiar to the following: xe pbd-list sr-uuid= <UUID of the SR Then proceed to use: xe pbd-unplug uuid=< UUID of the PBD xe pbd-plug uuid=< UUID of the PBD>"

Creating a Larger ISO folder from root XenServer drive

Using wget to Download CentOS files directly from SoftLayer mirror to XenServer ISO folder

LVM Tips and Resources

  • lvm -
  • pvs, pvdisplay, and pvscan - displays all physical partitions
  • vgdisplay - show volume groups
  • RedHat LVM Docs

General Linux Tips & Commands

scp and WinSCP are your new best friend!

  • waisted 30m trying to resolve a permissions is to transfer a ISO from one server to the other then I found an article describing scp to do it...
  • scp my-local-file.iso root@10.10.10.1:/usr/jj/my-local-file.iso
  • didn't even setup a SSH key just used root and it prompted for password. DONE!