So I upgraded my solaris server to latest kernel patch and of course it had sendmail as part of that kernel. My emails stopped flowing around. Was looking how to fix it as my home server is my default mail gateway for my email. So anyway in my sendmail config I had the following lines:
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
O DaemonPortOptions=Port=587, Name=MSA, M=E
so I changed them to all 0′s:
O DaemonPortOptions=Port=smtp,Addr=0.0.0.0, Name=MTA
O DaemonPortOptions=Port=587, Name=MSA, M=E
then I removed the Addr field
# SMTP daemon options
O DaemonPortOptions=Name=MTA
O DaemonPortOptions=Port=587, Name=MSA, M=E
Read more…
So Sun, ups, I think I should say Oracle released Solaris 10 U7. Here are the few things what I did find whats new:
•System Resources Enhancement
- Support Added for Using ZFS Clones When Cloning a Zone
- zoneadm attach -b Option. You can back out certain patches from update on attach
•System Administration Enhancements
- SMF Services for IPsec. IPsec is now managed by SMF services
•Security Enhancement
- NAT-Traversal for IPsec Key Management Developers
- Stronger Algorithms for IPsec. Three larger Diffie-Hellman integer-modulus groups (2048-bit, 3072-bit, and 4096-bit) as well as SHA2 including sha256, sha384, and sha512? SHA-2 using HMAC.
- SunSSH With OpenSSL PKCS#11 Engine Support
•Device Management Enhancements
- x86: T-State Support for Intel Based Processors
•System Performance Enhancements
- Large Segment Offload Support for Intel PCI Express 10Gb NIC Driver
- Solaris Power Aware Dispatcher and Deep C-State Support
•Developer Tools Enhancements
- SunVTS 7.0 Patch Set 5
- x86: CPU Performance Counter Updates for Intel Processors
- SUNWpatchutils Tool
•Driver Enhancements
- hermon Driver
- iSCSI Target – upgraded and several performance, scalability, interoperability, and reliability improvements.It´s not the COMSTAR target.
- x86: NetXen 10-GigE Device Driver
- Intel ICH10 and Hartwell NIC Support in E1000g Driver
- xge Driver Can Enable Multiple Receive Rings and MSI-X
•Other Enhancements
- New Locale Support for Kazakhstan and Ukraine
- SPARC: Fp-scrubber Daemon
Read more…
I have solaris 10 and I have test user, I have then direcotry created as events, when I do rm -r events I get the following error:
rm: cannot determine if this is an ancestor of the current working directory events
rm -rf does not even show me anything but directory is not being removed
One of the solutions that I’ve found in my case was to change user to root even though the owner of the diretories or files is test, of try the following comand:
find . -depth -exec rmdir {} \;
Some time ago there used to be UNIX magazine called Sys Admin, it was great and I did like it a lot, had lots of great articles and practical how-to’s, then it just did disapear. I did capture one of those articles which I found quite usefull in creating mysql cluster but also it has great exmple on solris 10 zones nd resource control. Hope its author will not mind, but if he does I can take it down.
Sys Admin MySQL 5 Cluster with Solaris(TM) 10 Zones-ZFS-Resource Control
Derek Crudgington
Read more…
Starting up opsware on solaris is not a problem and its done quite easily, now doing this on solaris 10 via smf is not that difficult either, I wish opsware did this out of the box, but still not a big deal. There used to be service called: es.opensolarisblog.org/easySMF where you could construct xml file quite easily for this. I cant find this URL to be working any longer so I wanted to make sure that I put all that stuff out what I have
First you need xml file. This is what I have that I was able to create back when that website was available:
$ cat smf_opsware.xml
<?xml version=”1.0″?>
<!DOCTYPE service_bundle SYSTEM “/usr/share/lib/xml/dtd/service_bundle.dtd.1″>
<!–
Read more…
To mount /root/sparc.iso file under /mnt directory.
issue the following commands.
# lofiadm -a /root/sparc.iso /dev/lofi/1
# mount -F hsfs -o ro /dev/lofi/1 /mnt
to unmount
# umount /mnt
# lofiadm -d /dev/lofi/1
Note: lofi = loopback file driver
Read more…
In the past you had real CPU’s and it was not a problem to determine what exactly you had in your SPARC system, now days with multi core and multi threaded CPU’s its more and more difficult to figure out if you have just one socket (real CPU) or multiple cores or even threads as it is on T2000 series.
Easiest way is to take a look at the following command with -pv options:
# psrinfo -pv
The physical processor has 2 virtual processors (0 16)
UltraSPARC-IV+ (portid 0 impl 0×19 ver 0×22 clock 1500 MHz)
The physical processor has 2 virtual processors (2 18)
UltraSPARC-IV+ (portid 2 impl 0×19 ver 0×22 clock 1500 MHz)
# uname -a
SunOS server1 5.10 Generic_137111-08 sun4u sparc SUNW,Sun-Fire-V490
#
# psrinfo -pv
The physical processor has 16 virtual processors (0-15)
UltraSPARC-T1 (cpuid 0 clock 1000 MHz)
# uname -a
SunOS server2 5.10 Generic_137111-08 sun4v sparc SUNW,Sun-Fire-T200
#
Read more…
[00:19:25] root@chrysek: /root > cd /usr/openv/netbackup/bin
[00:19:36] root@chrysek: /usr/openv/netbackup/bin > ./bmrsrtadm
Select one of the following options:
1. Create a new Shared Resource Tree.
2. Create a new CD image based Shared Resource Tree.
3. Copy an existing Shared Resource Tree to a new location.
4. Import a Shared Resource Tree.
5. Modify an existing Shared Resource Tree.
6. Delete an existing Shared Resource Tree.
7. List Shared Resource Trees available on this server.
8. Quit.
Enter your selection (1-8) [1] : 1
Enter the name of the SRT to create : Solaris_10_u5
Enter the description of the new SRT : Solaris 10 Update5
Enter desired level of Solaris/SunOS (8/5.8, 9/5.9 or 10/5.10) [5.10] : 5.10
Enter the directory in which to place the new SRT [/d/d3/nb1_srt] :
Enter a [hostname:/]pathname containing a suitable Solaris 5.10
Boot CDROM or SRT image [/cdrom/cdrom0/s0] :
This step may take considerable time. Please wait…
svccfg (/tmp/SvccfgCmdFile1210480137, line 7): Conflict upgrading svc:/network/rpc/bind (property “config/local_only” has different values).
Preparing boot files – please stand by…
Enter a [hostname:]/pathname containing Veritas NetBackup Client software [/d/d4/NetBackup_6_5/1/NB_65_CLIENTS3_20070723] : /d/d3/d4/NetBackup_6_5/1/NB_65_CLIENTS3_20070723
Symantec Installation Script
Copyright 1993 – 2007 Symantec Corporation, All Rights Reserved.
Installing NetBackup Client Software
Read more…
ps -efo vsz,pid,comm | sort -rn
[09:49:32] root: /export/home/appl > prtconf -vp | grep wwn
port-wwn: 210000e0.8b8613ae
node-wwn: 200000e0.8b8613ae
port-wwn: 210000e0.8b8f4d67
node-wwn: 200000e0.8b8f4d67
[09:49:34] root: /export/home/appl > prtpicl -v -c scsi-fcp | grep wwn
:node-wwn 20 00 00 e0 8b 86 13 ae
:port-wwn 21 00 00 e0 8b 86 13 ae
:node-wwn 20 00 00 e0 8b 8f 4d 67
:port-wwn 21 00 00 e0 8b 8f 4d 67
[09:50:01] root: /export/home/appl >