5ed1281650 In summary System Scan AIX is unique because it is more concerned with how the actual OS has been built and configured, and potential security and performance problems that may not even be included in your policies or practices, thus enabling you to actually improve the way you work now and in the future. When you see the [keyboard] word on screen hit the F5 button or the 5 key depending on your console. How to add an SSH key for remote access. Overview Connection State Are all service processors connected to my HMC? power5/6/7: hscroothmc> lssysconn -r all -F typemodelserialnum:ipaddr:state sort 9117-570*65AE18C:172.16.255.253:Connected 9117-570*65AE18C:172.16.254.255:Connected 9117-570*65AE2AC:172.16.255.254:Connected 9117-570*65AE2AC:172.16.254.254:Connected 9117-570*650D70D:172.16.255.252:Connected 9117-570*650D70D:172.16.253.255:Connected 9117-570*650D71D:172.16.254.253:Connected 9117-570*650D71D:172.16.255.251:Connected 9131-52A*065F7BB:172.16.253.254:Connected 9131-52A*065F8BA:172.16.254.252:Connected The link to the name of the managed system is the serial number - not the IP address! The IP addresses listed above are mounted on the service processor's private NIC and managed by the integrated DHCP server of the HMC. You can omit the field 'serialnum' if you don't need to know. LPAR Status That's how you get an overview of all systems controlled by your HMC: power4: hscroothmc> lslpars power5/6/7: hscroothmc> lssyscfg -r sys -F name:serialnum:state pserver1:656D24A:Operating pserver2:656FFFF:Operating The format string 'lparid:name:serialnum:state' also tells you the serial number of the systems.
Solaris Red Hat Ubuntu/Debian HP AIX Time daemons xntpd ntpd ntpd xntpd xntpd Time daemons ntp setup # Solaris 8 /etc/ntp.conf /etc/ntp.server /etc/ntp.client /etc/rc2.d/xntpd [startstop] # Solaris 10 /etc/inet/ntp.server /etc/inet/ntp.client svcadm enable ntpd /etc/ntp.conf (edit with ntp servers) dateconfig (GUI) chkconfig –list ntpd chkconfig –level 2345 ntpd on /sbin/service ntpd start /etc/default/ntp /etc/ntp.conf /etc/init.d/ntp [startstoprestart] /etc/rc.config.d/netdaemons (set XNTPD to 1) /etc/ntp.conf /etc/ntp.conf startsrc -s xntpd stopsrc -s xntpd lslpp -L allgrep xntpd ntp setup ntp daemon options /lib/svc/method/xntp /etc/sysconfig/ntpd /etc/default/ntp /etc/rc.config.d/netdaemons startsrc -s xntpd -a "-x" /etc/rc.tcpip ntp daemon options NTP Trace commands ntpq -p ntptrace ntpq -p ntptrace ntpq -p ntptrace ntpq -p ntpdate (set the date) ntpq -p ntptrace ntpdate NTP Trace commands . In the examples below we call a whole power frame (aka Managed System) pserver. 28th December How many disks do I have? aix commands: # lspv hdisk1 004ce4cf0ff6d5c6 rootvg active hdisk2 00c9b8fa3120beb9 rootvg active hdisk0 004ce65e242273d3 datavg active hdisk3 004ce4cf1e6fcd31 datavg active You can see from this example that the system has four physical disk/LUNs and they are assigned to two Volume Groups (rootvg and datavg). These subsets differ from user to user and from need to need. lsvg -l rootvg lchangelv cat /etc/filesystems Disk disk partitions List Raw Partitions use format to partition the disk then just use the slice as a raw partition, remember to use the character device ## Old way /etc/sysconfig/rawdevices service rawdevices start chkconfig rawdevices on ## New way, Edit below file /etc/udev/rules.d/60-raw.rules udevinfo -d or udevadm info ## Display raw partitions raw -qa mknod /dev/rawctl c 162 0 mknod /dev/raw/raw0 c 162 1 mknod /dev/raw/raw1 c 162 2 ln -s /dev/rawctl /dev/raw/rawctl ## map raw devices to the disk raw /dev/raw/raw1 /dev/sdb1 ## display raw devices raw -qa Just create a new LVOL without a filesystem - that's it. Soft Reset of an LPAR power4: hscroothmc> chsysstate -m pserver -r lpar -n mylpar -o reset power5/6/7: hscroothmc> chsysstate -r lpar -m pserver -o shutdown -n mylpar 2. For example, if you want to see the last 5 LED codes of an LPAR type hscroothmc> lsrefcode -m pserver -r lpar –filter "lparnames=mylpar" -n 5 -F lparname:refcode mylpar: mylpar:0c33 mylpar: mylpar:0539 mylpar:0538 .
Naymai replied
446 weeks ago