Link to home
Start Free TrialLog in
Avatar of divich
divich

asked on

Cloning a xenapp 4.5 server

Hi,
I have to clone a server xenapp 4.5 that is actually in production.(it is a VM)
I just disabled the logons using :
change logon /disable
The next step would be to remove it from the farm using:
chfarm
Then I will clone it using vmware, then rejoin it to the farm using again: chfarm.
{Does chfarm will ask me the farm name, database name etc...?
I know in version 6 we do it from the install CD, but I have no idea for 4.5???}

For the new server I will rename it, sysprep it and join it to the farm too.
I have never done that before, so please any suggestion, correction or article is very welcome.
Thanks.
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

its built into the Citrix software, so just run it at the command prompt.

see Citrix kb here

http://support.citrix.com/article/CTX736659
Avatar of divich
divich

ASKER

Thanks for this article; it tells me how to rejoin the server to the farm; but how do you remove it first,
I need to remove it in order to clone it!
Then when that is done rejoin it to the farm.
Thanks.
SOLUTION
Avatar of Ayman Bakr
Ayman Bakr
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of divich

ASKER

When I do a chfarm it asks me for the farm name; so i take a fake name: temp; then database????
What am I supposed to tale access, sql???
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
i clone successfully without temporary dummy farm...
i shutdown and disable the ima service
rerun old vm and reenable ima service.
clone the vm
disconnect new vm from lan
start new vm
logon with cached domain credentials, set local admin password
sysprep
... at this point you can create many clones from this syspreped vm also
start new vm, join to domain
reenable ima service but dont start it.
run chfarm and select the old farm ... the stopped ima service prevent the remove from farm... ignore the 2error messages (something with uninstall order)
make the STA-id unique.
Avatar of divich

ASKER

Thanks Guys, it worked exactly as you said>