This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ansible-box ~]# ansible all -i mylist -m command -a "uptime" | |
box2 | SUCCESS | rc=0 >> | |
07:15:49 up 1:12, 2 users, load average: 0.00, 0.00, 0.00 | |
box1 | SUCCESS | rc=0 >> | |
07:15:49 up 15 min, 2 users, load average: 0.00, 0.00, 0.00 | |
[root@ansible-box ~]# ansible all -i mylist -m command -a "id" | |
box2 | SUCCESS | rc=0 >> | |
uid=0(root) gid=0(root) groups=0(root) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ansible-box ~]# ansible all -m ping -i mylist | |
box2 | SUCCESS => { | |
"changed": false, | |
"ping": "pong" | |
} | |
box1 | SUCCESS => { | |
"changed": false, | |
"ping": "pong" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(parted) print | |
Model: DELL PERC H730P Mini (scsi) | |
Disk /dev/sdc: 3599GB | |
Sector size (logical/physical): 512B/4096B | |
Partition Table: gpt | |
Disk Flags: | |
Number Start End Size File system Name Flags | |
1 0.00GB 3599GB 3599GB primary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(parted) unit GB | |
(parted) mkpart primary 0 3599.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(parted) mklabel gpt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(parted) print | |
Model: DELL PERC H730P Mini (scsi) | |
Disk /dev/sdc: 3599GB | |
Sector size (logical/physical): 512B/4096B | |
Partition Table: gpt | |
Disk Flags: | |
Number Start End Size File system Name Flags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ams-srv-101 Unix]# parted /dev/sdc | |
GNU Parted 3.1 | |
Using /dev/sdc | |
Welcome to GNU Parted! Type 'help' to view a list of commands. | |
(parted) help | |
align-check TYPE N check partition N for TYPE(min|opt) alignment | |
help [COMMAND] print general help, or help on COMMAND | |
mklabel,mktable LABEL-TYPE create a new disklabel (partition table) | |
mkpart PART-TYPE [FS-TYPE] START END make a partition |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ams-srv-101 Unix]# fdisk -l /dev/sdc | |
Disk /dev/sdc: 3599.5 GB, 3599451029504 bytes, 7030177792 sectors | |
Units = sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 4096 bytes | |
I/O size (minimum/optimal): 4096 bytes / 4096 bytes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ams-bkp-101 Unix]# simpana status | |
--------------------------------- Instance001 --------------------------------- | |
[ General ] | |
Version = 11(BUILD80) SP10 | |
CommServe = ams-comserv-102.example.com | |
Home Directory = /opt/simpana/commvault/Base | |
Log Directory = /var/log/commvault/Log_Files | |
Core Directory = /opt/simpana/commvault | |
Temp Directory = /opt/simpana/commvault/Base/Temp | |
Platform Type = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ams-bkp-101 Unix]# ./cvpkgadd | |
Using update installer /root/.gxsetup/cvpkgadd/newinstall: | |
- unzipped from /bkp/Unix/linux-x8664/LooseUpdates/Updates/linux-x8664_11.0.0B80-SP10_SP10-HotFix-2166/linux-glibc2.3-x86_64/installer/nwinstall.gz | |
- v1180792 15488KB gzipped at XBuildNJ11 on 18-02-09 11:56:57 by pbuilder | |
Preparing .. READY. | |
EXTRACT_DIR = /root/.gxsetup/cvpkgadd |