aaaaa aaaaaa ddddddddddddddddddddddddddddddddddddddd










.

------------------------------------------------------------------------------------------------

Useraccounts


useradd
userdel
usermod
aaaaaa ddddddddddddddddddddddddddddddddddddddd
groupadd
groupdelete
chgroup









id
who
who am i
whoami
logins

/etc/passwd, /etc/shadow, /etc/group

sudo
------------------------------------------------------------------------------------------------

Hardware algemeen


prtdiag
prtdiag -v

psrinfo
psrinfo -p
psrinfo -pv
psrinfo -t

isainfo (Solaris) Instruction Set Architect informatie
------------------------------------------------------------------------------------------------

Disk / lun commando's


luxadm display
metastat
rmmount -l
root@sol-11-4:/media/VBOXADDITIONS_6.1.16_140961# rmmount -l
/dev/dsk/c2t1d0s2 cdrom,cdrom0,cd,cd0,sr,sr0,VBOXADDITIONS_6.1.16_140961,/media/VBOXADDITIONS_6.1.16_140961
root@sol-11-4:/media/VBOXADDITIONS_6.1.16_140961#
cdrw -l
root@sol-11-4:/media/VBOXADDITIONS_6.1.16_140961# cdrw -l
Looking for CD devices...
Node Connected Device Device type
----------------------+--------------------------------+-----------------
cdrom0 | VBOX CD-ROM 1.0 | CD Reader
root@sol-11-4:/media/VBOXADDITIONS_6.1.16_140961#

format
echo |format
------------------------------------------------------------------------------------------------

zpool commando's


Zfs:
List, history, get
zpool :
list, history, status, mirroring
------------------------------------------------------------------------------------------------

zone commando


zoneadm
zonecfg
------------------------------------------------------------------------------------------------

netwerk commando


ifconfig
ipadm
dladm
dlstat
netstat -rn
traceroute
route -p add/delete
netcat, nc
nslookup
host
dig
getent
/etc/resolv.conf
/etc/nsswitch.conf
SPARC: How to Ensure That the MAC Address of an Interface Is Unique : https://docs.oracle.com/cd/E23824_01/html/821-1458/geyqe.html
------------------------------------------------------------------------------------------------

Performance en tuning

------------------------------------------------------------------------------------------------
root@spococm:~# dladm show-aggr -L
LINK                PORT         AGGREGATABLE SYNC COLL DIST DEFAULTED EXPIRED
aggr1               net6         no           no   no   no   yes       no
--                  net10        yes          yes  yes  yes  no        no
aggr2               net4         yes          yes  yes  yes  no        no
--                  net8         yes          yes  yes  yes  no        no
root@spococm:~# dladm show-aggr -Lx
dladm: the option -L cannot be used with -x
root@spococm:~# dladm show-aggr -x
LINK       PORT           SPEED DUPLEX   STATE     ADDRESS            PORTSTATE
aggr1      --             10000Mb full   up        90:e2:ba:35:50:34  --
           net6           0Mb  unknown   down      90:e2:ba:35:50:34  standby
           net10          10000Mb full   up        90:e2:ba:35:5a:f8  attached
aggr2      --             10000Mb full   up        90:e2:ba:35:4a:d4  --
           net4           10000Mb full   up        90:e2:ba:35:4a:d4  attached
           net8           10000Mb full   up        90:e2:ba:35:4d:b8  attached
root@spococm:~# dladm show-aggr -S
	
	
------------------------------------------------------------------------------------------------

tijd


date
ntp
------------------------------------------------------------------------------------------------

Veritas cluster


Hastat, hagrp, hares
/var/VRTS.../..../engineA.log
/etc/VRTS.../conf/config/main.cf

------------------------------------------------------------------------------------------------

Solaris 11


svcs
svcadm
svccfg
svcprop

Certificaten


Self Signed certificaat maken
root@CBR-LDAP-SOL113:/export/home/srvadmin# mkdir certificates
root@CBR-LDAP-SOL113:/export/home/srvadmin# cd certificates
root@CBR-LDAP-SOL113:ort/home/srvadmin/certificates# openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
Generating a 2048 bit RSA private key
..............................+++
.....................+++
writing new private key to 'key.pem'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value, in server 2016
If you enter '.'active directory servers in server 2016, the field will be left blank.
-----
Country Name (2 letter code) []:NL
State or Province Name (full name) []:Groningen
Locality Name (eg, city) []:Groningen
Organization Name (eg, company) []:Bitsiel
Organizational Unit Name (eg, section) []:
Common Name (e.g. server FQDN or YOUR name) []:CBR-LDAP-SOL113.cbr.local
Email Address []:

root@CBR-LDAP-SOL113:ort/home/srvadmin/certificates#



Configurate Active Directry Certificates


dladm
Bridge create-bridge
delete-bridge
add-bridge
remove-bridge
modify-bridge show-bridge
Link Aggregation create-aggr
delete-aggr
add-aggr
remove-aggr
modify-aggr show-aggr
Etherstub create-etherstub
delete-etherstub
show-etherstub
EoIB create-eoib
delete-eoib
show-eoib
IB create-part
delete-part
show-ib
show-part
IP tunnel create-iptun
delete-iptun
modify-iptun show-iptun
Link show-link
show-linkprop
Secure Object create-secobj
delete-secobj
rename-link
reset-linkprop
set-linkprop
show-secobj
VLAN create-vlan
delete-vlan
modify-vlan show-vlan
VNIC create-vnic
delete-vnic
modify-vnic show-vnic
VXLAN create-vxlan
delete-vxlan
show-vxlan
Wifi connect-wifi
disconnect-wifi
scan-wifi show-wifi
Capture create-cap
delete-cap
show-cap
Miscellaneous delete-phys show-ether
show-phys