Skip to main content

Posts

Showing posts from March, 2016

How to configure a Pool/Pset and Assign to the Solaris Zone

How to configure a Pool/Pset and Assing it to the Solaris Zone Generate a file with the information below #vi poolnew create pset backup-pset (uint pset.min = 4; uint pset.max = 6 ) create pool pool_backup associate pool pool_backup (pset backup-pset) Now we have a minimun pset set in 4 and maximum set in 6 for a pool named backup in order to create our new pool_backup In the poolnew we have the configuration file in order to create the pool (line 2) and pset with min and max values, finally the association the all the information to the pool # cat poolnew create pset backup-pset (uint pset.min = 4; uint pset.max = 6) create pool pool_backup associate pool pool_backup (pset backup-pset) In the poolnew, now we have the configuration file in order to create the pool (line 2) and pset with min and max values, finally the association the all the information to the pool Apply the configuration with pooladm command # pooladm -c After applying the configuration you can ch

How to install Explorer Data Collector 8.11 Solaris 11

1.-Download from Oracle Support MOS the patch 22783063 and unzip and run the command below p22783063_8111638_SOLARIS64.zip #./install_stb.sh -verbose Extracting the STB payload ... Determining the check sums ... Sourcing STB library file ... List of Services Tool Bundle Components:    Oracle Explorer Data Collector 8.11    Oracle Serial Number in EEPROM (SNEEP) 8.11    Service Tag (ST) packages    Oracle Autonomous Crashdump Tool 8.17 (ACT) Would you like to (I)nstall, (X)tract, or (E)xit ? (I by default) X  <-----Select Extract (X) Extracting components for Solaris 11/sparc ...  Extracting IPS repository  Extracting SVR4 packages for Service Tag (ST) packages  - Package 5.11_sparc/SUNWsthwreg.sparc.5.10.pkg extracted Extraction to /var/tmp/stb/extract done Removing STB installation area ...   2.- Now you have in the directory "/var/tmp/stb/extract" de ipsrepo  # cd /var/tmp/stb/extract rwxr-xr-x   3 102      staff          4 Mar  8 11:28 ipsrepo -rw-r--r-- 

HOW TO RESTORE INFORMATION FROM NETWORKER USING SSID AND CLONEID

HOW TO RESTORE INFORMATION FROM NETWORKER USING SSID AND CLONEID 1.-You need to run the following command in order to check "Client, SSID (SaveSet ID), Clone ID, SaveSet Flag, Sumarize Flag, Client Name, Level (In this case Full ) and SaveTime (Backup Day)" #mminfo -q "client=disdb, savetime > 03/26/2016 00:00, level=full" -r "ssid,cloneid, ssflags, sumflags, volume, client, name, level, savetime"  ssid                     clone id ssflags fl volume         client          name                             lvl  date 3111111112   1444441111 vF    cb C00014         disdb      /oracle/u1                     full 03/26/16 3111111112   1444441111 vF    cb C00015         disdb      /oracle/u2                     full 03/26/16 3111111116   1444441111 vF    hb C00016         disdb      /oracle/u3                     full 03/26/16 3111111110   1400011123 vF    cb C00020         disdb      /oracle/u4                     full 03/26/16 2.-Execute t

HOW TO ENABLE A VIRTUAL INTERFACE (VNIC) SOLARIS 10

HOW TO ENABLE A VIRTUAL INTERFACE (VNIC) SOLARIS 10 1.-Verify the interfaces on the server that you need to add the ip in this example 10.1.1.8 # dladm show-phys LINK CLASS MTU STATE OVER bge0 phys 1500 unknown -- bge1 phys 1500 up --    2.-Now you need to create a virtual network interface or VNIC on the server #ifconfig bge1:1 plumb #ifconfig -a 3.-Finally you can add the new ip address and add on the server in /etc/hostname.bge1:1 the IP or the name that you defined on the hosts file with that ip #vi /etc/hostname.bge1:1 10.1.1.8 #ifconfig bge1:1 10.1.1.8 netmask 255.255.255.0 broadcast 10.1.1.254 up Regards Roger    

HOW TO INSTALL RSYNC SOLARIS 10 FOR SPARC PLATFORMS

HOW TO INSTALL RSYNC 3.1.1 SOLARIS 10 1.-Download the following packages   libintl-3.4.0-sol10-sparc-local.gz rsync.3.1.1.SPARC.32bit.Solaris.10.pkg libiconv.1.14.SPARC.32bit.Solaris.10.pkg   2.-Once you have the packages on the server you can do the following steps   libintl-3.4.0-sol10-sparc-local.gz rsync.3.1.1.SPARC.32bit.Solaris.10.pkg libiconv.1.14.SPARC.32bit.Solaris.10.pkg    3.-  Unzip the packages that are compressed and install them with pkgadd. #gunzip libintl-3.4.0-sol10-sparc-local.gz #pkgadd –d libintl-3.4.0-sol10-sparc-local   #pkgadd –d  rsync.3.1.1.SPARC.32bit.Solaris.10.pkg #pkgadd –d libiconv.1.14.SPARC.32bit.Solaris.10.pkg And now you can use the rsync Regards Roger   

HOW TO INSTALL NAGIOS SOLARIS 11.X WITH AGENT SOLARIS 10

HOW TO INSTALL NAGIOS SOLARIS 11.X WITH AGENT SOLARIS 10 1.- Download  solaris-nrpe-agent.tar.gz #wget http://assets.nagios.com/downloads/nagiosxi/agents/solaris-nrpe-agent.tar.gz 2.- Create the following Symbolic Links because nagios cl ient needs the f ollowing libssl and with solaris 11 .X it is pointing to libssl.so.1.0 .0 #ln -s /lib/libssl.so /usr/lib/libssl.so.0.9.7   #ln -s /lib/libssl.so /usr/lib/libcrypto.so.0.9.7 3.-Uncompress the tar.gz file " solaris-nrpe-agent.tar.gz" #tar -xvf solaris-nrpe-agent.tar.gz  4.- Edit the following script " solaris-nrpe-agent/init.sh" and change the line "5.10" for "5.11" as below    if [ $ver = "5.10" ] put    if [ $ver = "5.11" ] 5.- Finally execute the installation script #./fullinstall  6.- In the line "allowed_hosts" add the nagios server or servers   allowed_hosts=127.0.0.1, 10.1.1.2 7.- Restart th