Displaying 20 results from an estimated 43 matches for "guest_name".
Did you mean:
dest_name
2015 Jun 08
2
Re: Recommended change for the networking page in wiki
...what's causing the incompatibility (that wasn't in the
> original, simpler version of the script, written by me.)
>
>>
>> *#!/bin/bash*
>> # used some from advanced script to have multiple ports: use an equal
>> number of guest and host ports
>>
>> Guest_name=xxxxxxx
>> Guest_ipaddr=xxx.xxx.xxx.xx
>> *Host_ipaddr=xxx.xxx.xxx.xx*
>> Host_port=( '80' '443' )
>> Guest_port=( '80' '443' )
In fact, these two lines are also bashisms. All the more reason to
require bash.
>> length=$(( ${#Host_por...
2015 Jun 08
3
Recommended change for the networking page in wiki
...So I change the script to as follows.
(Changes are highlighted. For some reason the original script didn't work
using /bin/sh, but it did with /bin/bash, so I changed that too).
*#!/bin/bash*
# used some from advanced script to have multiple ports: use an equal
number of guest and host ports
Guest_name=xxxxxxx
Guest_ipaddr=xxx.xxx.xxx.xx
*Host_ipaddr=xxx.xxx.xxx.xx*
Host_port=( '80' '443' )
Guest_port=( '80' '443' )
length=$(( ${#Host_port[@]} - 1 ))
if [ "${1}" = "${Guest_name}" ]; then
if [ "${2}" = "stopped" -o "${...
2011 Nov 29
2
Transfer of LVM based guests
...the original snapshot
5.a lvremove /dev/vhost/LVM_guest_snapshot
6. Move the snapshot image file to the new KVM host. Note
that for large vm guest images tape transport is probably
better than network transfers.
7. Log in to vhost_new
8. Create a new lv on the new vhost
8.a lvcreate -n guest_name_lv -L 60G vhost_new_vg
9. Copy transferred image to new LV
9.a dd if=tmp/LVM_guest_snapshot.img
of=/dev/vhost_new/guest_name_lv bs=4096
10. Copy guest xml file from vhost_old via sftp
10.a. get /etc/libvirt/qemu/guest_name.xml \
/etc/libvirt/qemu/guest_name.xml
11. Start...
2012 Jul 04
2
[PATCH] libxl: rename stubdomain when renaming domain
...ols/libxl/libxl_dm.c Wed Jul 04 11:27:05 2012 +0100
@@ -705,6 +705,11 @@ static void spaw_stubdom_pvqemu_destroy_
libxl__destroy_domid_state *dis,
int rc);
+char *libxl__stub_dm_name(libxl__gc *gc, const char *guest_name)
+{
+ return libxl__sprintf(gc, "%s-dm", guest_name);
+}
+
void libxl__spawn_stub_dm(libxl__egc *egc, libxl__stub_dm_spawn_state *sdss)
{
STATE_AO_GC(sdss->dm.spawn.ao);
@@ -733,7 +738,7 @@ void libxl__spawn_stub_dm(libxl__egc *eg
libxl_domain_create_info_init(&dm_...
2011 Jul 11
0
Questions on libvirt hook scripts
..., under "Specifics"
Before a QEMU guest is started, the qemu hook script is called in
two locations; if either location fails, the guest is not started.
The first location, since 0.9.0, is before libvirt performs any
resource labeling.... This is called as:
/etc/libvirt/hooks/qemu guest_name prepare begin -
The second location, available Since 0.8.0, occurs after libvirt has
finished labeling all resources, but has not yet started the guest,
called as:
/etc/libvirt/hooks/qemu guest_name start begin -
Is it accurate that under 0.9.x, starting a VM will run the qemu hook script
as...
2011 Nov 15
0
virsh Attach-disk function
Hello,
I have to use attach-disk function for providing additional storage to the
guest domain
but i couldn't found proper documentation anywhere which i can follow.
----
For linux (Ubuntu 11.10 server edition, 64bit) guest i tried
qemu-img create -f qcow2 disk.qcow2 size
virsh attach-disk guest_name --driver file disk.qcow2 sdc
Both of the above commands are working fine but when i try to format the
drive from
inside linux then its size reduces to few KB. Before formatting qemu-img
info reports
correct info(as expected, correct virtual size) but after formatting the
even qemu-img
info reports...
2006 Aug 24
1
smb.conf template homedir
...ndows and macintosh - just not access my home directory.
Currently, "template homedir = /home/%U" - which results in a path of
/home/<username>
I would like to use the homeDirectory field found in openldap - which is
different for different classes of users.
i.e.:
/usr/guests/guest_name
/usr/netapp/student/student_name
/usr/netapp/faculty/faculty_name
/usr/netapp/staff/staff_name
I have tried templete homedir = %$(env HOME), but it does not work:
Aug 24 14:04:46 vmnode10 smbd[15826]: [2006/08/24 14:04:46, 0]
lib/substitute.c:expand_env_var(190)
Aug 24 14:04:46 vmnode...
2015 Jun 12
0
Re: Recommended change for the networking page in wiki
...(that wasn't in the
> > original, simpler version of the script, written by me.)
> >
> >>
> >> *#!/bin/bash*
> >> # used some from advanced script to have multiple ports: use an equal
> >> number of guest and host ports
> >>
> >> Guest_name=xxxxxxx
> >> Guest_ipaddr=xxx.xxx.xxx.xx
> >> *Host_ipaddr=xxx.xxx.xxx.xx*
> >> Host_port=( '80' '443' )
> >> Guest_port=( '80' '443' )
>
> In fact, these two lines are also bashisms. All the more reason to
> require bash...
2009 Feb 22
2
Mysql error unknown column 'columns.user_id'
...0_r2, photos.`body` AS t0_r3, photos.`created_at` AS t0....
I did create a user_id column in the comments as such:
class CreateComments < ActiveRecord::Migration
def self.up
create_table :comments do |t|
t.column :photo_id, :integer
t.column :user_id, :integer
t.column :guest_name, :string
t.column :guest_email, :string
t.column :guest_url, :string
t.column :body, :text
t.column :created_at, :datetime
end
add_index :comments, :photo_id
end
def self.down
drop_table :comments
end
end
Can anyone tell me what went wrong and how to solv...
2015 Jun 12
1
Re: Recommended change for the networking page in wiki
2016 Apr 20
1
Re: uefi built from tiancore via edk2 can't persist boot changes
...> need:
>
> <os>
> <loader
> readonly='yes'
> type='pflash'
> >/your/build/output/OVMF_CODE.fd</loader>
> <nvram
> template='/your/build/output/OVMF_VARS.fd'
> >/var/lib/libvirt/qemu/nvram/guest_name_VARS.fd</nvram>
> </os>
>
> This allows the firmware binary to be upgraded centrally, while every VM
> can keep its private varstore.
>
> The virt-install(1) manual describes this, under the example
>
> --boot
>
> loader=/.../OVMF_CODE.fd,loader_ro=yes,lo...
2009 Dec 31
1
data corruption in samba 3.4.3 ?
...3.9 and perform the same operation everything works great. To dump the vm's from Xen I mount a samba share from the domU OS. I use the following xen commands to dump the vm
mount -t cifs //172.27.1.100/xenBackups /mnt -o username=sdrinkwater,pass=somepass,dom=ad.pa-ucl.com
xe vm-snapshot vm=guest_name new-name-label=backup_vm
xe template-param-set is-a-template=false uuid=snapshotUUID
xe vm-export vm=snapshotUUID filename=exportfilename.xva
xe vm-uninstall uuid=snapshotUUID force=true
umount /mnt
Has anyone else experienced this ?? My info is as follows
XenServer mount.cifs version --> mou...
2016 Mar 21
4
uefi built from tiancore via edk2 can't persist boot changes
Apologies if this has been gone over, but I believe I have checked the
intertubes more than a bit.....
I am using libvirt and have vms booting under an OVMF.fd to use an efi
firmware. I can create vms, linux ubuntu, and they will boot up. However,
everytime I reboot am I dropped into the default efi shell provide by the
tianocore build.
Then I must walk the FS to the booting efi app and run, in
2016 Mar 24
0
Re: uefi built from tiancore via edk2 can't persist boot changes
...t, the OVMF_CODE.fd file. So here's what you need:
<os>
<loader
readonly='yes'
type='pflash'
>/your/build/output/OVMF_CODE.fd</loader>
<nvram
template='/your/build/output/OVMF_VARS.fd'
>/var/lib/libvirt/qemu/nvram/guest_name_VARS.fd</nvram>
</os>
This allows the firmware binary to be upgraded centrally, while every VM
can keep its private varstore.
The virt-install(1) manual describes this, under the example
--boot
loader=/.../OVMF_CODE.fd,loader_ro=yes,loader_type=pflash,nvram_template=/.../OVMF_VARS....
2015 Nov 19
4
[PATCH 0/4] v2v: Add a new tool virt-v2v-copy-to-local to handle Xen and ESXi
It turns out that RHEL 5 Xen conversions don't work if the source disk
is located on a block device. See patch 1/4 for the gory details.
This patch series proposes a new tool called virt-v2v-copy-to-local
which essentially is a way to make new virt-v2v work like the old
virt-v2v, ie. copy first, convert after. Of course this is very slow
and would only be used as a last resort, but I
2019 Apr 17
1
[PATCH] v2v: Implement SSH password authentication for Xen and VMX over SSH.
This isn't quite the full thing. I think that Pino is also working on
replacing the ssh and scp commands in the v2v/input_vmx.ml file with
libssh. Without those changes, -i vmx will still issue raw ssh and
scp commands, which will use ssh-agent (or keyboard-interactive).
The Xen input method doesn't use raw ssh and scp commands, so that one
is OK.
Rich.
2019 Jan 16
0
[PATCH 4/5] mltools: curl: turn Curl.run to raise exceptions
...: ?curl:string -> ?proxy:proxy -> ?tmpdir:string -> args -> t
(** Create a curl command handle.
diff --git a/v2v/copy_to_local.ml b/v2v/copy_to_local.ml
index 408cbdebc..e2749fa0c 100644
--- a/v2v/copy_to_local.ml
+++ b/v2v/copy_to_local.ml
@@ -311,4 +311,11 @@ and parse_libvirt_xml guest_name xml =
let xml = Xml.to_string doc ~format:true in
get_disks (), dcpath, xml
-let () = run_main_and_handle_errors main
+let () =
+ let main_wrap () =
+ try main ()
+ with
+ | Curl.Curl_failed (code, url) ->
+ error (f_"curl error: failed to download ā%sā, error code %d...
2017 Oct 08
0
[PATCH v2 4/4] common/mltools: xpath_helpers: Get rid of xpath_*_default functions.
...an xpath expression and return a string/int; if the expression
- doesn't match, return the default. *)
diff --git a/v2v/copy_to_local.ml b/v2v/copy_to_local.ml
index d2471a546..8a64f3a58 100644
--- a/v2v/copy_to_local.ml
+++ b/v2v/copy_to_local.ml
@@ -243,14 +243,14 @@ and parse_libvirt_xml guest_name xml =
let xpathctx = Xml.xpath_new_context doc in
Xml.xpath_register_ns xpathctx
"vmware" "http://libvirt.org/schemas/domain/vmware/1.0";
- let xpath_string = xpath_string xpathctx
- and xpath_string_default = xpath_string_default xpathctx in
+...
2017 Oct 13
7
[PATCH 0/5] v2v: Handle disks with snapshots (RHBZ#1172425).
The first commit removes the --dcpath parameter, which just makes the
following stuff simpler. Since libvirt has supported getting
datacenterpath from VMware since Oct 2015, it's time to drop this
hairy parameter.
The rest is quite a complicated series of refactorings, followed by a
very simple change to add handling of snapshots taken from old
virt-v2v.
Rich.
2017 Oct 13
0
[PATCH 1/5] v2v: Remove --dcpath parameter and related functionality.
...ssword input_conn guest
| `LibvirtXML ->
(* -i libvirtxml: Expecting a filename (XML file). *)
diff --git a/v2v/copy_to_local.ml b/v2v/copy_to_local.ml
index 8a64f3a58..63e1ea310 100644
--- a/v2v/copy_to_local.ml
+++ b/v2v/copy_to_local.ml
@@ -245,8 +245,10 @@ and parse_libvirt_xml guest_name xml =
"vmware" "http://libvirt.org/schemas/domain/vmware/1.0";
let xpath_string = xpath_string xpathctx in
- (* Get the dcpath, only present for libvirt >= 1.2.20 so use a
- * sensible default for older versions.
+ (* Get the dcpath, present...