Solved

Cloning a xenapp 4.5 server

Posted on 2013-01-30
9
1,274 Views
Last Modified: 2013-02-01
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.
0
Comment
Question by:divich
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 119
ID: 38837594
its built into the Citrix software, so just run it at the command prompt.

see Citrix kb here

http://support.citrix.com/article/CTX736659
0
 

Author Comment

by:divich
ID: 38837966
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.
0
 
LVL 23

Assisted Solution

by:Ayman Bakr
Ayman Bakr earned 250 total points
ID: 38838369
See the steps you need to do before cloning and after cloning (refer to the section of Presentation Server 4.5):

http://support.citrix.com/article/CTX107406

Using CHFarm /join will actually allow you to join a new farm. So when you specify a 'dummy' farm you are in essence removing from the existing farm and rejoining a new farm
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 9

Assisted Solution

by:Vijaya Reddy Pinnapa Reddy
Vijaya Reddy Pinnapa Reddy earned 250 total points
ID: 38839099
When you run the chfarm, it will ask you new farm name. give the new farm name. Adding this server to new farm means you are removing the farm from current farm.

Then, do the cloning.

After cloning, run the chfarm on the server to add/rejoin the server to previous farm name.


Note: Before running the chfarm take the back of application configuration settings.
0
 

Author Comment

by:divich
ID: 38839996
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???
0
 
LVL 23

Assisted Solution

by:Ayman Bakr
Ayman Bakr earned 250 total points
ID: 38840107
I believe it doesn't matter as long as you are joining a 'dummy' farm, just for the sake of removing it from the original farm.
0
 
LVL 9

Accepted Solution

by:
Vijaya Reddy Pinnapa Reddy earned 250 total points
ID: 38840122
Take access as database. Then, do the cloning.

After cloning, when you run the chfarm to add the server back to the farm give the existing farm data store type(if it is sql then give the name of the database).
0
 
LVL 23

Expert Comment

by:Dirk Kotte
ID: 38842682
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.
0
 

Author Closing Comment

by:divich
ID: 38845885
Thanks Guys, it worked exactly as you said>
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question