DevTech101

DevTech101

Month: August 2014

Apple iOS certficate

cat /tmp/foo | openssl smime -sign -inkey ./demoCA/private/cakey.pem -signer ./demoCA/cacert.pem -certfile ./newreq.pem -noattr -nodetach -outform DER > apple-app-site-association  

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

ZFS restapi – openstack

curl –user root:password -k https://zfssa.domain.com:215/api/storage/v1/pools/HP-pool/projects|python -m json.tool curl –user root:password -k -i https://zfssa.domain.com:215/api/system/v1/version OpenStack scripts https://blogs.oracle.com/yappri/entry/zfssa_cinder_driver

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 »

Solaris 11.2 helpfull links

Solaris-specific Providers for Puppet (The Observatory) https://blogs.oracle.com/observatory/entry/solaris_specific_providers_for_puppet How to Get Started Creating Oracle Solaris Kernel Zones in Oracle Solaris 11 http://www.oracle.com/technetwork/articles/servers-storage-admin/howto-create-kernal-zones-s11-2251331.html Mandalika's scratchpad: Solaris 11.2 Highlights [Part 2] in 4 Minutes or Less http://technopark02.blogspot.com/2014/05/solaris-112-highlights-part-2-in-4.html?m=1  

How to clear an Oracle Enterprise Manager Ops Center stuck job

Solution to clear an Oracle Enterprise Manager Ops Center stuck job Solution Notes The solution below should work with any stuck job not willing to disappear, i.e. if you try stopping the job from the UI or CLI and its not working. The issue and solution below are even for the latest Oracle Enterprise Manager …

How to clear an Oracle Enterprise Manager Ops Center stuck job Read More »