Ian Matchett wrote:
> Side  issue::
> 
> Is there a better way to tell jumpstart we have a new MAC.
> 
> The /etc/ethers file was good with physical MACs
> 
> In this world of virtual MACs we need a new way of jumpstart getting MACs
> or have at least wild cards in the ethers file.
> 
> When I was playing with LDoms and MACs I had the jumpstart admin 
> modifying the ethers file every day.
> 
> IanM

Well, from a jumpstart point of view, the MAC is the single unique 
identifier that it needs to map machines (which are discovering 
themselves on an ethernet network.). In short, if your MAC address 
changes dynamically, you're always going to have to tell your rarp/dhcp 
server about it. Now, you might be able to make that happen 
automagically by having your LDOM primary push this to the rarp server, 
but it's gotta be done somehow.

I guess it is more possible to do generic installs using a dhcp server 
with a macro assigned to all machines on a network..., but I don't think 
you can do it if you are using bootp.

Mike

> 
> Janet Brevik wrote:
>> 1)  it doesn't appear he is trying the virtual  network device ...
>> do:
>> ok> show-nets
>> then select the virtual network device
>>
>> Example:
>> {0} ok show-nets
>> a) /virtual-devices at 100/channel-devices at 200/network at 0
>> q) NO SELECTION Enter Selection, q to quit: a
>> /virtual-devices at 100/channel-devices at 200/network at 0 has been 
>> selected.
>> Type ^Y ( Control-Y ) to insert it in the command line. e.g. ok nvalias 
>> mydev ^Y          for creating devalias mydev for
>> /virtual-devices at 100/channel-devices at 200/network at 0
>> {0} ok boot /virtual-devices at 100/channel-devices at 200/network at 0 - 
>> install
>>
>>
>> 2) I believe the /etc/ethers entry for ldg1 is wrong:
>>
>> 00:14:4f:f8:8c:3d ldg1
>>
>> See the output for the vnet device in the ldm ls -l for ldg1:
>>
>> NETWORK
>> NAME             SERVICE                     DEVICE     MAC
>>
>> vnet1            primary-vsw0 at primary        network at 0 
>> 00:14:4f:fb:96:10
>>
>>
>> Put    00:14:4f:fb:96:10    in /etc/ethers for ldg1 instead of      
>> 00:14:4f:f8:8c:3d
>>
>> janet
>>
>>
>>
>>
>>
>> Peter.Bourriague at Sun.COM wrote:
>>   
>>> Hello to all,
>>> Customer working with LDOM 1.0.1. He is having a problem jumpstarting 
>>> guest LDOM. Gets error sequence below:
>>>
>>> Connecting to console "ldg1" in group "ldg1" ....
>>> Press ~? for control options ..
>>>
>>> {0} ok boot net -v install
>>> Boot device: /pci at 780/network at 1,1  File and args: -v install
>>> ERROR: boot-read fail
>>>
>>> Can't locate boot device
>>>
>>> {0} ok
>>>
>>> I think it's a MAC address issue. Below output includes:
>>>
>>> ldm list-bindings
>>> ldm ls -l
>>> /etc/hosts
>>> /etc/ethers
>>>
>>> =======================================================================
>>> gaxgpvw64xu# ldm list-bindings
>>> NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
>>> primary          active   -n-cv   SP      4     4G       0.2%  30m
>>>
>>> MAC
>>>     00:14:4f:7e:ba:64
>>>
>>> VCPU
>>>     VID    PID    UTIL STRAND
>>>     0      0      0.4%   100%
>>>     1      1      0.3%   100%
>>>     2      2      0.2%   100%
>>>     3      3      0.4%   100%
>>>
>>> MAU
>>>     CPUSET
>>>     (0, 1, 2, 3)
>>>
>>> MEMORY
>>>     RA               PA               SIZE
>>>     0x8000000        0x8000000        4G
>>>
>>> VARIABLES
>>>     boot-device=/pci at 780/pci at 0/pci at 9/scsi at 0/disk at 0,0:a disk 
>>> net
>>>     local-mac-address?=false
>>>
>>> IO
>>>     DEVICE           PSEUDONYM        OPTIONS
>>>     pci at 780          bus_a
>>>     pci at 7c0          bus_b
>>>
>>> VDS
>>>     NAME             VOLUME         OPTIONS          DEVICE
>>>     primary-vds0     vol1                            /dev/dsk/c0t1d0s2
>>>         CLIENT                      VOLUME
>>>         vdisk1 at ldg1                 vol1
>>>
>>> VCC
>>>     NAME             PORT-RANGE
>>>     primary-vcc0     5000-5031
>>>         CLIENT                      PORT
>>>         ldg1 at ldg1                   5000
>>>
>>> VSW
>>>     NAME             MAC               NET-DEV   DEVICE     MODE
>>>     primary-vsw0     00:14:4f:f8:d4:4b e1000g0   switch at 0   prog,promisc
>>>         PEER                        MAC
>>>         vnet1 at ldg1                  00:14:4f:fb:96:10
>>>
>>> VCONS
>>>     NAME             SERVICE                     PORT
>>>     SP
>>>
>>> ------------------------------------------------------------------------
>>> ------
>>> NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
>>> ldg1             active   -t---   5000    12    1G       8.3%  9s
>>>
>>> MAC
>>>     00:14:4f:f8:8c:3d
>>>
>>> VCPU
>>>     VID    PID    UTIL STRAND
>>>     0      4      100%   100%
>>>     1      5      0.0%   100%
>>>     2      6      0.0%   100%
>>>     3      7      0.0%   100%
>>>     4      8      0.0%   100%
>>>     5      9      0.0%   100%
>>>     6      10     0.0%   100%
>>>     7      11     0.0%   100%
>>>     8      12     0.0%   100%
>>>     9      13     0.0%   100%
>>>     10     14     0.0%   100%
>>>     11     15     0.0%   100%
>>>
>>> MEMORY
>>>     RA               PA               SIZE
>>>     0x8000000        0x108000000      1G
>>>
>>> VARIABLES
>>>     auto-boot?=false
>>>     boot-device=vdisk
>>>
>>> NETWORK
>>>     NAME             SERVICE                     DEVICE     MAC
>>>     vnet1            primary-vsw0 at primary        network at 0
>>> 00:14:4f:fb:96:10
>>>         PEER                        MAC
>>>         primary-vsw0 at primary        00:14:4f:f8:d4:4b
>>>
>>> DISK
>>>     NAME             VOLUME                      TOUT DEVICE  SERVER
>>>     vdisk1           vol1 at primary-vds0                disk at 0  primary
>>>
>>> VCONS
>>>     NAME             SERVICE                     PORT
>>>     ldg1             primary-vcc0 at primary        5000
>>>
>>> gaxgpvw64xu#
>>>
>>> =======================================================================
>>> gaxgpvw64xu# ldm ls -l
>>> NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
>>> primary          active   -n-cv   SP      4     4G       0.1%  24m
>>>
>>> SOFTSTATE
>>> Solaris running
>>>
>>> VCPU
>>>     VID    PID    UTIL STRAND
>>>     0      0      0.3%   100%
>>>     1      1      0.1%   100%
>>>     2      2      0.1%   100%
>>>     3      3      0.1%   100%
>>>
>>> MAU
>>>     CPUSET
>>>     (0, 1, 2, 3)
>>>
>>> MEMORY
>>>     RA               PA               SIZE
>>>     0x8000000        0x8000000        4G
>>>
>>> VARIABLES
>>>     boot-device=/pci at 780/pci at 0/pci at 9/scsi at 0/disk at 0,0:a disk 
>>> net
>>>     local-mac-address?=false
>>>
>>> IO
>>>     DEVICE           PSEUDONYM        OPTIONS
>>>     pci at 780          bus_a
>>>     pci at 7c0          bus_b
>>>
>>> VDS
>>>     NAME             VOLUME         OPTIONS          DEVICE
>>>     primary-vds0     vol1                            /dev/dsk/c0t1d0s2
>>>
>>> VCC
>>>     NAME             PORT-RANGE
>>>     primary-vcc0     5000-5031
>>>
>>> VSW
>>>     NAME             MAC               NET-DEV   DEVICE     MODE
>>>     primary-vsw0     00:14:4f:f8:d4:4b e1000g0   switch at 0   prog,promisc
>>>
>>> VCONS
>>>     NAME             SERVICE                     PORT
>>>     SP
>>>
>>> ------------------------------------------------------------------------
>>> ------
>>> NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
>>> ldg1             inactive -----           12    1G
>>>
>>> VARIABLES
>>>     auto-boot?=false
>>>     boot-device=vdisk
>>>
>>> NETWORK
>>>     NAME             SERVICE                     DEVICE     MAC
>>>     vnet1            primary-vsw0                network at 0
>>> 00:14:4f:fb:96:10
>>>
>>> DISK
>>>     NAME             VOLUME                      TOUT DEVICE  SERVER
>>>     vdisk1           vol1 at primary-vds0                disk at 0
>>>
>>> gaxgpvw64xu#
>>> =======================================================================
>>> gaxgpvw64xu# cat hosts
>>> #
>>> # Internet host table
>>> #
>>>
>>> #
>>> # Merged entries from ipnodes into hosts on <Tue Feb 12 09:19:28 EST
>>> 2008>
>>> # Backup files saved in /etc/inet/ directory: hosts.premerge,
>>> ipnodes.premerge
>>> #
>>> 127.0.0.1       localhost       loghost
>>> 146.126.226.77  gaxgpvw64xu.southernco.com gaxgpvw64xu
>>> gaxgpvw64xu#
>>> =======================================================================
>>> gaxgpvw64xu# cat ethers
>>>
>>> 0:14:4f:22:89:ac        scmdg1
>>> 0:14:4f:22:8e:c4        scmdg2
>>> 0:14:4f:22:8e:f2        scmdg3
>>> 0:14:4f:22:89:9e        scmdg4
>>> 0:14:4f:22:83:6         scmdg5
>>> 0:14:4f:22:8e:98 scmdg6
>>> 0:14:4f:22:89:e0 scmdg7
>>> 0:14:4f:22:8f:68 scmdg8
>>> 0:14:4f:22:89:c8 scmdg9
>>> 0:14:4f:58:5:4c scmdga
>>> 0:14:4f:2b:ed:f2 sbkxgp02snew
>>> 8:0:20:c7:9e:5f svxgpit30ts01
>>> 8:0:20:c7:9e:6b svxgpit30ts02
>>> 0:14:4f:4a:d8:56 svxgpor04pr04
>>> 0:3:ba:68:f4:54 sclxgp141s
>>> 0:3:ba:68:f4:62 sclxgp142s
>>> 0:14:4f:3e:96:20 svxgpor04pr02
>>> 0:3:ba:15:d:10 sixgp12w
>>> 0:14:4f:9b:83:d2 gaxgpit01xw
>>> 0:14:4f:22:8e:fe scmbowspr
>>> 0:14:4f:4e:4e:c1 snmxgp112snew
>>> 0:14:4f:7e:69:f6 gaxgpap10xs
>>> 0:14:4f:90:c2:c0 snmxgp108s
>>> 00:50:56:BC:49:EF gaxgpap56xs
>>> 8:0:20:d1:b0:b3 gaxgplab02xd
>>> 0:14:4f:a2:e9:50 sinxgp119snew
>>> 0:14:4f:85:e9:94 svxgpor31pr01
>>> 0:14:4f:3e:b2:8 svxgpor40pr01
>>> 0:14:4f:85:e0:6a svxgpor31pr02
>>> 0:14:4f:3b:27:83 svxgpor40pr02
>>> 0:14:4f:7d:a4:78 gaxgpnm18xs
>>> 0:14:4f:7e:ba:64 gaxgpvw64xu
>>> 0:14:4f:a1:a:90 sbkxgp177snew
>>> 00:14:4f:f8:8c:3d ldg1
>>> gaxgpop02xs:/jumpstart#
>>> gaxgpop02xs:/jumpstart#
>>>
>>> Please help.
>>> TIA,
>>> Peter.
>>>
>>>   
>>>     
>> _______________________________________________
>> ldoms-discuss mailing list
>> ldoms-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
>>   
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ldoms-discuss mailing list
> ldoms-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss


-- 
Mike Ramchand
Principal Engineer
Systems Practice
Sun Microsystems (UK)
Tel: +44 125 2421091, Ext: (70)21091, Mob: +44 780 1179593
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3253 bytes
Desc: S/MIME Cryptographic Signature
URL: 
<http://mail.opensolaris.org/pipermail/ldoms-discuss/attachments/20080213/5665ec69/attachment.bin>

Reply via email to