Hi,
I hope someone can help me on my problem with an aggregate, as I am a Solaris noob. I tried doing this according to the official 
documentation from Oracle and also googled a lot around, but have not found any solution yet.
I am in the process of building a Solaris NAS system. I have installed Solaris 11 (not express, as it is not available anymore). I have 3 NIC's installed in the system. I want to use one (net3) for the management of the box, and the other two (net0 and net1) as an aggregate for the data traffic to the NAS.
My problem is that the aggregate always shows up as "disabled" after a reboot, and I have to manually enable it (which works without problems, by the way).
So here is what I did:
Disabled nwam:
svcadm disable nwam
svcadm enable network/physical:default
removed any previous config from the adapters
ipadm delete-if net0
ipadm delete-if net1
created the aggregate
dladm create-aggr -L active -l net0 -l net1 aggr0
Then, according to the doc, it should be possible to create the address using "ipadm create-addr -T static...", but in my case, this did not work. Instead, I had to plumb the aggregate:
ifconfig aggr0 plumb 192.168.1.224/24
then I was able to bring it up - manually. I am aware that this switch "-t" stands for temporary and not persistent. 
I then tried to find a solution here and there, and after a lot of googling and trying around, I found the ipadm to work all of a sudden - honestly, I don't know why 
ipadm create-ip aggr0
ipadm create-addr -T static -a 192.168.1.224/24 aggr0/v4
That's as far as I got. Oh yes, my 
hosts file reads:
::1 nas1 localhost
127.0.0.1 nas1 localhost loghost
192.168.1.222 nas1
192.168.1.224 nas1
After each reboot, I see:
root@nas1:~# 
ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
net3/_a static ok 192.168.1.222/24
lo0/v6 static ok ::1/128
aggr0/v4 static disabled 192.168.1.224/24 
I can then bring the interface up with simply 
ipadm enable-if -t aggr0, however, as stated, it's still not persistent. If I try this without "-t", it doesn't work, the error message is:
ipadm: persistent operation not supported for enable-if
When googling, I learnt that in earlier versions of Solaris, there was a file for each interface like hostname.interface . This seems not to be the case anymore, according to the documentation from Oracle. Nevertheless, I have tried it just to be sure, and so I created a file /etc/nas1.aggr0, however, this did not work as well.
Any help is greatly appreciated - thanks!
Cap'
Edited by: 904508 on 26.12.2011 08:56
Edited by: 904508 on 26.12.2011 08:57
Edited by: 904508 on 26.12.2011 08:58