How to create a Solaris IPS PKG

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

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 […]

Read More

Nginx SMF for Solaris – Allowing Users Starting Nginx With SMF

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

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

Read More

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

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

# 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 […]

Read More

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

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

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

Read More

Modifying Solaris SMF DNS Options

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Configuring a DNS Client in Solaris 11+ svccfg -s network/dns/client setprop config/search = astring:domain.com svccfg -s network/dns/client setprop config/nameserver = net_address: “(8.8.8.8 4.4.4.4)” svccfg -s name-service/switch ‘setprop config/host=”files dns”‘ svccfg -s network/dns/client setprop config/search=domain.com 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 like How […]

Read More

Configuring Solaris 11 user as Primary Administrator

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

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

Read More