9 More Discussions You Might Find Interesting
1. Red Hat
All,
I am facing an issue as log rotation not working for me as expected for tomcat in centos 7.2. I configured log rotation command in crontab
*/5 * * * * root /usr/sbin/logrotate /etc/logrotate.conf >/dev/null 2>&1
I am trying to rotate below tomcat logs owned by application... (0 Replies)
Discussion started by: shekar777
0 Replies
2. Red Hat
I was testing Networking Teaming (activebackup) with a VM hosted on VmWare Workstation and VirtualBox, and the result is, if the active interface is down, the system is not using the backup interface.
Tested on both CentOS / RHEL 7
Please find below the command I have used to configure teaming.... (0 Replies)
Discussion started by: atanubanerji
0 Replies
3. UNIX for Dummies Questions & Answers
Hello All,
Yesterday, all day, I was using x11vnc and vncviewer to connect to a server. But today for some reason it is not working. I don't
remember changing any settings or anything like that, but because it stopped working correctly I guess something has...?
I'm issuing the exact same... (0 Replies)
Discussion started by: mrm5102
0 Replies
4. UNIX Desktop Questions & Answers
Hi All,
I have a jar file and I want to extract that jar file. I am using command
jar xf Sample_Pack.jar
After pressing enter this command returns no error and is not even executed.
Pls help (1 Reply)
Discussion started by: Palak Sharma
1 Replies
5. Red Hat
Hey guys, I've been straddling with this issue for quite some time now and I'm getting absolutely nowhere with it. It took me a long time to get XEN up and running on my server. We only use SSH to manipulate our servers, but we finally got it up and running. Now I'm at the point of actually... (1 Reply)
Discussion started by: mccabec123
1 Replies
6. Red Hat
Hey guys, I've reached the point of setting up VM's on XEN but the net installations seem to be failing when I am in the netinstall on the actual VM, so this leads me to believe that the networking on the host machine is not set up correctly. I am running CentOS 5.9 along with XEN and was just... (0 Replies)
Discussion started by: mccabec123
0 Replies
7. Red Hat
Hi
We have one centos Server on Asterisk platform and using OS Open source dialer for dialing outbound connections.We are using eyebeam as a softphone for calling with Server ip 192.168.1.X.Today i found dialing issues with each client side phones.Not showing pause/resume button when browse... (0 Replies)
Discussion started by: Vaibhav.T
0 Replies
8. Emergency UNIX and Linux Support
Hi all,
I installed centos 5, with LAMP.
httpd is working fine, ssh, ftp all working ok.
But, when I try to use mysql its not,
when I give the command
mysql
I get
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (4 Replies)
Discussion started by: lawstudent
4 Replies
9. Red Hat
Hello folks,
I am trying to install Xen on centos 6!
Kindly check out the following screen shots!
What should I do?
Regards (0 Replies)
Discussion started by: ahmedamer12
0 Replies
virt-clone(1M) System Administration Commands virt-clone(1M)
NAME
virt-clone - clone virtual machine images
SYNOPSIS
/usr/bin/virt-clone [option]
DESCRIPTION
The virt-clone utility is a command line tool for cloning existing virtual machine images. virt-clone copies disk images of an existing
virtual machine and defines a new guest with an identical virtual hardware configuration. Elements that require uniqueness are updated to
avoid a clash between old and new guests.
With appropriate command-line arguments, virt-clone can run completely unattended, with the guest automatically starting itself as well.
This allows for easy automation of guest installs.
If you do not specify options to virt-clone, the command runs interactively, prompting for input as required.
To run virt-clone, you must become superuser or assume the Primary Administrator role.
OPTIONS
The following options are supported:
--connect=URI
Connect to the hypervisor at URI.
-d, --debug
Display debugging information when running the install process.
-f disk_image, --file=disk_image
Path to the file, disk partition, or logical volume to use as the backing store for the guest's virtual disk. If the original guest has
multiple disks, this parameter must be repeated multiple times, once per disk in the original virtual machine.
-h, --help
Display the help message and exit.
-m mac_addr, --mac=mac_addr
Fixed MAC address for the guest. If the keyword random is specified, a random address will be used.
-n name, --name=name
Name of the new guest virtual machine instance. This must be unique among all guests known to the hypervisor on this machine, including
those not currently active. To redefine an existing guest, use the virsh(1M) tool to shut it down and delete it prior to running virt-
clone. This parameter will be prompted for if omitted on the command line.
-o original_guest, -original=original_guest
Name or UUID for the original guest to be cloned. This guest must be shut down since it is not possible to safely clone active guests.
-u UUID, -uuid=UUID
UUID for the guest; if none is specified, a random UUID is generated. If you specify UUID, use a 32-digit hexadecimal number. Keep in
mind that UUIDs are intended to be unique across the entire data center, and indeed, the world.
EXAMPLES
Example 1 Cloning a Guest with a Single Disk
The following command clones a guest named demo, which has a single disk to copy.
# virt-clone
--original demo
--name newdemo
--file /var/lib/xen/images/newdemo.img
Example 2 Cloning a Guest with Multiple Disks
The following command clones a guest named demo, with has multiple disks to copy.
# virt-clone
--original demo
--name newdemo
--file /var/lib/xen/images/newdemo.img
--file /var/lib/xen/images/newdata.img
Example 3 Cloning to a Device with Comparable Disk Space
The following command clones a guest to a physical device that has at least as much disk space as had the original guest. . If the destina-
tion device is has more space, the new guest can do a file system resize when it boots.
# virt-clone
--name demo
--file /dev/HostVG/DemoVM
--mac 00:16:3e:34:11:54
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWxvmu |
+-----------------------------+-----------------------------+
|Interface Stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
virsh(1M), virt-install(1M), xm(1M), xVM(5), attributes(5), xVM(5)
SunOS 5.11 23 Jun 2008 virt-clone(1M)