DevTech101

DevTech101

os

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 = 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 …

Modifying Solaris SMF DNS Options Read More »

Running FileZilla on Solaris

Getting FileZilla to work on Solaris 11 Download the latest available binary for solaris from FileZilla-3.2.4-x86 Extract the source on tar zxf FileZilla-3.2.4-x86-OpenSolaris_2008-11.tar.bz2 Note: On newer versions of Solairs 11(or 12), you might need to add/link some old library’s to the path, or even getting form an older release, and added to the LD_LIBRARY_PATH Something …

Running FileZilla on Solaris 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

How to configure a Solaris 11 EVS switch

How to install and configure an EVS switch pkg install evs rad-evs-controller Configure the EVS switch evsadm set-prop -p controller=ssh://evsuser@app1.domain.com evsadm set-controlprop -p l2-type=vlan (default) evsadm set-controlprop -p vlan-range=1-4096 evsadm set-controlprop -h app1 -p uplink-port=aggr1 evsadm set-controlprop -h app2 -p uplink-port=aggr1 evsadm set-controlprop -h app3 -p uplink-port=aggr1 evsadm show-controlprop -p l2-type,vlan-range,uplink-port Set network tag evsadm …

How to configure a Solaris 11 EVS switch Read More »