Yes that helps. I may write a couple of wrapper scripts to do the checks. I 
don't plan on doing it often though. 

Chad

> On Aug 21, 2014, at 10:25 PM, "Mark Creamer via smartos-discuss" 
> <[email protected]> wrote:
> 
> Chad I use the vmadm send/receive often successfully but I always verify two 
> things: first that the two hosts are on the same release (probably not 
> required but I do it anyway), and second, the base image of the VM being 
> transferred must be present on the receiving machine. Hope that helps
> Mark
> 
>> On Thursday, August 21, 2014, Chad M Stewart via smartos-discuss 
>> <[email protected]> wrote:
>> 
>> First time I've used vmadm send/receive, used zfs many times.  I don't 
>> understand what is wrong.  Hoping someone can point me the right direction.
>> 
>> 
>> source host: SunOS 5.11 joyent_20140724T221203Z i86pc i386 i86pc
>> dest   host: SunOS 5.11 joyent_20140807T193112Z i86pc i386 i86pc
>> 
>> 
>> [root@smartos01 /opt]# vmadm send 91318658-905f-4503-b3ff-180c55e73a7f |ssh 
>> 10.0.0.5 vmadm receive
>> Password:
>> Invalid value(s) for: image_uuid
>> Successfully sent VM 91318658-905f-4503-b3ff-180c55e73a7f
>> [root@smartos01 /opt]# echo $?
>> 1
>> 
>> 
>> 
>> 
>> [root@smartos01 /opt]# vmadm get 91318658-905f-4503-b3ff-180c55e73a7f
>> {
>>  "zonename": "91318658-905f-4503-b3ff-180c55e73a7f",
>>  "autoboot": false,
>>  "brand": "joyent",
>>  "limit_priv": "default",
>>  "v": 1,
>>  "create_timestamp": "2014-05-03T21:12:56.826Z",
>>  "image_uuid": "81223438-7874-11e3-9edf-8f1e15269924",
>>  "cpu_shares": 100,
>>  "zfs_io_priority": 100,
>>  "max_lwps": 2000,
>>  "max_physical_memory": 512,
>>  "max_locked_memory": 512,
>>  "max_swap": 512,
>>  "billing_id": "00000000-0000-0000-0000-000000000000",
>>  "owner_uuid": "00000000-0000-0000-0000-000000000000",
>>  "tmpfs": 512,
>>  "hostname": "packetinspection",
>>  "dns_domain": "local",
>>  "resolvers": [
>>    "10.0.0.1"
>>  ],
>>  "alias": "packetinspection",
>>  "nics": [
>>    {
>>      "interface": "net0",
>>      "mac": "92:d1:50:0e:ba:5d",
>>      "nic_tag": "admin",
>>      "gateway": "10.0.0.1",
>>      "ip": "10.0.0.35",
>>      "netmask": "255.255.255.0",
>>      "primary": true
>>    }
>>  ],
>>  "uuid": "91318658-905f-4503-b3ff-180c55e73a7f",
>>  "zone_state": "installed",
>>  "zonepath": "/zones/91318658-905f-4503-b3ff-180c55e73a7f",
>>  "zoneid": null,
>>  "last_modified": "2014-08-21T11:30:17.000Z",
>>  "firewall_enabled": false,
>>  "server_uuid": "44454c4c-3800-1058-8032-b9c04f353631",
>>  "platform_buildstamp": "20140724T221203Z",
>>  "state": "stopped",
>>  "customer_metadata": {},
>>  "internal_metadata": {},
>>  "routes": {},
>>  "tags": {},
>>  "quota": 10,
>>  "zfs_root_recsize": 131072,
>>  "zfs_filesystem": "zones/91318658-905f-4503-b3ff-180c55e73a7f",
>>  "zpool": "zones",
>>  "snapshots": []
>> }
>> 
>> 
>> 
>> Thank you,
>> Chad
>> 
>> 
>> 
>> -------------------------------------------
>> smartos-discuss
>> Archives: https://www.listbox.com/member/archive/184463/=now
>> RSS Feed: https://www.listbox.com/member/archive/rss/184463/23055384-4ad60763
>> Modify Your Subscription: https://www.listbox.com/member/?&;
>> Powered by Listbox: http://www.listbox.com
> 
> 
> -- 
> Mark
> smartos-discuss | Archives  | Modify Your Subscription         



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to