Solaris 11 local IPS repository

How to create Local IPS repository

I will show you how to create a local IPS repository using the script provided by Oracle, first we need to download the repository zip files along withe the checksum file and the install script, copy the files to a temporary location on the server and execute the install script, this will create the repository on the location you’ve specified.

Then I will show you how to configure pkg/server service to publish the repository using http.

Continue reading “Solaris 11 local IPS repository”

Configuring DNS client on Solaris 11

How to configure DNS on Solaris 11.

Solaris 11 dns configuration is done through Service Management Facility. I will show you how to do this in this blog, most of the system configuration is now integrated with SMF on Solaris 11.

First you need to change name service search order and you will do this by using below command, we will be setting it to refer files (/etc/hosts) first and then dns.

root@server1:/# svccfg -s name-service/switch
svc:/system/name-service/switch>
svc:/system/name-service/switch> setprop config/host = astring: "files dns"
svc:/system/name-service/switch> exit
root@server1:/#
root@server1:/# svcadm refresh name-service/switch
root@server1:/# svcadm restart name-service/switch

Then we will set the search domains and DNS server IP addresses. when you add your local domains to search list, you don’t need to type the FQDN (hostname.domainname) to resolve the hostname, ex:  ping server1 instead of ping server1.lab.local.

root@server1:/# svccfg -s dns/client
svc:/network/dns/client>
svc:/network/dns/client> setprop config/search=astring: ("lab.local" "corp.lab.local")
setprop config/search=astring: ("lab.local" "corp.lab.local")
svc:/network/dns/client>
svc:/network/dns/client> setprop config/nameserver=net_address: (10.0.2.10 10.0.2.50)
svc:/network/dns/client>
svc:/network/dns/client> exit
root@server1:/#
root@server1:/# svcadm enable dns/client
root@server1:/#
root@server1:/# svcadm refresh dns/client
root@server1:/#

Alternatively you still have the option to import the nameservers/nsswitch using below commands.

First you need to modify /etc/resolve.conf and /etc/nsswitch.conf files then use below commands to import the configuration on to SMF.

root@server1:/# vi /etc/resolv.conf
root@server1:/# vi /etc/nsswitch.conf
root@server1:/#
root@server1:/# nscfg import -f svc:/system/name-service/switch:default
root@server1:/# nscfg import -f svc:/network/dns/client:default

 

Change Solaris 11 hostname

How to change Solaris 11 hostname.

Changing hostname on Solaris 11 is completely different to the way you change hostname on Solaris 10, on Solaris 10 you change it by editing files (/etc/nodename,/etc/hostname.interfacename and etc), but on Solaris 11 you have to do it using Service Management Facility (SMF).

Let’s get started.

Continue reading “Change Solaris 11 hostname”

EMC Networker 8.2 Active Directory LDAP authentication

Networker Active Directory/LDAP Authentication

Recently I had to configure EMC Networker to authenticate with Active Directory and decided to share it.

I’ve divided the installation into several steps so you can follow the same fairly easily.

  1. Create a user on AD for ldap authentication and create groups for Networker Administrators and Networker Users.
  2. Verify or configure name resolution for Networker server/etc. (DNS forward and reverse lookup).
  3. Verify ldap connectivity by executing ldapsearch against AD using the user we created on step 1.
  4. Logon to Networker console as a security administrator and configure LDAP parameters.
  5. Verify authentication.

Continue reading “EMC Networker 8.2 Active Directory LDAP authentication”

Solaris 11 installation guide

I thought of starting my blog with a guide on installing Solaris 11 since I love Solaris, I know there are so many guides on Solaris Installation but I thought of adding my own as a start.

First you need to download the Solaris Text ISO from below link and attach it to your VM and boot from the cdrom drive and start the Virtual Machine.

http://download.oracle.com/otn/solaris/11_3/sol-11_3-text-x86.iso

Continue reading “Solaris 11 installation guide”

My first post

I’m a systems administrator with a passion of learning new technologies and techniques and would like to share some of my experience with other like minded people, and also I’m planning to use this as a reference for  my own work.

I don’t have any prior experience on blogging and would appreciate if some of you can advice on ways to improve my blog.