Friday, January 25, 2013

CTX135099 - XenServer Tool Workarounds for XenServer 6.1.0 - Citrix Knowledge Center

CTX135099 - XenServer Tool Workarounds for XenServer 6.1.0 - Citrix Knowledge Center
Read More ->>

Run Command Shortcuts for Administrative Tools

Run Command Shortcuts for Administrative Tools

Thanks to Brian.
I’m always looking for ways to make my job easier. Knowing shortcuts to the commonly used admin tools that you use is one of the best ways. Take a look below for your favorites and remember them…
Not only will it save you a ton of time but also make you look more intelligent!!!
Console
Command
AD Domains and Trusts
domain.msc
Active Directory Management
admgmt.msc
AD Sites and Services
dssite.msc
AD Users and Computers
dsa.msc
ADSI Edit
adsiedit.msc
Authorization manager
azman.msc
Certification Authority Management
certsrv.msc
Certificate Templates
certtmpl.msc
Cluster Administrator
cluadmin.exe
Computer Management
compmgmt.msc
Component Services
comexp.msc
Configure Your Server
cys.exe
Device Manager
devmgmt.msc
DHCP Management
dhcpmgmt.msc
Disk Defragmenter
dfrg.msc
Disk Manager
diskmgmt.msc
Distributed File System
dfsgui.msc
DNS Management
dnsmgmt.msc
Event Viewer
eventvwr.msc
Indexing Service Management
ciadv.msc
IP Address Manage
ipaddrmgmt.msc
Licensing Manager
llsmgr.exe
Local Certificates Management
certmgr.msc
Local Group Policy Editor
gpedit.msc
Local Security Settings Manager
secpol.msc
Local Users and Groups Manager
lusrmgr.msc
Network Load balancing
nlbmgr.exe
Performance Monitor
perfmon.msc
PKI Viewer
pkiview.msc
Public Key Management
pkmgmt.msc
QoS Control Management
acssnap.msc
Remote Desktops
tsmmc.msc
Remote Storage Administration
rsadmin.msc
Removable Storage
ntmsmgr.msc
Removable Storage Operator Requests
ntmsoprq.msc
Routing and Remote Access Manager
rrasmgmt.msc
Resultant Set of Policy
rsop.msc
Schema management
schmmgmt.msc
Services Management
services.msc
Shared Folders
fsmgmt.msc
SID Security Migration
sidwalk.msc
Telephony Management
tapimgmt.msc
Terminal Server Configuration
tscc.msc
Terminal Server Licensing
licmgr.exe
Terminal Server Manager
tsadmin.exe
UDDI Services Management
uddi.msc
Windows Management Instrumentation
wmimgmt.msc
WINS Server manager
winsmgmt.msc

Read More ->>

Monday, January 14, 2013

No Local Storage after XenServer installation

After installation of XenServer 6.0.2 the Local Storage SR doesn't appear.

Does running "fdisk -l" show you a device with 3 partitions
? Example:

root@xenserver /# fdisk -l

Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 499 4008186 83 Linux
/dev/sda2 500 998 4008217+ 83 Linux
/dev/sda3 999 19452 148231755 83 Linux

Then you should be able to create a Local Storage via the CLI (XenCenter
is for shared storage). You need to know the SCSI device associated with this 3rd partition. Listing /dev/disk/by-id via ls command will help. Example:

root@xenserver /# ls -l /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root 9 Apr 5 12:51 scsi-SATA_ST3160815AS_9RX53PHQ -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 5 12:51 scsi-SATA_ST3160815AS_9RX53PHQ-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 5 12:51 scsi-SATA_ST3160815AS_9RX53PHQ-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 5 12:51 scsi-SATA_ST3160815AS_9RX53PHQ-part3 -> ../../sda3

Now you can use the sr-create command. You need to first get the host universal unique Id via xe host-list

xe sr-create type=ext content-ty
pe=user host-uuid=<UUID of the XenServer host> shared=false name-label="Local Storage" device-config:device=/dev/disk/by-id/<SCSI ID>

In my case, SCSI ID would be: scsi-SATA_ST3160815AS_9RX53PHQ-part3 and the command to create would be:

xe sr-create type=ext content-type=user host-uuid=c9383181-27be-43dc-9a39-bf9b801582e8 shared=false name-label="Local Storage" device-config:device=/dev/disk/by-id/scsi-SATA_ST3160815AS_9RX53PHQ-part3
Read More ->>