Linux performance observability tools diagram

linux_observability_tools

 

 

Advertisements

How to change Solaris Regulare User to have root Role

* Create Requlare User as Normal Solaris User 

root@node2# useradd -c “Comment” -d /export/home/User_Name User_Name
root@node2# useradd -c “Regulare User with root Role” -d /export/home/Support Support
                      -c Comment
                      -d User Home Directory
                      – User_Name

* Assign Password for User Support with Specifies the repository to which an operation is
applied. The supported repositories are files, ldap, or nis.
root@node2:/# passwd -r files Support
New Password:
Re-enter new Password:
passwd: password successfully changed for Support

* Assign the root Role to User Account (Support)
root@node2:/# usermod -R root Support

* Login by New User (Support)
bash-4.1$ whoami
Support
bash-4.1$ roles
root

Configure IP Address on Solaris 11

Configure IP Address Automatically (DHCP) on Solaris 11

Command to Enable Manual Profile(Enable Manual NCP) and static IP (Plumb Interface)
#netadm enable -p ncp DefaultFixed

Command shows the physical network cards that are installed on your system
#dladm show-phys

Command show the datalink on your System and status
#dladm show-link

Create and enable IP address on Network Card
#ipadm create-ip (Interface_Class) net0 (Interface_Name)

[Interface Class]

  • – IP Interface (create_ip)
  • – STREAMS Virtual Network Driver (create_vni)
  • – IPMP Interface (create_ipmp)

#ipadm create-ip net0

Command to Add IP Address to interface
#ipadm create-addr -T (Address_type) -a (IP_Address/[Subnet|prefixlen]) netwrk_Card_name (DataLink_name)
#ipadm create-addr -T static -a 192.168.1.1/24 net0/v4static

Command to display General status for interface
#ipadm show-if

Command to display IP address assign to interface
#ipadm show-addr

Configure IP Address Automatically (DHCP) on Solaris 11

Command to disable Manual Profile(Enable Automatic NCP) and DHCP IP (Plumb Interface)
# netadm enable -p ncp Automatic

Command shows the physical network cards that are installed on your system
#dladm show-phys

Command show the datalink on your System and status
#dladm show-link

Create and enable IP address on Network Card
#ipadm create-ip net0

Command to Sssign Automatic IP (DHCP) to interface
#ipadm create-addr -T dhcp net0/dhcp