Tuesday, August 27, 2013

.::: How to Check Host ID, UUID on Solaris & Check Solaris Version :::.

1. Check Host ID Solaris

The Hostid is a globally unique ID for a Sun Solaris Machine. Sometimes, you need to change this hostid for whatever purpose. For example, you current machine is down for hardware failure and you purchased a new machine.

However, all your current running software are based on this old hostid, and you must bring the new machine up within a very short time. The quick solution is to change the new machine’s hostid to be as same as the old one.

.::: How To Enable VNCserver on Solaris 10 :::.

Abstract:
Open Systems have traditionally been accessed via Command Line. MIT create a fully object oriented, multi-tiered, open source windowing system called X Windows, which was quickly adopted by nearly all computing industry players. While X Windows is well suited for local area network technology, the need for wide area network technology was addressed through several different attempts, such as X11R6 "Broadway" and proxies leveraging compression. A lighter WAN suitable screen display protocol, referred to as Virtual Network Computing (VNC) is also commonly used for X displays.
bagaimana cara mensetting vncserver di solaris 10
Procedure:

.::: How To Setting NTP Server & Client In Solaris 10 :::.

Setting NTP ( Network Time Protocol) on Solaris 10

Example add the IP NTP Server (example 10.10.10.10) of the "server" and comment out `fudge 127.127.XType.0 stratum 0`

A. Configuring an NTP Server

1. Go to Directory # cd /etc/inet
Log :
root@teguht # cd /etc/inet
root@teguht # ls

.::: How To Setting SNMP On Solaris 10 :::.

Simple Network Management Protocol (SNMP) is an "Internet-standard protocol for managing devices on IP networks." Devices that typically support SNMP include routers, switches, servers, workstations, printers, modem racks, and more. It is used mostly in network management systems to monitor network-attached devices for conditions that warrant administrative attention. SNMP is a component of the Internet Protocol Suite as defined by the Internet Engineering Task Force (IETF). It consists of a set of standards for network management, including an application layer protocol, a database schema, and a set of data objects

Study Case change Snmp community from "public" to "teguht" on server root@teguht
Download SNMP Tester

A. Step by step setting & change SNMP on Solaris 10

1.    Login to Server Using "root"
Log :
root@teguht # id
uid=0(root) gid=0(root)
root@teguht #

:: How to Change the Hostid In Solaris :::.

bagaimana cara mengubah hostid di Solaris
The Hostid is a globally unique ID for a Sun Solaris Machine. Sometimes, you need to change this hostid for whatever purpose. For example, you current machine is down for hardware failure and you purchased a new machine. However, all your current running software or License are based on this old hostid, and you must bring the new machine up within a very short time. The quick solution is to change the new machine’s hostid to be as same as the old one.

There are several ways to do so, including using a program to flush NVRAM which will change the hostid permanently. I did following experiment to change the Hostid in a Solaris 10 machine temperately. It adds several lines in the /etc/rc2.d/S20sysetup file. If you want to restore the original hostid, you just need to remove these lines and reboot the machine.

Example Change hostid from c93256a to 850168ae

No Item Hostid  Decimal Hex Value  Remak
1 Host ID Original c93256a 210969962 32 31 30 39 36 39 39 36 32  -
2 New Host ID 850168ae 2231462062 32 32 33 31 34 36 32 30 36 32 -

.::: How To Change IP Address Without Reboot In Solaris 10 :::.

bagaimana cara ubah IP tanpa Reboor/restart
Adding or editing the IP address on a Solaris 10 server is different from the previous versions of the OS (Solaris 9, Solaris 8 etc).

In the previous versions of the Solaris Operating System, you need to edit the /etc/hosts file and add/edit the entry for the IP address and the hostname.

Example:

    192.168.1.1   solaris-teguh

.::: Solaris Network Configuration :::.

Setting up Solaris networking often becomes challenging for the new sysadmins and new owners of Sun systems . This document details the steps involved in setting up of Solaris networking and can be used as a check list if you are already familiar with Solaris network configuration .

Table of contents :

.::: How To: Add a Static Route (persistent) in Sun Solaris :::.

Bagaimana menambahkan Static Router pada Solaris 8, 9, 10
To add a Static Route in Sun Solaris operating system, you can use the route command. This will dynamically update the Kernel IP Routing table. However, when a server is restarted, these routes will be lost. To prevent this from happening, add a startup script S76static-routes with all the route commands for the static route that needs to persist. This will ensure that the route gets added at boot time.


To use the route command,

.::: How To Setting Remote, Telnet, SSH, FTP, Xbrowser, IP, Hostname, Patch, Alias After Fresh Installation Solaris 10 :::.

Bagamana cara Setting Remote, Telnet, SSH, FTP, Xbrowser, IP, Hostnamem, Patch, Alias setelah Install Solaris 8, 9, 10
Solaris

Sample IP 10.10.10.10 netmask 255.255.255.0 gateway 10.10.10.1
1. Check Netmask

bash-3.00# more /etc/netmasks
#
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
#

.::: How to Install Solaris Packages, Patches & Bundle Recommended Patches 10_x86_Recommended.zip in Oracle Solaris 10 Include SUNWi15cs, SUNWi1cs :::.

Bagaimana Cara Install Solaris Packages, Patches & Install Bundle Recommended Patches 10_x86_Recommended.zip in Oracle Solaris 10(Ext Sun Solaris 10) 


1. Install Additional Solaris packages required

== Check Status Packages before Patch ==
root@teguht #pkginfo SUNWi15cs SUNQi1cs
ERROR: information for "SUNWi15cs" was not found
ERROR: information for "SUNQi1cs" was not found
root@teguht #

== Alternative 1 = Install packages Solaris ==
root@teguht #pkgadd -d /cdrom/cdrom0/Solaris_10/Product SUNWi15cs

Processing package instance <SUNWi15cs> from </cdrom/sol_10_910_x86/Solaris_10/Product>

Monday, August 26, 2013

.::: How To Backup, Extract, Display Content files with Tar, Compress & extract using Gzip, Gunzip(.gz) :::.

Solaris tar command to backup data on tape device. Tar name come from Tape ARchiver. It is both a file format and the name of the program used to handle such file. Tar archive files have names ending in ".tar". If an archive is compressed, the compression program adds its own suffix as usual, resulting in filename endings like ".tar.Z", ".tar.gz", and ".tar.bz2". Tar doesn't require any particular filename suffix in order to recognize a file as an archive. Tar was originally created for backups on magnetic tape, but it can be used to create tar files anywhere on a filesystem. Archives that have been created with tar are commonly referred to as tarballs.

1. Creating a tarball/new set of backup.

Friday, August 23, 2013

..::: How to Create a Backup Script Using the ROBOCOPY & Scheduling On Windows :::.

ROBOCOPY can be likened to an extension of XCOPY on steroids. Some of the more important features that make ROBOCOPY an attractive backup alternative are:
  • multi-threaded copying
  • mirroring or synchronisation mode between the destination and source
  • automatic retry and copy resumption
Applies To : Windows 7, Windows 8, Windows Server 2008, Windows Server 2012
Type : Copies file data.

.::: How to Delete a Windows Service On Windows :::.

If you are a fan of tweaking your system and disabling services, you might find that over time your Windows Services list becomes huge and unwieldy with a large number of services in the list that will never be enabled.

Instead of just disabling a service, you can alternatively completely delete the service. This technique can be especially helpful if you’ve installed some piece of software that doesn’t uninstall correctly, and leaves an item in the service list.

Important Note: Once you delete a service, it’s gone, and it’s going to be a pain to add it back. Use with caution.

.::: How To Install Oracle 12 On Windows Server 2012 (Include Uninstall Oracle Database) :::.

Oracle is a popular database product in the world, has many customers, and have complete feature as a database.

While Solaris 10 is an operating system that also famous for reliable, stable, and has a large user base. Combined they will produce a reliable server, with high performance.

Popular Posts