Wednesday, December 29, 2010

I Have Ecezma On My Stomach

PNA URL via GPO / ADM put

I have been asked frequently why for new users on a terminal server or workstation to the Citrix Online Plugin (the client formerly known as PNA, Program Neighborhood agent or in between XenApp Plugin for hosted apps [sic!]) constantly wondering where is a web interface here lives in the area? Preferably one with a downloadable config.xml?
Yes - probably installed the online plug-in without the parameters SERVER_LOCATION = "your.web-interface.server" indicate (possibly complemented by protocol and path, if different from http:// or / citrix / pnagent / config.xml).


Option 1: Reinstallation - unacceptable.
Option 2: Overriding / sets the default value on group policies - better.
therefore find attached two (as always) copy & paste ready ADM files associated with this problem . Accept Tested, works, but (also as usual) with no warranty claim. Feedback (again as always) is always welcome.


The first ADM for 32-bit systems:


CLASS MACHINE
CATEGORY "Citrix PNA"
POLICY "Set URL PNA "
KEYNAME" SOFTWARE \\ Citrix \\ PNAgent "
PART" PNA URL
EDITTEXT
DEFAULT "http://your-wi-server/citrix / pnagent / config.xml
VALUENAME "ServerURL"
END PART END POLICY

END CATEGORY


The second ADM for 64-bit systems :


CLASS MACHINE
CATEGORY "Citrix PNA"
POLICY "Set URL PNA x64"
KEYNAME "SOFTWARE \\ Wow6432Node \\ Citrix \\ PNAgent "
PART "PNA URL
EDITTEXT
DEFAULT" http://your-wi-server/citrix/pnagent/config.xml "
VALUENAME" ServerURL "
END PART END POLICY

END CATEGORY

Tuesday, December 21, 2010

How To Improve An Ldr Experiment

mirror floor for Sims 3

forthcoming in time for the Christmas holidays has published on Murano TSR a mirror base for Sims 3, as it gave him even for Sims 2 times. There is no bottom plate in 1x1 it for free. For the complete set, which consists of 20 parts, one must be at TSR Subscriber.



Free ground
Complete Set


How does the level ground?

The floor plates are among the decorations in the category of carpets. They are moved above the normal floor. Using the color palette (create a style) in the game as usual, any desired pattern can be selected. Thus, for example, receives a gleaming stone or wood flooring.

A few questions to
Murano
, the creator of the mirror base

  • was how the idea for the glass floor of Sims 2 times and when you've decided to tinker for Sims 3 to again e inen level ground?
  • Murano:
  • mirror soils The Sims 2, there was indeed already in the community, but just ones that have set back the full reflection. I wanted to dampen this reflection, and I just laid over a transparent surface. Without knowledge of the programming of shaders, I have yet ventured to the code and try to understand this. I succeeded after a long time and several failures then. The second version of the mirror base could then be derived.
  • Determined for The Sims 3 is a mirror base to develop, I've been over a year ago. At that time, the available tools were not ready, to which I am dependent.
  • How long has the development of Took soil and could you benefit from your experience of The Sims 2 Time? Were there problems during development?


Murano: has lasted about three weeks until an acceptable solution was found and all possible sizes were created. I have applied the technique of the first mirror base for The Sims 2 So I knew exactly what needed to be done. However, there was a lighting problem at the beginning of the soils, which was later dissolved, fortunately, otherwise I would not soil the public.

What is the advantage of the complete subscriber sets as opposed to individual Free-soil?

Friday, December 17, 2010

How To Maintain Big Boobs After Pumping

dream career tattoo artist?

This week a friend asked me how could it be her Sim tattoo artist. We both have the extension Ambitions been a long time, but the two had not yet tried. On the cover of one of the Artwok is known to be a Sim in a Tätowierstuhl, so I was sure that either the job or the opportunity to make itself a self-tattoo is.

Thursday, December 16, 2010

How To Make A Poster A3

WebInterface ISO standard pages

Na? Sometimes even a Citrix Web Interface installed? Determined.
And what do you do next? Sites set up of course. The two usual - soon perhaps three sites. But right now it depends but usually a XenAppWeb XenAppServices site and one (Access Interface / PNAgent).
should look like, since the configuration in most scenarios like that, I have summarized this process (as usual here) as a small batch file. The result is a XenApp Services site and, further adjustments are possible on the Citrix web interface management console at any time.
The batch file will ask whether with standard values (paths, server) want to work, but you can make your own data interactively. I have in the event that this batch file calls itself scripted wird, einen Parameter vorgesehen, der nichts mehr fragt und stattdessen flott ein Ergebnis liefert (/stfu).


Hier ist der WI zard of OS :-)


@echo off
rem ### contact daniel.wipperfuerth@adn.de for info / improvements.
echo ######
echo ### script to set up two simple, standard websites for WI.
echo ### The created XA Web Site will be the standard site for IIS!
echo ### This script can be started with /stfu to just create two sites
echo ### without asking anything.
echo ### BE SURE YOU UNDERSTAND WHAT THIS SKRIPT IS DOING BEFORE RUNNING IT
echo ######

rem ### Declaring default variables - you can customize these - but script asks for path
setlocal
rem ### XAWPath specifies the XenApp Web-path - where do you want the website to be?
rem ### XAPNAPath specifies the XenApp Services Site-Path
rem ### If no parameter is given, i take the following defaults
set XAWpath=/Citrix/XenApp
set XAPNAPath=/Citrix/PNAgent
set XAServers=localhost
set XMLPort=80

rem ### SECTION ONE - gathering info
rem ### Find out if we are running on 64bit to get deviant path of sitemgr.exe
if defined ProgramFiles(x86) (for /F "usebackq delims==" %%n in (`dir /b /s "%ProgramFiles(x86)%\citrix\web interface\sitemgr.exe"`) do set smgrpath=%%n) else (for /F "usebackq delims==" %%n in (`dir /b /s "%ProgramFiles%\citrix\web interface\sitemgr.exe"`) do set smgrpath=%%n)
rem ### Find out if we are in stfu-mode
if "%1"=="" (goto :nostfu)
if /i %1==/stfu (goto :setitup)
:nostfu

rem ### Ask if Wi Sites should be created in the default path
:askfordefaults
set /P WantDefaults=Do you want to use /citrix/xenapp and /citrix/pnagent (y/n)?
if %WantDefaults%==y goto :askforservers
if %WantDefaults%==n goto :usecustompaths
echo You entered %WantDefaults%, but i expected a single y or n. I will ask again.
goto :askfordefaults

rem ### Ask if default server and xml port should be used
:askforservers
set /P WantDefaultServers=Do you want to use localhost and XML Port 80 (y/n)?
if %WantDefaultServers%==y goto :setitup
if %WantDefaultServers%==n goto :usecustomservers
echo You entered %WantDefaultServers%, but i expected a single y or n. I will ask again.
goto :askforservers



rem ### SECTION TWO - ask for custom paths or servers
:usecustompaths
echo Choose your paths - but do not forget the /slash...
set /P XAWpath=Enter XA Web Path (like /Citrix/XenApp):
set /P XAPNAPath=Enter XA Web Path (like /Citrix/PNAgent):
goto :askforservers

:usecustomservers
echo Enter your XA Servers - separate Servers with a semicolon (like XA1;XA2;XA3)
set /P XAServers=Enter your XA Servers (like XA1 or XA1.ADN.DEMO):
set /P XMLPort=Enter your XML Port (like 80 or 8080):
goto :setitup



rem ### SECTION THREE - create sites for a better world
rem ### Let`s rock
:setitup
echo Making your WI a homely place - please wait...
echo This takes usually less than 2 minutes.
echo XA Web Site creation starting
"%smgrpath%" -c "WIDest=1:%XAWpath%,WIDefaultSite=Yes,FarmName=MyFarm,XMLService=%XAServers%,XMLSPort=%XMLPort%,XMLSProtocol=HTTP,AppAccessMethods=Remote;Streaming"
if %errorlevel% GTR 0 (echo Errorlevel was %errorlevel%) else echo XA Web Site creation finished
echo XA Services Site creation starting
"%smgrpath%" -c "PNADest=1:%XAPNAPath%,FarmName=MyFarm,XMLService=%XAServers%,XMLSPort=%XMLPort%,XMLSProtocol=HTTP,AppAccessMethods=Remote;Streaming"
if %errorlevel% GTR 0 (echo Errorlevel was %errorlevel%) else echo XA Services Site creation finished

rem ### cleaning
up: end
endlocal
pause

Wednesday, December 8, 2010

Make Ur Own Bike Online

Library create XenServer

years I have been a wonderful library with many ISO ISO images from different manufacturers in both bit depths in several languages? Sure! Who does not? In order still to keep track of course I have directories and subdirectories in a typical structure of an ISO Library looks so like this:

  • Microsoft
    • Windows
      • XP
      • Vista
      • 7
        • EN
          • 32
          • 64
        • DE
          • 32
          • 64
  • Citrix
    • XenApp
      • 4
      • 4.5
      • 5
      • 6
      • 7
    • XenDesktop
    • XenServer
  • Other
Maybe even deeper, more extensive - whatever. How do I import such a library to ISO XenServer? XenServer expects a CIFS / NFS share interest, but only the first level, the root of the share. XenServer also supports deep links, so instead of file: / / fileserver / share I could also file on : / reference / file server / share / directory . I could also prima Two XenServer ISO libraries, live Microsoft and Citrix. But I want to create for each directory (Citrix \\ XenApp \\ 5 \\ 32bit \\ DE), an individual SR? Certainly not.

What many people do get the CDs from the subdirectories of the library is copied to the root, so does the XenServer ISO. Or directly to somewhere else create a new library for XenServer. Unacceptable. Laaaaaangweilig.
If the existing ISO Library on NTFS based, we still could create hard links - this would show up each ISO file twice (at the original site in a subdirectory and in the root of the share) - to show, however without twice the storage space . Hard links are pointers to a content so only the file system. Will my ISO containing approachable from two sides :-)
I have found in some students pointed out this possibility - always hoping to meet someone, the script enough skills to such a ISOLINK "just" to create. Not applicable. Here in Stuttgart struck me then that I'm using this strategy now for almost a year was not successful - the script I was still missing. realize
Driven by the recently discovered passion, little help, especially for my colleagues CCI (but also for AND customers and basically anyone who has fun on it), I have in the hotel room now made the time.

The script should be run as an admin and used for linking the internal command Win7/Win2008 mklink.exe. A home directory is specified. All ISO files are created under this directory then specify the source directory as a hard link. Here, the folder structure of the ISO file is used, in order to make the file name (less conflict, better readability and assignments).
source and destination path must be on the same partition.

Here is the script, copy & paste ready - just add water:


@ echo off rem # # #
contact daniel.wipperfuerth@adn.de for info / improvements.
echo ######
echo ### script to crawl recursively through your ISO file library
echo ### and linking each found ISO file to a specified directory.
echo ### Pathnames will be used to give the created hardlinks a
echo ### meaningful name - at least if your folders had meaningful names.
echo ### BE SURE YOU UNDERSTAND WHAT THIS SKRIPT IS DOING BEFORE RUNNING IT
echo ######

rem ### Declaring variables - you should customize these
setlocal
rem ### src specifies the starting path - where are all your isos located?
rem ### dst specifies the root of the share that you want XenServer to use
rem ### as ISO Storage Repository (CIFS/NFS).
rem ### bear in mind that src and dst have to be on the same partition.
set src=c:\testlab\_isolinker\lurch
set dst=c:\testlab\_isolinker\share

rem ### SECTION ONE - gathering info
rem ### do the directories exist at all? I will check.
if not exist "%src%" goto :nosrc
if not exist "%dst%" goto :nodst
rem ### main loop - find isos using recursion of dst path
for /F "usebackq delims=/" %%n in (`dir /a:-d /b /s %src%\*.iso`) do call :linkerbell "%%n" %src% %dst%
goto :end

rem ### SECTION TWO - prepare the parameters for the link-command
rem ### process the found isos
:linkerbell
set foundisofile=%1
rem ### filter out the empty line returned by the dir command
if not defined foundisofile goto :EoF
set srcpath=%2
set dstpath=%3

rem ### shorten path, subtract src from found iso path
call set isofile=%%foundisofile:*%srcpath%\=%%

rem ### SECTION THREE - link files like there was no tomorrow
rem ### replace backslashes with underscores for readability
call set isofile2=%isofile:\=_%
mklink /h "%dstpath%\%isofile2% %foundisofile%

goto :EoF

goto: end rem
# # # different endings to our wonderful story
: nosrc
echo Your so called source directory has been stolen - get a new one.
echo The directory i did not find was:% src%
goto: end
: nodst
echo The destination directory smells like teen spirit - get a new one.
echo The directory i did not find was: dst
%% goto: end rem # # #
cleaning up
: end
endlocal
pause

Monday, December 6, 2010

Milena Velba Tries On Bras

local LVM SR in Ext3 convert

Do I once again training with XenServer on small hardware ? keep Mostly yes the disk is too small - 250 GB, but the rich must be, and SAS hard drives. Beautiful, fast, but indeed.
Windows 7 will, according to template already have 24 GB on its own, two provisioning servers to VMs, two DDCs based on 2003s, a DC per participant and at least one large virtual hard disk to accommodate the vdisk for PVS. Set up by XenServer Standard storage repository on LVM base can quickly come to its limits, allocated mainly because it does not use thin-provisioning (which is entirely possible) but for a 24 GB hard drive for Windows 7 VM full 24 GB.
remedy here, the Citrix KB Article CTX116324 - How To Change the Default Storage Repository to File-based VHD-on-EXT3
problem here is: Will I have to type the whole course this stuff? Probably only after the participants have become fit in dealing with the console - and can distinguish PBD from SR and VDI. Then it is too late, because everything dies during the procedure, which is already set up on the SR.
The best time is thus directly to the XenServer installation. But I have a pretty (ok, no, it is not pretty) shell script, but again we need winscp in order to transfer to the control domain, also exhausting for the faculty.
Have therefore, this evening in a hotel near Stuttgart rewritten the existing bash script into a batch file for Windows (and wow, this is me again noticed that you have crutches trying to how to achieve a few simple operations ... I variables It is essential to learn to script something better!)

The script requires a few adjustments, so open first with Notepad / Notepad and change the variables (line 10ff).
existence, the IP of the XenServer host, user name (if different from the root) and password, if it deviates from the standard rate.
Oh, and because the script do inexperienced natures hurt can I have a "safety catch" is installed. Only after a modification is to use this script. It's easy. It should really stop anyone who has seen a batch file, but it should prevent that someone "by mistake" with this script sets the cards. whether there should be yes. If the child safety intentionally removed and armed to the script, then it goes around - but now can no longer be any question of an unintended execution.

blogged enough, here is the script to copy and paste - Download:

@ echo off rem # # # contact
daniel.wipperfuerth @ adn.de for info / improvements.
echo ######
echo ### script to transform the default lvm based sr of
echo ### freshly installed (!) xenserver 5.5 / 5.6 to ext3
echo ### YOU WILL LOSE DATA! BE SURE YOU UNDERSTAND WHAT THIS SKRIPT IS DOING!
echo ######

setlocal

rem ### declaring windows specific variables
rem ### you should customize these
set pass=Password1
set host=192.168.0.21
set user=root
set xecmd="c:\program files (x86)\citrix\xencenter\xe.exe"
set xeparms=-s %host% -u %user% -pw %pass%
set handbrake=on

if %handbrake%==on goto bailout
rem ### SECTION ONE - gathering info
rem ### find our lvm sr
for /F "usebackq" %%n in (`%xecmd% %xeparms% host-list params^=uuid --minimal`) do set host-uuid=%%n

rem ### find our lvm sr
for /F "usebackq" %%n in (`%xecmd% %xeparms% sr-list type^=lvm params^=uuid --minimal`) do set sr-uuid=%%n

rem ### find the pbd of this sr
for /F "usebackq" %%n in (`%xecmd% %xeparms% pbd-list sr-uuid^=%sr-uuid% params^=uuid --minimal`) do set pbd-uuid=%%n

rem ### find the current device config (ie harddrive) of pbd
for /F "usebackq tokens=2" %%n in (`%xecmd% %xeparms% pbd-list uuid^=%pbd-uuid% params^=device-config --minimal`) do set deviceconfig=%%n

rem ### SECTION TWO - wreak havok
rem ### erasing all vdis from sr that would prevent deletion
for /F "usebackq delims=," %%n in (`%xecmd% %xeparms% vdi-list sr-uuid^=%sr-uuid% params^=uuid --minimal`) do %xecmd% %xeparms% vdi-destroy uuid=%%n

rem ### unplugging pbd
%xecmd% %xeparms% pbd-unplug uuid=%pbd-uuid%

rem ### destroying sr
%xecmd% %xeparms% sr-destroy uuid=%sr-uuid%

rem ### SECTION THREE - rebuild sr
%xecmd% %xeparms% sr-create host-uuid=%host-uuid% type=ext device-config:device=%deviceconfig% shared=false name-label="Ext3 SR"

rem ### cleaning up
endlocal
goto end

:bailout
echo handbrake error. try www.disney.com for help.
:end
pause