SlideShare a Scribd company logo
1 of 8
Download to read offline
Server Management with Remove
Don MacVittie, Sr. Solutions Architect
Overview
•  There are some things in Stacki that you
can only do with Remove commands. This
tutorial takes you over the most common
remove commands and offers an overview
of how they work.
Removing Hosts
NOTE:
Removing a host will remove it and all the entries about it from the database. If
command-line customizations have been implemented – such as adding routes –
those customizations will be lost with remove host, and will require re-entry if the
host is ever returned to the system.
[root@stackihw ~]# stack list host
 
HOST RACK RANK CPUS APPLIANCE DISTRIBUTION RUNACTION INSTALLACTION
stackihw: 0 0 1 frontend default os install
backend-0-1: 0 1 4 backend default os install
backend-0-2: 0 2 1 backend default os install
puppet: 0 3 4 backend default os install
 
[root@stackihw ~]# stack remove host backend-0-2
 
[root@stackihw ~]# stack list host
 
HOST RACK RANK CPUS APPLIANCE DISTRIBUTION RUNACTION INSTALLACTION
stackihw: 0 0 1 frontend default os install
backend-0-1: 0 1 4 backend default os install
puppet: 0 3 4 backend default os install
 
[root@stackihw ~]#
 
 
Later, the host can be
re-added by adding it with
any of the normal methods.
Stacki will see it as a new
server, simply because
remove deleted all trace of it
from the system.
stack remove host [hostname]
Removing host Bootaction
•  Effectively removes the server from management by Stacki.
•  Tells Stacki to do nothing when this machine boots and asks what to do. This causes the machine to boot to
local disk, just as it would if bootaction was set to “os”, except that stacki never gets a say.
•  This is useful in place of Remove host because all customizations are kept, though it is functionally the same
as removing the host from the Stacki database.
[root@stackihw ~]# stack list host boot
HOST ACTION
stackihw: -------
backend-0-1: install
puppet: os
 
[root@stackihw ~]# stack remove host boot backend-0-1
 
[root@stackihw ~]# stack list host boot
HOST ACTION
stackihw: ------
backend-0-1: ------
puppet: os
 
 
Remove outdated routes
stack remove route and stack remove host route will remove
routing information from the routing table. This is useful when
access needs or routes change.
After the command, don’t forget to sync host network so the
changes you just made to the database are propagated to the
server
[root@stackidon ~]# stack remove host route backend-0-0 address = 0.0.0.0
[root@stackidon ~]# stack sync host network backend-0-0
 
 
 
 
Remove SSH Keys
User-defined SSH keys can
be cleaned up using remove
host key. Default keys cannot
be removed in this manner.
First, list the keys, then get the
“ID” field, use that to pass which
key into remove host key. Done.
[root@stackihw ~]# stack list host key
HOST ID PUBLIC KEY
puppet: 1 ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQD0+98qKuKvry9rFfCCHI4QunO6ompIqqLL8Z5R0cJ0Gdmkvd69
g9JZMX0zJ4LbQBpICLyvz3nneZQ8fLFG6B0DlxibQQd2/Ds27mG5lmcqKsBtE47LQiD48dAq
+9aYaoD8J/eqP1rbk4eQk+nkhnqFnBLjcg2RnFULDnSHtXftK6pEjTEFVcacmtLxwQjMlBTxk4c/
veKwDtzazuo1nqVHl734s4nyxOQeN4qMQym6Jmuzb5W9hOCa0kzFtZkiibiiEN5RciAFOW0j5ztKkLKq
9Cg3y17y9jz355hQ6LwHHZqPkmPuFWhAQGTdkH5GGSSKkkWJDIi9/uZMXXbVJozR
root@stackihw.nandgate.com
-------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-------
 
[root@stackihw ~]# stack remove host key puppet id=1
 
[root@stackihw ~]# stack list host key
 
[root@stackihw ~]#
 
 
And attributes
stack remove attr attr=[attrname]
stack remove host attr [hostname] attr=[attrname]
stack remove appliance attr [appliance_name] attr=[attrname]
The three commands below all do the same thing at different levels. The first removes a
globally defined attribute, the second, a host visible attribute, and the third, an
appliance visible attribute.
Note that some attributes, particularly at the global level, are required for proper
operation of Stacki. We strongly recommend you only change attributes you have
created, or ones that you know exactly what they do.
Stacki Resources
•  There is a lot more to Stacki than this few slides can show. Join us at the links

below to explore Stacki’s rich command structure and see how it answers your

problems.
Quick access to Stacki resources:
•  Visit www.Stacki.com to download a pre-build ISO for RHEL/CentOS 6 & 7 and to sign up

for our charter program
•  Stacki source code is available on the StackIQ GitHub: https://github.com/StackIQ/stacki
•  Engage with other users and developers in the Stacki Google Group:
https://groups.google.com/forum/#!forum/stacki
Follow us on Twitter @StackIQ

More Related Content

What's hot

How To Install and Use ABRT CLI on RHEL 7
How To Install and Use ABRT CLI on RHEL 7How To Install and Use ABRT CLI on RHEL 7
How To Install and Use ABRT CLI on RHEL 7VCP Muthukrishna
 
How To Protect SSH Access with Fail2Ban on RHEL 7
How To Protect SSH Access with Fail2Ban on RHEL 7How To Protect SSH Access with Fail2Ban on RHEL 7
How To Protect SSH Access with Fail2Ban on RHEL 7VCP Muthukrishna
 
Mercurial for Kittens
Mercurial for KittensMercurial for Kittens
Mercurial for Kittensnya3jp
 
How To Install and Configure SUDO on RHEL 7
How To Install and Configure SUDO on RHEL 7How To Install and Configure SUDO on RHEL 7
How To Install and Configure SUDO on RHEL 7VCP Muthukrishna
 
How to install squid proxy on server or how to install squid proxy on centos o
How to install squid proxy on server  or how to install squid proxy on centos oHow to install squid proxy on server  or how to install squid proxy on centos o
How to install squid proxy on server or how to install squid proxy on centos oProxiesforrent
 
Configuration IPTables On CentOS 8
Configuration IPTables On CentOS 8Configuration IPTables On CentOS 8
Configuration IPTables On CentOS 8Kaan Aslandağ
 
Install cacti on open suse 13
Install cacti on open suse 13Install cacti on open suse 13
Install cacti on open suse 13Vanda KANY
 
oracle cloud with 2 nodes processing
oracle cloud with 2 nodes processingoracle cloud with 2 nodes processing
oracle cloud with 2 nodes processingmahdi ahmadi
 
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7How To Install and Configure Log Rotation on RHEL 7 or CentOS 7
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7VCP Muthukrishna
 
とにかく始めるClojure
とにかく始めるClojureとにかく始めるClojure
とにかく始めるClojureMasayuki Muto
 
LSOF Command Usage on RHEL 7
LSOF Command Usage on RHEL 7LSOF Command Usage on RHEL 7
LSOF Command Usage on RHEL 7VCP Muthukrishna
 
Lamp configuration u buntu 10.04
Lamp configuration   u buntu 10.04Lamp configuration   u buntu 10.04
Lamp configuration u buntu 10.04mikehie
 
Install and Configure RSyslog – CentOS 7 / RHEL 7
Install and Configure RSyslog – CentOS 7 / RHEL 7Install and Configure RSyslog – CentOS 7 / RHEL 7
Install and Configure RSyslog – CentOS 7 / RHEL 7VCP Muthukrishna
 
Move spfile from asm to file system
Move spfile from asm to file systemMove spfile from asm to file system
Move spfile from asm to file systemraviranchi02
 
How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7VCP Muthukrishna
 
How to Install MariaDB Server or MySQL Server on CentOS 7
How to Install MariaDB Server or MySQL Server on CentOS 7How to Install MariaDB Server or MySQL Server on CentOS 7
How to Install MariaDB Server or MySQL Server on CentOS 7VCP Muthukrishna
 
Mha procedure
Mha procedureMha procedure
Mha procedureLouis liu
 

What's hot (20)

How To Install and Use ABRT CLI on RHEL 7
How To Install and Use ABRT CLI on RHEL 7How To Install and Use ABRT CLI on RHEL 7
How To Install and Use ABRT CLI on RHEL 7
 
How To Protect SSH Access with Fail2Ban on RHEL 7
How To Protect SSH Access with Fail2Ban on RHEL 7How To Protect SSH Access with Fail2Ban on RHEL 7
How To Protect SSH Access with Fail2Ban on RHEL 7
 
Mercurial for Kittens
Mercurial for KittensMercurial for Kittens
Mercurial for Kittens
 
How To Install and Configure SUDO on RHEL 7
How To Install and Configure SUDO on RHEL 7How To Install and Configure SUDO on RHEL 7
How To Install and Configure SUDO on RHEL 7
 
How to install squid proxy on server or how to install squid proxy on centos o
How to install squid proxy on server  or how to install squid proxy on centos oHow to install squid proxy on server  or how to install squid proxy on centos o
How to install squid proxy on server or how to install squid proxy on centos o
 
Sql
SqlSql
Sql
 
Configuration IPTables On CentOS 8
Configuration IPTables On CentOS 8Configuration IPTables On CentOS 8
Configuration IPTables On CentOS 8
 
Install cacti on open suse 13
Install cacti on open suse 13Install cacti on open suse 13
Install cacti on open suse 13
 
oracle cloud with 2 nodes processing
oracle cloud with 2 nodes processingoracle cloud with 2 nodes processing
oracle cloud with 2 nodes processing
 
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7How To Install and Configure Log Rotation on RHEL 7 or CentOS 7
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7
 
とにかく始めるClojure
とにかく始めるClojureとにかく始めるClojure
とにかく始めるClojure
 
LSOF Command Usage on RHEL 7
LSOF Command Usage on RHEL 7LSOF Command Usage on RHEL 7
LSOF Command Usage on RHEL 7
 
Lab 1 my sql tutorial
Lab 1 my sql tutorial Lab 1 my sql tutorial
Lab 1 my sql tutorial
 
Lamp configuration u buntu 10.04
Lamp configuration   u buntu 10.04Lamp configuration   u buntu 10.04
Lamp configuration u buntu 10.04
 
Install and Configure RSyslog – CentOS 7 / RHEL 7
Install and Configure RSyslog – CentOS 7 / RHEL 7Install and Configure RSyslog – CentOS 7 / RHEL 7
Install and Configure RSyslog – CentOS 7 / RHEL 7
 
Move spfile from asm to file system
Move spfile from asm to file systemMove spfile from asm to file system
Move spfile from asm to file system
 
How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7
 
IPTables Lab
IPTables LabIPTables Lab
IPTables Lab
 
How to Install MariaDB Server or MySQL Server on CentOS 7
How to Install MariaDB Server or MySQL Server on CentOS 7How to Install MariaDB Server or MySQL Server on CentOS 7
How to Install MariaDB Server or MySQL Server on CentOS 7
 
Mha procedure
Mha procedureMha procedure
Mha procedure
 

Viewers also liked

Behavioural Economics: New or just new to you?
Behavioural Economics: New or just new to you?Behavioural Economics: New or just new to you?
Behavioural Economics: New or just new to you?Peanut Labs
 
Pagina web 4
Pagina web 4Pagina web 4
Pagina web 4jorgeniep
 
Target audience research posters
Target audience research postersTarget audience research posters
Target audience research postersteasticks
 
Pagina web 4
Pagina web 4Pagina web 4
Pagina web 4jorgeniep
 
One Shoe One Moccasin PRINT VERSION
One Shoe One Moccasin PRINT VERSIONOne Shoe One Moccasin PRINT VERSION
One Shoe One Moccasin PRINT VERSIONDeborah Green
 
Provisioning with Stacki at NIST
Provisioning with Stacki at NISTProvisioning with Stacki at NIST
Provisioning with Stacki at NISTStackIQ
 
Public vs. Private Cloud Performance by Flex
Public vs. Private Cloud Performance by FlexPublic vs. Private Cloud Performance by Flex
Public vs. Private Cloud Performance by FlexStackIQ
 
O'Reilly Webcast: Ten Things Every Software Architect Should Know
O'Reilly Webcast: Ten Things Every Software Architect Should KnowO'Reilly Webcast: Ten Things Every Software Architect Should Know
O'Reilly Webcast: Ten Things Every Software Architect Should KnowO'Reilly Media
 
Who is an architect and Why care about Architecture
Who is an architect and Why care about ArchitectureWho is an architect and Why care about Architecture
Who is an architect and Why care about ArchitectureQuovantis
 

Viewers also liked (16)

Moccasin Mania Engulfs LVR!
Moccasin Mania Engulfs LVR!Moccasin Mania Engulfs LVR!
Moccasin Mania Engulfs LVR!
 
Behavioural Economics: New or just new to you?
Behavioural Economics: New or just new to you?Behavioural Economics: New or just new to you?
Behavioural Economics: New or just new to you?
 
Unite Bond copy
Unite Bond copyUnite Bond copy
Unite Bond copy
 
Pagina web 4
Pagina web 4Pagina web 4
Pagina web 4
 
Lappan_Resume
Lappan_ResumeLappan_Resume
Lappan_Resume
 
Bahan mt
Bahan mtBahan mt
Bahan mt
 
Target audience research posters
Target audience research postersTarget audience research posters
Target audience research posters
 
Pagina web 4
Pagina web 4Pagina web 4
Pagina web 4
 
One Shoe One Moccasin PRINT VERSION
One Shoe One Moccasin PRINT VERSIONOne Shoe One Moccasin PRINT VERSION
One Shoe One Moccasin PRINT VERSION
 
สวนจตุจักร
สวนจตุจักรสวนจตุจักร
สวนจตุจักร
 
Provisioning with Stacki at NIST
Provisioning with Stacki at NISTProvisioning with Stacki at NIST
Provisioning with Stacki at NIST
 
Public vs. Private Cloud Performance by Flex
Public vs. Private Cloud Performance by FlexPublic vs. Private Cloud Performance by Flex
Public vs. Private Cloud Performance by Flex
 
O'Reilly Webcast: Ten Things Every Software Architect Should Know
O'Reilly Webcast: Ten Things Every Software Architect Should KnowO'Reilly Webcast: Ten Things Every Software Architect Should Know
O'Reilly Webcast: Ten Things Every Software Architect Should Know
 
Boot
BootBoot
Boot
 
Who is an architect and Why care about Architecture
Who is an architect and Why care about ArchitectureWho is an architect and Why care about Architecture
Who is an architect and Why care about Architecture
 
3. El Futurismo
3. El Futurismo3. El Futurismo
3. El Futurismo
 

Similar to Stacki: Remove Commands

Drizzle to MySQL, Stress Free Migration
Drizzle to MySQL, Stress Free MigrationDrizzle to MySQL, Stress Free Migration
Drizzle to MySQL, Stress Free MigrationAndrew Hutchings
 
Openstack 101
Openstack 101Openstack 101
Openstack 101POSSCON
 
Hadoop single cluster installation
Hadoop single cluster installationHadoop single cluster installation
Hadoop single cluster installationMinh Tran
 
Beginner guide to mysql command line
Beginner guide to mysql command lineBeginner guide to mysql command line
Beginner guide to mysql command linePriti Solanki
 
Stacki: Automate with Spreadsheets (Tutorial)
Stacki: Automate with Spreadsheets (Tutorial)Stacki: Automate with Spreadsheets (Tutorial)
Stacki: Automate with Spreadsheets (Tutorial)StackIQ
 
New text document (2)
New text document (2)New text document (2)
New text document (2)Furqaan Aan
 
OpenWorld Sep14 12c for_developers
OpenWorld Sep14 12c for_developersOpenWorld Sep14 12c for_developers
OpenWorld Sep14 12c for_developersConnor McDonald
 
MySQL 8.0.18 - New Features Summary
MySQL 8.0.18 - New Features SummaryMySQL 8.0.18 - New Features Summary
MySQL 8.0.18 - New Features SummaryOlivier DASINI
 
SDPHP - Percona Toolkit (It's Basically Magic)
SDPHP - Percona Toolkit (It's Basically Magic)SDPHP - Percona Toolkit (It's Basically Magic)
SDPHP - Percona Toolkit (It's Basically Magic)Robert Swisher
 
LISA2019 Linux Systems Performance
LISA2019 Linux Systems PerformanceLISA2019 Linux Systems Performance
LISA2019 Linux Systems PerformanceBrendan Gregg
 
Oracle Open World Thursday 230 ashmasters
Oracle Open World Thursday 230 ashmastersOracle Open World Thursday 230 ashmasters
Oracle Open World Thursday 230 ashmastersKyle Hailey
 
Basic Knowledge on MySql Replication
Basic Knowledge on MySql ReplicationBasic Knowledge on MySql Replication
Basic Knowledge on MySql ReplicationTasawr Interactive
 
Linux Networking Commands
Linux Networking CommandsLinux Networking Commands
Linux Networking Commandstmavroidis
 

Similar to Stacki: Remove Commands (20)

Drizzle to MySQL, Stress Free Migration
Drizzle to MySQL, Stress Free MigrationDrizzle to MySQL, Stress Free Migration
Drizzle to MySQL, Stress Free Migration
 
Openstack 101
Openstack 101Openstack 101
Openstack 101
 
Hadoop single cluster installation
Hadoop single cluster installationHadoop single cluster installation
Hadoop single cluster installation
 
Beginner guide to mysql command line
Beginner guide to mysql command lineBeginner guide to mysql command line
Beginner guide to mysql command line
 
Operation outbreak
Operation outbreakOperation outbreak
Operation outbreak
 
Stacki: Automate with Spreadsheets (Tutorial)
Stacki: Automate with Spreadsheets (Tutorial)Stacki: Automate with Spreadsheets (Tutorial)
Stacki: Automate with Spreadsheets (Tutorial)
 
les04.pdf
les04.pdfles04.pdf
les04.pdf
 
Osol Pgsql
Osol PgsqlOsol Pgsql
Osol Pgsql
 
New text document (2)
New text document (2)New text document (2)
New text document (2)
 
Instalar MySQL CentOS
Instalar MySQL CentOSInstalar MySQL CentOS
Instalar MySQL CentOS
 
PHP tips by a MYSQL DBA
PHP tips by a MYSQL DBAPHP tips by a MYSQL DBA
PHP tips by a MYSQL DBA
 
MySQLinsanity
MySQLinsanityMySQLinsanity
MySQLinsanity
 
OpenWorld Sep14 12c for_developers
OpenWorld Sep14 12c for_developersOpenWorld Sep14 12c for_developers
OpenWorld Sep14 12c for_developers
 
MySQL 8.0.18 - New Features Summary
MySQL 8.0.18 - New Features SummaryMySQL 8.0.18 - New Features Summary
MySQL 8.0.18 - New Features Summary
 
SDPHP - Percona Toolkit (It's Basically Magic)
SDPHP - Percona Toolkit (It's Basically Magic)SDPHP - Percona Toolkit (It's Basically Magic)
SDPHP - Percona Toolkit (It's Basically Magic)
 
test
testtest
test
 
LISA2019 Linux Systems Performance
LISA2019 Linux Systems PerformanceLISA2019 Linux Systems Performance
LISA2019 Linux Systems Performance
 
Oracle Open World Thursday 230 ashmasters
Oracle Open World Thursday 230 ashmastersOracle Open World Thursday 230 ashmasters
Oracle Open World Thursday 230 ashmasters
 
Basic Knowledge on MySql Replication
Basic Knowledge on MySql ReplicationBasic Knowledge on MySql Replication
Basic Knowledge on MySql Replication
 
Linux Networking Commands
Linux Networking CommandsLinux Networking Commands
Linux Networking Commands
 

More from StackIQ

Installing a Cluster of Raspberry Pis with Stacki Ace
Installing a Cluster of Raspberry Pis with Stacki AceInstalling a Cluster of Raspberry Pis with Stacki Ace
Installing a Cluster of Raspberry Pis with Stacki AceStackIQ
 
Building a Hadoop Cluster with Stacki
Building a Hadoop Cluster with StackiBuilding a Hadoop Cluster with Stacki
Building a Hadoop Cluster with StackiStackIQ
 
How Teradata uses Stacki
How Teradata uses StackiHow Teradata uses Stacki
How Teradata uses StackiStackIQ
 
Installing a Cluster of Raspberry Pis with Stacki Ace
Installing a Cluster of Raspberry Pis with Stacki AceInstalling a Cluster of Raspberry Pis with Stacki Ace
Installing a Cluster of Raspberry Pis with Stacki AceStackIQ
 
StackiFest 2017 Technology Update
StackiFest 2017 Technology UpdateStackiFest 2017 Technology Update
StackiFest 2017 Technology UpdateStackIQ
 
Automation of your OpenStack Infrastructure with Stacki
Automation of your OpenStack Infrastructure with StackiAutomation of your OpenStack Infrastructure with Stacki
Automation of your OpenStack Infrastructure with StackiStackIQ
 
StackiFest 2017 Welcome & Opening Address
StackiFest 2017 Welcome & Opening AddressStackiFest 2017 Welcome & Opening Address
StackiFest 2017 Welcome & Opening AddressStackIQ
 
Provisioning Heterogenous Bare Metal with Stacki
Provisioning Heterogenous Bare Metal with StackiProvisioning Heterogenous Bare Metal with Stacki
Provisioning Heterogenous Bare Metal with StackiStackIQ
 
SF Bay Area OpenStack Meetup Stacki Presentation
SF Bay Area OpenStack Meetup Stacki Presentation SF Bay Area OpenStack Meetup Stacki Presentation
SF Bay Area OpenStack Meetup Stacki Presentation StackIQ
 
Stacki at the Seattle Scalability Meetup
Stacki at the Seattle Scalability MeetupStacki at the Seattle Scalability Meetup
Stacki at the Seattle Scalability MeetupStackIQ
 
StackiFest16: Building a Cluster with Stacki - Greg Bruno
StackiFest16: Building a Cluster with Stacki - Greg BrunoStackiFest16: Building a Cluster with Stacki - Greg Bruno
StackiFest16: Building a Cluster with Stacki - Greg BrunoStackIQ
 
StackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg Bruno
StackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg BrunoStackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg Bruno
StackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg BrunoStackIQ
 
StackiFest16: Automation for Event-Driven Infrastructure - Dave Boucha
StackiFest16: Automation for Event-Driven Infrastructure - Dave Boucha StackiFest16: Automation for Event-Driven Infrastructure - Dave Boucha
StackiFest16: Automation for Event-Driven Infrastructure - Dave Boucha StackIQ
 
StackiFest16: What's Next in Stacki - Mason Katz
StackiFest16: What's Next in Stacki - Mason Katz StackiFest16: What's Next in Stacki - Mason Katz
StackiFest16: What's Next in Stacki - Mason Katz StackIQ
 
StackiFest16: CoreOS/Ubuntu on Stacki
StackiFest16: CoreOS/Ubuntu on Stacki StackiFest16: CoreOS/Ubuntu on Stacki
StackiFest16: CoreOS/Ubuntu on Stacki StackIQ
 
StackiFest16: Building a Cart
StackiFest16: Building a CartStackiFest16: Building a Cart
StackiFest16: Building a CartStackIQ
 
StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce
StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce
StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce StackIQ
 
StackiFest 16: Stacki Overview- Anoop Rajendra
StackiFest 16: Stacki Overview- Anoop Rajendra StackiFest 16: Stacki Overview- Anoop Rajendra
StackiFest 16: Stacki Overview- Anoop Rajendra StackIQ
 
Introduction to Stacki at Atlanta Meetup February 2016
Introduction to Stacki at Atlanta Meetup February 2016Introduction to Stacki at Atlanta Meetup February 2016
Introduction to Stacki at Atlanta Meetup February 2016StackIQ
 
Salesforce at Stacki Atlanta Meetup February 2016
Salesforce at Stacki Atlanta Meetup February 2016Salesforce at Stacki Atlanta Meetup February 2016
Salesforce at Stacki Atlanta Meetup February 2016StackIQ
 

More from StackIQ (20)

Installing a Cluster of Raspberry Pis with Stacki Ace
Installing a Cluster of Raspberry Pis with Stacki AceInstalling a Cluster of Raspberry Pis with Stacki Ace
Installing a Cluster of Raspberry Pis with Stacki Ace
 
Building a Hadoop Cluster with Stacki
Building a Hadoop Cluster with StackiBuilding a Hadoop Cluster with Stacki
Building a Hadoop Cluster with Stacki
 
How Teradata uses Stacki
How Teradata uses StackiHow Teradata uses Stacki
How Teradata uses Stacki
 
Installing a Cluster of Raspberry Pis with Stacki Ace
Installing a Cluster of Raspberry Pis with Stacki AceInstalling a Cluster of Raspberry Pis with Stacki Ace
Installing a Cluster of Raspberry Pis with Stacki Ace
 
StackiFest 2017 Technology Update
StackiFest 2017 Technology UpdateStackiFest 2017 Technology Update
StackiFest 2017 Technology Update
 
Automation of your OpenStack Infrastructure with Stacki
Automation of your OpenStack Infrastructure with StackiAutomation of your OpenStack Infrastructure with Stacki
Automation of your OpenStack Infrastructure with Stacki
 
StackiFest 2017 Welcome & Opening Address
StackiFest 2017 Welcome & Opening AddressStackiFest 2017 Welcome & Opening Address
StackiFest 2017 Welcome & Opening Address
 
Provisioning Heterogenous Bare Metal with Stacki
Provisioning Heterogenous Bare Metal with StackiProvisioning Heterogenous Bare Metal with Stacki
Provisioning Heterogenous Bare Metal with Stacki
 
SF Bay Area OpenStack Meetup Stacki Presentation
SF Bay Area OpenStack Meetup Stacki Presentation SF Bay Area OpenStack Meetup Stacki Presentation
SF Bay Area OpenStack Meetup Stacki Presentation
 
Stacki at the Seattle Scalability Meetup
Stacki at the Seattle Scalability MeetupStacki at the Seattle Scalability Meetup
Stacki at the Seattle Scalability Meetup
 
StackiFest16: Building a Cluster with Stacki - Greg Bruno
StackiFest16: Building a Cluster with Stacki - Greg BrunoStackiFest16: Building a Cluster with Stacki - Greg Bruno
StackiFest16: Building a Cluster with Stacki - Greg Bruno
 
StackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg Bruno
StackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg BrunoStackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg Bruno
StackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg Bruno
 
StackiFest16: Automation for Event-Driven Infrastructure - Dave Boucha
StackiFest16: Automation for Event-Driven Infrastructure - Dave Boucha StackiFest16: Automation for Event-Driven Infrastructure - Dave Boucha
StackiFest16: Automation for Event-Driven Infrastructure - Dave Boucha
 
StackiFest16: What's Next in Stacki - Mason Katz
StackiFest16: What's Next in Stacki - Mason Katz StackiFest16: What's Next in Stacki - Mason Katz
StackiFest16: What's Next in Stacki - Mason Katz
 
StackiFest16: CoreOS/Ubuntu on Stacki
StackiFest16: CoreOS/Ubuntu on Stacki StackiFest16: CoreOS/Ubuntu on Stacki
StackiFest16: CoreOS/Ubuntu on Stacki
 
StackiFest16: Building a Cart
StackiFest16: Building a CartStackiFest16: Building a Cart
StackiFest16: Building a Cart
 
StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce
StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce
StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce
 
StackiFest 16: Stacki Overview- Anoop Rajendra
StackiFest 16: Stacki Overview- Anoop Rajendra StackiFest 16: Stacki Overview- Anoop Rajendra
StackiFest 16: Stacki Overview- Anoop Rajendra
 
Introduction to Stacki at Atlanta Meetup February 2016
Introduction to Stacki at Atlanta Meetup February 2016Introduction to Stacki at Atlanta Meetup February 2016
Introduction to Stacki at Atlanta Meetup February 2016
 
Salesforce at Stacki Atlanta Meetup February 2016
Salesforce at Stacki Atlanta Meetup February 2016Salesforce at Stacki Atlanta Meetup February 2016
Salesforce at Stacki Atlanta Meetup February 2016
 

Recently uploaded

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 

Recently uploaded (20)

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 

Stacki: Remove Commands

  • 1. Server Management with Remove Don MacVittie, Sr. Solutions Architect
  • 2. Overview •  There are some things in Stacki that you can only do with Remove commands. This tutorial takes you over the most common remove commands and offers an overview of how they work.
  • 3. Removing Hosts NOTE: Removing a host will remove it and all the entries about it from the database. If command-line customizations have been implemented – such as adding routes – those customizations will be lost with remove host, and will require re-entry if the host is ever returned to the system. [root@stackihw ~]# stack list host   HOST RACK RANK CPUS APPLIANCE DISTRIBUTION RUNACTION INSTALLACTION stackihw: 0 0 1 frontend default os install backend-0-1: 0 1 4 backend default os install backend-0-2: 0 2 1 backend default os install puppet: 0 3 4 backend default os install   [root@stackihw ~]# stack remove host backend-0-2   [root@stackihw ~]# stack list host   HOST RACK RANK CPUS APPLIANCE DISTRIBUTION RUNACTION INSTALLACTION stackihw: 0 0 1 frontend default os install backend-0-1: 0 1 4 backend default os install puppet: 0 3 4 backend default os install   [root@stackihw ~]#     Later, the host can be re-added by adding it with any of the normal methods. Stacki will see it as a new server, simply because remove deleted all trace of it from the system. stack remove host [hostname]
  • 4. Removing host Bootaction •  Effectively removes the server from management by Stacki. •  Tells Stacki to do nothing when this machine boots and asks what to do. This causes the machine to boot to local disk, just as it would if bootaction was set to “os”, except that stacki never gets a say. •  This is useful in place of Remove host because all customizations are kept, though it is functionally the same as removing the host from the Stacki database. [root@stackihw ~]# stack list host boot HOST ACTION stackihw: ------- backend-0-1: install puppet: os   [root@stackihw ~]# stack remove host boot backend-0-1   [root@stackihw ~]# stack list host boot HOST ACTION stackihw: ------ backend-0-1: ------ puppet: os    
  • 5. Remove outdated routes stack remove route and stack remove host route will remove routing information from the routing table. This is useful when access needs or routes change. After the command, don’t forget to sync host network so the changes you just made to the database are propagated to the server [root@stackidon ~]# stack remove host route backend-0-0 address = 0.0.0.0 [root@stackidon ~]# stack sync host network backend-0-0        
  • 6. Remove SSH Keys User-defined SSH keys can be cleaned up using remove host key. Default keys cannot be removed in this manner. First, list the keys, then get the “ID” field, use that to pass which key into remove host key. Done. [root@stackihw ~]# stack list host key HOST ID PUBLIC KEY puppet: 1 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD0+98qKuKvry9rFfCCHI4QunO6ompIqqLL8Z5R0cJ0Gdmkvd69 g9JZMX0zJ4LbQBpICLyvz3nneZQ8fLFG6B0DlxibQQd2/Ds27mG5lmcqKsBtE47LQiD48dAq +9aYaoD8J/eqP1rbk4eQk+nkhnqFnBLjcg2RnFULDnSHtXftK6pEjTEFVcacmtLxwQjMlBTxk4c/ veKwDtzazuo1nqVHl734s4nyxOQeN4qMQym6Jmuzb5W9hOCa0kzFtZkiibiiEN5RciAFOW0j5ztKkLKq 9Cg3y17y9jz355hQ6LwHHZqPkmPuFWhAQGTdkH5GGSSKkkWJDIi9/uZMXXbVJozR root@stackihw.nandgate.com ------- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -------   [root@stackihw ~]# stack remove host key puppet id=1   [root@stackihw ~]# stack list host key   [root@stackihw ~]#    
  • 7. And attributes stack remove attr attr=[attrname] stack remove host attr [hostname] attr=[attrname] stack remove appliance attr [appliance_name] attr=[attrname] The three commands below all do the same thing at different levels. The first removes a globally defined attribute, the second, a host visible attribute, and the third, an appliance visible attribute. Note that some attributes, particularly at the global level, are required for proper operation of Stacki. We strongly recommend you only change attributes you have created, or ones that you know exactly what they do.
  • 8. Stacki Resources •  There is a lot more to Stacki than this few slides can show. Join us at the links
 below to explore Stacki’s rich command structure and see how it answers your
 problems. Quick access to Stacki resources: •  Visit www.Stacki.com to download a pre-build ISO for RHEL/CentOS 6 & 7 and to sign up
 for our charter program •  Stacki source code is available on the StackIQ GitHub: https://github.com/StackIQ/stacki •  Engage with other users and developers in the Stacki Google Group: https://groups.google.com/forum/#!forum/stacki Follow us on Twitter @StackIQ