Solved

Cloning a xenapp 4.5 server

Posted on 2013-01-30
9
1,231 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 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 9

Assisted Solution

by:Vijaya Reddy Pinnapa Reddy
Vijaya Reddy Pinnapa Reddy earned 250 total points
Comment Utility
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:divich
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks Guys, it worked exactly as you said>
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now