How to create An Oracle Solaris 11 IPS/PKG Nagios Plugins Package The example below creates a Solaris Nagios Plugins package, I then show you how to publishes the Nagios pkg to your repository. Download required software First, download the latest NRPE and Nagios-plugins, you can download the Nagios plugins from here and the latest NRPE […]
Category: solaris-11.3
Updated: Pushed version-05 of – Creating A DevOps Like Environment In Oracle Solaris
I just pushed version-05 of – Creating A DevOps Like Environment In Oracle Solaris Below are the details of this update, for the code and full detail please check out the git repository here. Version 0.5 Added: This version adds the VM/Zone image rotate i.e. -r (–rotateImg) option. With this version you can now update/rollback […]
Fix / Workaround For Solaris SMF pkg/repositories-setup Maintenance Due To Proxy Issue
The workaround below should fix the issue with the SMF Repositories-Setup going into maintenance. Below is a workaround I used to address/fix the issue with the svc:/application/pkg/system-repository:default going in to maintenance. So I am to trying to install a zone on a fresh Solaris 11.4 server, by running the below.
1 2 3 4 5 6 7 8 9 10 |
zoneadm -z z1 install The following ZFS file system(s) have been created: rpool/VARSHARE.zones/z1 Progress being logged to /var/log/zones/zoneadm.20180917T163026Z.z1.install Image: Preparing at /system/zones/z1/root. Error Unable to enable svc:/application/pkg/system-repository:default, please enable the service manually. zoneadm: zone 'z1': ERROR:installation failed: zone switching to configured state The following ZFS file systems are being removed: /system/zones/z1/root. |
Note: The Solaris server […]
Configuring NAT Using PF Firewall in Solaris 11 / 12 Zones
Solaris 11/12 PF Firewall NAT Configuration Below is an update on how to configure NAT in Solaris 11/12, the original post used IPfilter(IPF). Since Solaris now officially switched to the BSD firewall(PF) I created the updated example below. Assumptions The network used in the kernel zones are 10.10.1.0/24 The network used on the global zone […]
Mounting An SMB / CIFS Share in Solaris 11
Mounting SMB / CIFS Shares in Solaris 11 Today I came across the need to mount a CIFS share on a Solaris server. The first thing you got a do, is set a user / password, you can do so by running the below.
1 |
smbadm show-shares -t nas1.domain.com -u admin1 |
Next, lest enable the SMB SMF service.
1 |
svcadm enable -r network/smb/client |
Now, lets […]
How to Configure Solaris 12 as a DNS server using bind
Installing and configuring a Bind DNS server on Solaris I was recently working with an openstack installation in a Solaris environment, and to simplify the configuration I had the need to configure my own DNS server. Below are the steps required to configure a Solaris 12(11.x) DNS server, the config was using BIND 9.x. Note: […]
Recommended Network Tuning For Oracle Database and Weblogic On Solaris
Recommended performance tuning in Solaris 11 for Oracle DB and Weblogic Recommended Oracle Database Tuning.
1 2 3 4 5 6 7 8 |
ipadm set-prop -p max_buf=16777216 tcp ipadm set-prop -p send_buf=2097152 tcp ipadm set-prop -p recv_buf=2097152 tcp ipadm set-prop -p _cwnd_max=2097152 tcp ipadm set-prop -p _conn_req_max_q=40000 tcp ipadm set-prop -p _conn_req_max_q0=40000 tcp #ipadm set-prop -p smallest_anon_port=10000 tcp #ipadm set-prop -p _time_wait_interval=10000 tcp |
Recommended Oracle Weblogic Tuning.
1 2 3 4 5 6 7 8 9 |
ipadm set-prop -p _time_wait_interval=6000 tcp ipadm set-prop -p _keepalive_interval=300000 tcp ipadm set-prop -p _ip_abort_interval=6000 tcp ipadm set-prop -p _conn_req_max_q=64000 tcp ipadm set-prop -p _conn_req_max_q0=64000 tcp ipadm set-prop -p send_buf=524288 tcp ipadm set-prop -p recv_buf=524288 tcp ipadm set-prop -p smallest_anon_port=10000 tcp ipadm set-prop -p _naglim_def=1 tcp |
Note: Some of the tuning ware completed due to using an IB stack. Tuning multiple Solaris Zones with a loop
1 2 3 4 5 6 7 8 9 |
for i in `zoneadm list -cv|grep excl|awk '{print $2}'` ;do zlogin $i ipadm set-prop -p _time_wait_interval=6000 tcp; done for i in `zoneadm list -cv|grep excl|awk '{print $2}'` ;do zlogin $i ipadm set-prop -p _keepalive_interval=300000 tcp; done for i in `zoneadm list -cv|grep excl|awk '{print $2}'` ;do zlogin $i ipadm set-prop -p _ip_abort_interval=6000 tcp; done for i in `zoneadm list -cv|grep excl|awk '{print $2}'` ;do zlogin $i ipadm set-prop -p _conn_req_max_q=64000 tcp; done for i in `zoneadm list -cv|grep excl|awk '{print $2}'` ;do zlogin $i ipadm set-prop -p _conn_req_max_q0=64000 tcp; done for i in `zoneadm list -cv|grep excl|awk '{print $2}'` ;do zlogin $i ipadm set-prop -p send_buf=524288 tcp; done for i in `zoneadm list -cv|grep excl|awk '{print $2}'` ;do zlogin $i ipadm set-prop -p recv_buf=524288 tcp; done for i in `zoneadm list -cv|grep excl|awk '{print $2}'` ;do zlogin $i ipadm set-prop -p smallest_anon_port=10000 tcp; done for i in `zoneadm list -cv|grep excl|awk '{print $2}'` ;do zlogin $i ipadm set-prop -p _naglim_def=1 tcp; done |
How To Install an IDR Pkg Using a p5p in Solaris 11
Installing / applying an IDR Pkg(patch) Using a .p5p in Solaris 11.x First we need to get the list of packages included in the p5p
1 2 3 |
pkg list -g file:////var/tmp/idr793.1.p5p NAME (PUBLISHER) VERSION IFO idr793 1 --- |
Then install the patch / package
1 |
pkg install -g file:////var/tmp/idr793.1.p5p idr793 |
If the above steps is not working, then you might need to unset the soalris publisher and set the p5p s as […]