Search
Excellent Resources
Great Forums
Helpful Blogs
Category Archives: Solaris
Solaris 10: Verify the integrity of OS Executable and Linkable Format files
Starting from Solaris 10, most operating system ELF (Executable and Linkable Format) objects have been digitally signed. To verify that a file hasn’t been tampered with, we can use the command “elfsign”. Note that this utility verifies that contents of … Continue reading
Posted in Cryptography, security, Solaris
Tagged Cryptography, security, Solaris, Solaris 10
Leave a comment
Solaris HOW-TO: Enable/Disable FTP Logging
To enable/disable FTP logging in Solaris 10, the “inetadm” utility can be used for that. First, list the properties of the ftp service: root@hamdan # inetadm -l svc:/network/ftp SCOPE NAME=VALUE name=”ftp” endpoint_type=”stream” proto=”tcp6″ isrpc=FALSE wait=FALSE exec=”/usr/sbin/in.ftpd -a” user=”root” default bind_addr=”" … Continue reading
Posted in ftp, ftp logging, HOW-To, inetadm, network, security, smf, Solaris
Tagged ftp, ftp logging, how-to, inetadm, Network, security, smf, Solaris, Solaris 10, svcadm, svccprop
2 Comments
Solaris HOW-TO: Delete a Solaris Container (Zone)
To completely delete a Solaris zone follow the following steps: (Note: Backup should be taken because once a Zone is deleted, it can’t be recovered!) 1. Shut down the zone: zoneadm -z <zone_name> halt 2. Uninstall the zone: zoneadm -z … Continue reading
Posted in Containers, Solaris, Virtualization, Zones
Tagged containers, Delete zone, Solaris, Virtualization, zones
Leave a comment
Solaris Containers (Zones) Administration
To view the performance stats of the zones, run “prstat -Z” from the global zone. In the examples below, we will assume that the machine has a zone called “testzone”. To list the zones configured in the machine, run “zoneadm … Continue reading
Posted in Containers, Solaris, Virtualization, Zones
Tagged containers, Solaris, Virtualization, zones
2 Comments
Solaris HOW-TO: Create Solaris Containers (Zones)
This is a simple example to show how to create a Solaris Container (Zone). Assume that the zone name is “testzone”. The zone will be installed in “/export/testzone”. Assume that the network interface “e1000g0″ is plumbed, so we can use … Continue reading
Posted in Containers, HOW-To, Solaris, Virtualization, Zones
Tagged containers, Solaris, Virtualization, zones
Leave a comment
Solaris HOW-TO: Check Network Interfaces
In Solaris 10, to know how many network interfaces the system has, use the command “dladm show-dev”. For example: # dladm show-dev e1000g0 link: down speed: 0 Mbps duplex: half e1000g1 link: unknown speed: 0 Mbps duplex: half e1000g2 link: … Continue reading
Solaris HOW-TO: Change the locale
To view the locale of a Solaris server, use the “locale” command: root@hamdan # locale LANG=C LC_CTYPE=”C” LC_NUMERIC=”C” LC_TIME=”C” LC_COLLATE=”C” LC_MONETARY=”C” LC_MESSAGES=”C” LC_ALL= root@hamdan # To change the locale, first you need to know the possible locale values, by issuing … Continue reading
Posted in locale, profiles, Solaris, User Administration
Leave a comment
Solaris HOW-TO: Get the WWN of a Solaris host
To get the port WWN for Solaris, execute the following command: root@hamdan # prtconf -vp | grep -i wwn port-wwn: 21000000.c9617b79 node-wwn: 20000000.c9617b79 port-wwn: 20010000.c9611e8b node-wwn: 20010000.c9611e8b root@hamdan # From Solaris 10 onwards, the command “fcinfo hba-port” can also be … Continue reading
Solaris HOW-TO: Check SAN storage connectivity
To check the SAN storage connectivity to a Solaris box, run the following command from a Solaris shell: # luxadm probe No Network Array enclosures found in /dev/es Found Fibre Channel device(s): Node WWN:50101ae1500a00c0 Device Type:Disk device Logical Path:/dev/rdsk/c3t600518A401054D230100B00F01D30100d0s2 # … Continue reading
Solaris HOW-TO: Check CPU idle time
A very useful tool in Solaris to get the average idle time for CPU is the “sar” (System Activity Report) utility. This tool is particularly useful for performance analysis, as it also shows the percentage of CPU used by users … Continue reading
Posted in HOW-To, Performance, Solaris
Leave a comment