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”
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> setprop config/host = astring: "files dns"
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> setprop config/search=astring: ("lab.local" "corp.lab.local")
setprop config/search=astring: ("lab.local" "corp.lab.local")
svc:/network/dns/client> setprop config/nameserver=net_address: (10.0.2.10 10.0.2.50)
root@server1:/# svcadm enable dns/client
root@server1:/# svcadm refresh dns/client
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:/# nscfg import -f svc:/system/name-service/switch:default
root@server1:/# nscfg import -f svc:/network/dns/client:default
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”
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.
- Create a user on AD for ldap authentication and create groups for Networker Administrators and Networker Users.
- Verify or configure name resolution for Networker server/etc. (DNS forward and reverse lookup).
- Verify ldap connectivity by executing ldapsearch against AD using the user we created on step 1.
- Logon to Networker console as a security administrator and configure LDAP parameters.
- Verify authentication.
Continue reading “EMC Networker 8.2 Active Directory LDAP authentication”
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.
Continue reading “Solaris 11 installation guide”
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.