aggr not persistent after a reboot


 
Thread Tools Search this Thread
Operating Systems Solaris aggr not persistent after a reboot
# 8  
Old 01-02-2012
Hi christr
Thanks for your reply.
As posted from the beginning, I don't have a problem creating the aggregate - this works fine! The aggregate comes up and responds to ping, no problem here at all. I have also stated all steps that led me there, I am pretty sure they're following the Oracle documentation. I do have Solaris 11, so I have to work with ipadm and dladm.
Also, this is going to be a home NAS, no datacenter or networking guys included, but as I said, the aggregate works!

...it's just not persistent. After each reboot, it comes up like this:
Quote:
root@nas1:~# ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
net0/_a static ok 192.168.1.222/24
lo0/v6 static ok ::1/128
aggr1/v4 static disabled 192.168.1.224/24
I can then enable it like this:
Quote:
root@nas1:~# ipadm enable-if -t aggr1
root@nas1:~# ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
net0/_a static ok 192.168.1.222/24
aggr1/v4 static ok 192.168.1.224/24
lo0/v6 static ok ::1/128
Of course, the "-t" is for temporary, so this won't stay. It won't accept the command without "-t", stating "ipadm: persistent operation not supported for enable-if"...

This is driving me nuts. SmilieI tried creating /etc/nas1.aggr1 and put the IP in there, but it doesn't help - after a reboot, it's disabled again. This is especially frustrating, as I am able to create the aggregate and bring it up - manually.
If you can help on this.. please do, I'm really desperate by now...

Thanks and regards,

Cap'
# 9  
Old 01-02-2012
I think the simplest solution is to add start script to /etc/rc3.d with just the "ipadm enable-if -t aggr1". It might look like this:
Code:
root@fake:/# cat /etc/rc3.d/S99aggr
#!/bin/sh
ipadm enable-if -t aggr1

This User Gave Thanks to bartus11 For This Post:
# 10  
Old 01-02-2012
Hi Bartus11,

I knew there must have been an easy way. That worked perfectly. Thanks a million times, this has kept me busy for days!

Now I can proceed with my NAS...

Cheers,

Cap'
# 11  
Old 01-02-2012
That's interesting. I haven't had a chance to really work with Solaris 11 yet. Doing an init script is a good work around, but it's strange you have to do that. Maybe it's a bug with ipadm being so new.

Just curious, but for a home server is it even capable of those aggregate speeds? I run Solaris in my home server inside ESXi along with several flavors of Linux virtual machines. It's an Intel Q6600 with 6 gigs of RAM. The PCI bus can't reach over about 45 MB/sec for the I/O, so it never even reaches the full potential 100 MB/sec a gigabit provides. And is the home NAS cabable of going over 100 MB/sec also? I personally have never seen those kinds of speeds outside of SPARC or maybe Xeon hardware. Just curious, as it would be interesting to know for my future upgrades. I can see how you would want to set that up at the house just because you can too, as I certainly have overkill stuff like that too.

This also reminds me I need to upgrade my home Solaris machine to Solaris 11. We'll still be on Solaris 10 for the next few years at my work.
# 12  
Old 01-03-2012
I assume it is a wee bit overkill, as you said... However, I didn't want to take a risk and since my hardware supports aggregating NIC's, I wanted to do it from the beginning instead of running short one day and having to add it later... I guessed this would be the bigger effort.

I have a separate VMWare ESXi Server with currently 5 guests on local disks. I want to run the VM's on this NAS, and also need around 2 TB of CIFS space for my movies. Today, if I am using the VM's heavily, the performance on the CIFS shares sometimes drops significantly, as they are now stored in the vmdk's. Also, I don't know how much impact has deduplication, compression, snapshotting etc.

For comparison, I use the following hardware:
- Supermicro X8SIE-F mainboard
- 12 GB ECC RAM
- Xeon L3426 CPU
- LSI 9211-8i Controller flashed with the IT firmware
This card has a PCI-Express x8 Interface.
- 2 x 320 GB HDD's in a ZFS mirror for OS
- 7 x 1 TB Samsung F3's for data, one being spare

The PCI Express 2.0 x8 Interface has a theoretical throughput of 16Gbit/s or 2 GB/s, according to Wikipedia, so I don't expect a bottleneck here. Of course, the performance of the card being able (or not) to use this bandwidth is a totally different story. After all, with 6 active disks, there should be plenty of performance for my needs, assuming the card can hold up on this workloads. I'll see it going on with my NAS configuration, and will let you know about my experiences here.
Regards,
Cap'
# 13  
Old 01-03-2012
I would do it too if the hardware supported aggregation. After all, why not if the hardware can do it.

That sounds like a cool setup. I run everything inside my ESXi with 4 guests. Solaris 10, Ubuntu 11, CentOS 5, and a Windows VM. Solaris 10 acts as the router, DHCP server, firewall, etc... for the entire network. Ubuntu is my media and file server with two 600 GB disks for storage of video, family photos, music, documents, data, backups of home PCs, etc.... It has PS3 Media Server, qTorrent, Samba, NFS server, and MiniDLNA always running on it too. I have it rsync the data once a week for backup purposes. The CentOS just sits there running for when I feal like doing something in a Red Hat distro, and Windows runs a few tools like DynDNS and OpenDNS that don't have Unix versions of their tools. I also use the Windows VM for a few other things form time to time like being able to pull up a file on Dropbox remotely that I need a Windows PC for from my phone for stuff like Quicken, etc...

I plan to build a new home server sometime in 2012, as this current machine is now 4 years old and 600 gigs isn't cutting it anymore for storage. I'll probably do MicroATX with two 2 or 3 TB disks and setup ZFS mirrors on seperate vmdks on each physical disk, and then to the same with LVM for Linux VMs. Won't bother mirroring Windows, as who cares about Windows anyway.... Smilie. I'll probably wait to do Solaris 11 when I build the new machine. It's all so time consuming.
# 14  
Old 01-03-2012
Interesting.
I mirrored Solaris, btw, not Windows.
If you want to set up a Solaris 11 home NAS, I definitely recommend you this article OpenSolaris derived ZFS NAS/ SAN (Nexenta*, OpenIndiana, Solaris Express) - [H]ard|Forum
This is were I got the idea from, and it's what I intend to build (with napp-it, that is). However, you still need to invest a LOT of time...
Good luck,
Cap'
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Create-aggr failed

Hi, I am trying to create aggregation by using dladm, But am getting the following error. dladm create-aggr -P L2 -l net2 sumaggr2 dladm: create operation failed: link busy I have checked in dladm show-link and the state is "down".. dladm show-link | grep ^net2 net2 phys ... (1 Reply)
Discussion started by: Sumanthsv
1 Replies

2. AIX

BootIP vs Persistent IP in HACMP

I have done other clusters (HP MC/Service Guard and oracle Clusters, and RHEL Cluster services), and have good idea about hacmp (a little older knowledge). However the term "Boot IP" for some reason is messing with my head. Have not done HACMP since the 4.1.2.X days. Is the Bootip the... (1 Reply)
Discussion started by: mrmurdock
1 Replies

3. Programming

Python Request Persistent

I noticed that when attempting to download videos from the url, I receive a 403 forbidden when I get through to a certain point in my downloads. I can download a third of the videos but will error: Retrieving file 'blah-video.f4v'... Traceback (most recent call last): ... (0 Replies)
Discussion started by: metallica1973
0 Replies

4. War Stories

Why am I persistent to be WRONG!

:wall::wall::wall::wall: I am sharing some techno-geeky-work related issue, which can best be dissected here only. I am expecting more of a discussion,as serious as when two guys sharing experience over smoke and beer. The thing is, till now i have been only a student, so never cared about how... (10 Replies)
Discussion started by: animesharma
10 Replies

5. AIX

PowerHA, same subnet for persistent and service ip

I am new in AIX and please forgive my poor english. I know that AIX allow same subnet IPs for different interfaces, which result in multipath routing / route striping. My question is, is there any best practice for the persistent and service IP with same subnet to stay on same interface, or... (5 Replies)
Discussion started by: skeyeung
5 Replies

6. AIX

Unable to add persistent IP

i am trying to make HACMP but when i add a persistent ip, error shows unable to determine address for 'UPIDGIS1_pers' pls help me out AIX - 5.3 HACMP -5.4 thanks (2 Replies)
Discussion started by: reply.ravi
2 Replies

7. AIX

HACMP Persistent IP blacklisted

Hi, I want to use the service IP incase for any network activity rather than the persistent IP as the Persistent IP is blacklisted in our network. Is there any way to make the service ip as LPARs default IP to be used as the lpars source IP incase it pings anything or acceses any external... (6 Replies)
Discussion started by: aixromeo
6 Replies

8. Shell Programming and Scripting

Persistent variable

I found a way to make a numeric variable persistent for a script : #!/bin/bash function Persist() { # 1:Expression like VARIABLE=Value (numeric) local V=${1%=*} eval "$1" sed -i "s/^$V=*/$1/" $(which $(basename $0)) || return 1 }And how to use itAA=12 read -p "Enter a... (2 Replies)
Discussion started by: frans
2 Replies

9. UNIX for Advanced & Expert Users

named pipe with persistent buffer

Hey folks, i need communicate between 2 processes in a reliable manner. The information delivery has to be guarenteed. I thought about proc 2 sending a signal to proc 1 when information has being written to disc and wirte() has been verified (sync/flush). The IPC method for the data is named... (4 Replies)
Discussion started by: heck
4 Replies

10. Solaris

different between soft reboot and hard reboot

Hi Guru's Can any want here could explain to me the different between soft reboot and hard reboot . Best Regards Seelan (3 Replies)
Discussion started by: seelan3
3 Replies
Login or Register to Ask a Question