How to create a Solaris IPS PKG

The below example creates a Solaris pkg from the Nagios application, you can then publishes the pkg to a Solaris repository. Note: To see how-to publish this pkg to a Solaris repository click here Extract legacy pkg to temp directory mkdir nrpe-pkg-source nagios-plugins-pkg-source pkgtrans nagios-plugins-1.4.16-sol10-i386-local nagios-plugins-pkg-source pkgtrans nrpe-2.14-sol10-i386-local nrpe-pkg-source Create a directory with all files …

How to create a Solaris IPS PKG Read More »

Nginx SMF for Solaris – Allowing Users Starting Nginx With SMF

Assigning access to any user to start Nginx Below are the steps needed to a user that will be allowed to start Nginx with the Solaris SMF system. Add to /etc/user_attr nginx::::auths=solaris.smf.manage.nginx Or just run usermod -A solaris.smf.manage.nginx nginx Add to /etc/security/auth_attr.d/local-entries solaris.smf.manage.nginx:::enable, disable and refresh nginx:: Create the service

Solairs 11 Physical (Global OS) to Virtual(P2V)

# Primary domain config ldm add-vcc port-range=5000-5100 primary-vcc0 primary svcadm enable svc:/ldoms/vntsd:default ldm set-vcpu 56 primary ldm set-memory 240G primary # Primary network config ldm add-vswitch pvid=2016 net-dev=aggr1 primary-vsw0 primary # CCOW config ldm create bk2-srv ldm set-vcpu 8 bk2-srv ldm set-memory 14G bk2-srv ldm set-variable auto-boot?=false bk2-srv # Ccow network config ldm add-vnet pvid=2016 …

Solairs 11 Physical (Global OS) to Virtual(P2V) Read More »

How to assign / allow users to start SMF service in Solaris

How to assign / allow users to start SMF service in Solaris Add to /etc/user_attr informix::::auths=solaris.smf.manage.informix Or just run usermod -A solaris.smf.manage.informix informix Add to /etc/security/auth_attr.d/local-entries solaris.smf.manage.informix:::enable, disable and refresh iwatch:: Create the service iWatch managed service Import the new service and enable svcadm import iwatch svcadm enable iwatch

Modifying Solaris SMF DNS Options

Enabling / Configuring a DNS Client in Solaris 11+ svccfg -s network/dns/client setprop config/search = svccfg -s network/dns/client setprop config/nameserver = net_address: “(” svccfg -s name-service/switch ‘setprop config/host=”files dns”‘ svccfg -s network/dns/client setprop config/ svccfg -s dns/client ‘setprop config/options = “timeout:1 attempts:1″‘ svcadm refresh network/dns/client name-service/switch svcadm restart network/dns/client name-service/switch You might also …

Modifying Solaris SMF DNS Options Read More »

How To Enable SR-IOV Support In a Solaris 11 LDOM or Zone

Solaris 11 SR-IOV support Below are notes on how to turn on SR-IOV on a Solaris Vnic – to be used in an LDOM or zone. SR-IOV VNICs Support SR-IOV was introduced by PCI-SIG as an industry-standard for IO virtualization. Support for SR-IOV was added to Solaris 11 on SPARC LDOMs platforms. Oracle Solaris 11.2 …

How To Enable SR-IOV Support In a Solaris 11 LDOM or Zone Read More »

Configuring Solaris 11 user as Primary Administrator

Configuring a user as Primary Administrator in Solaris To configure a User in Solaris 11.2 as Primary Administrator follow the below steps Note: Primary Administrator was removed in Soalris 11.2 because its of a security concern. /etc/user_attr sshsvc::::type=roles;lock_after_retries=no;defaultpriv=all;profiles=Primary Administrator,All /etc/security/prof_attr.d/core-os Primary Administrator:::Can perform all administrative tasks:auths=solaris.*,solaris.grant;help=RtPriAdmin.html /etc/security/exec_attr.d/core-os Primary Administrator:suser:cmd:::*:uid=0;gid=0